Example: Seven-segment display

Published 2009-11-20 | Author: Germain Gondor

Download as: [PDF] [TEX]

Seven-segment display

Do you have a question regarding this example, TikZ or LaTeX in general? Just ask in the LaTeX Forum.
Oder frag auf Deutsch auf TeXwelt.de. En français: TeXnique.fr.

% Seven-segment display
% Author:  Germain Gondor
% Source: http://www.sciences-indus-cpge.apinc.org/Afficheur-7-Segments-avec-PGF-TIKZ
% SevenSeg.sty can be downloaded from
% http://www.sciences-indus-cpge.apinc.org/Afficheur-7-Segments-avec-PGF-TIKZ


    \foreach \x in{0,...,1} {
        \draw[purple,very thick](B\x)node[left]{$B_\x$}--++(14em,0)-|(Bit\x);
    \foreach \x in{2,...,3} {
        \draw[very thick](B\x)node[left]{$B_\x$}--++(14em,0)-|(Bit\x);
    \foreach \x in{0,...,3} {
        \coordinate (L\x) at({(\x-0)*2.5} ,-3*1);
    \foreach \x in{4,...,7} {
        \coordinate (L\x) at({(\x-4)*2.5} ,-3*2);



  • #1 Yves Delhaye, May 12, 2012 at 4:59 p.m.

    The apinc server is down and the ".sty" file is to be found here: http://sciences-indus-cpge.papanicola.info/Afficheur-7-Segments-avec-PGF-TIKZ

Adding comments is currently not enabled.