1 #\DeclareLyXModule[braille.sty]{Braille}
2 #\DeclareCategory{Accessibility}
4 #Defines an environment to typeset Braille.
5 #For more details see Braille.lyx in examples.
7 # Author: Uwe Stöhr <uwestoehr@web.de>
13 \newcommand{\braillenormal}[1]
14 {\setlength{\brailleunit}{2.4mm}\braille{#1}}
15 % With \brailleunit == 0.75ex, the braille letters will
16 % approximately match the other letters in size.
17 \newcommand{\brailletext}[1]
18 {\setlength{\brailleunit}{0.75ex}\braille{#1}}
23 Style Braille_(default)
25 LatexName braillenormal
35 AlignPossible Block, Left
37 LabelString "Braille:"
45 # Braille in text size
46 Style Braille_(textsize)
58 AlignPossible Block, Left
60 LabelString "Braille:"
69 Style Braille_(dots_on)
71 LatexName brailleputtinydotstrue
74 LeftMargin XBraille_dots_on
82 AlignPossible Block, Left
84 LabelString "Braille_dots_on"
93 Style Braille_(dots_off)
95 LatexName brailleputtinydotsfalse
98 LeftMargin XBraille_dots_off
106 AlignPossible Block, Left
108 LabelString "Braille_dots_off"
117 Style Braille_(mirror_on)
119 LatexName braillemirrortrue
122 LeftMargin XBraille_mirror_on
130 AlignPossible Block, Left
132 LabelString "Braille_mirror_on"
141 Style Braille_(mirror_off)
143 LatexName braillemirrorfalse
146 LeftMargin XBraille_mirror_off
154 AlignPossible Block, Left
156 LabelString "Braille_mirror_off"
164 InsetLayout "Flex:Braillebox"
168 LabelString "Braille box"