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}}
22 Style Braille_(default)
24 LatexName braillenormal
34 AlignPossible Block, Left
36 LabelString "Braille:"
44 # Braille in text size
45 Style Braille_(textsize)
57 AlignPossible Block, Left
59 LabelString "Braille:"
68 Style Braille_(dots_on)
70 LatexName brailleputtinydotstrue
73 LeftMargin XBraille_dots_on
81 AlignPossible Block, Left
83 LabelString "Braille_dots_on"
92 Style Braille_(dots_off)
94 LatexName brailleputtinydotsfalse
97 LeftMargin XBraille_dots_off
105 AlignPossible Block, Left
107 LabelString "Braille_dots_off"
116 Style Braille_(mirror_on)
118 LatexName braillemirrortrue
121 LeftMargin XBraille_mirror_on
129 AlignPossible Block, Left
131 LabelString "Braille_mirror_on"
140 Style Braille_(mirror_off)
142 LatexName braillemirrorfalse
145 LeftMargin XBraille_mirror_off
153 AlignPossible Block, Left
155 LabelString "Braille_mirror_off"
163 InsetLayout "Flex:Braillebox"
167 LabelString "Braille box"