1 #\DeclareLyXModule[braille.sty]{Braille}
3 #Defines an environment to typeset Braille.
4 #For more details see Braille.lyx in examples.
6 # Author: Uwe Stöhr <uwestoehr@web.de>
12 \newcommand{\braillenormal}[1]
13 {\setlength{\brailleunit}{2.4mm}\braille{#1}}
14 % With \brailleunit == 0.75ex, the braille letters will
15 % approximately match the other letters in size.
16 \newcommand{\brailletext}[1]
17 {\setlength{\brailleunit}{0.75ex}\braille{#1}}
21 Style Braille_(default)
23 LatexName braillenormal
33 AlignPossible Block, Left
35 LabelString "Braille:"
42 # Braille in text size
43 Style Braille_(textsize)
55 AlignPossible Block, Left
57 LabelString "Braille:"
65 Style Braille_(dots_on)
67 LatexName brailleputtinydotstrue
70 LeftMargin XBraille_dots_on
78 AlignPossible Block, Left
80 LabelString "Braille_dots_on"
88 Style Braille_(dots_off)
90 LatexName brailleputtinydotsfalse
93 LeftMargin XBraille_dots_off
101 AlignPossible Block, Left
103 LabelString "Braille_dots_off"
111 Style Braille_(mirror_on)
113 LatexName braillemirrortrue
116 LeftMargin XBraille_mirror_on
124 AlignPossible Block, Left
126 LabelString "Braille_mirror_on"
134 Style Braille_(mirror_off)
136 LatexName braillemirrorfalse
139 LeftMargin XBraille_mirror_off
147 AlignPossible Block, Left
149 LabelString "Braille_mirror_off"