X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fbraille.module;h=0697eebe0216cc376752e5363b999726d4591782;hb=d748a0a6f16c996ff042e19ea463a018d37236be;hp=cb46a871e09103a119f82cf78d41707a4f7524c4;hpb=2ad397948213aabd5b127a12ef73d28598d33b5c;p=lyx.git diff --git a/lib/layouts/braille.module b/lib/layouts/braille.module index cb46a871e0..0697eebe02 100644 --- a/lib/layouts/braille.module +++ b/lib/layouts/braille.module @@ -5,7 +5,7 @@ #DescriptionEnd # Author: Uwe Stöhr -Format 8 +Format 30 AddToPreamble \usepackage{braille} @@ -17,6 +17,7 @@ AddToPreamble {\setlength{\brailleunit}{0.75ex}\braille{#1}} EndPreamble + # default Braille Style Braille_(default) LatexType command @@ -39,6 +40,7 @@ Style Braille_(default) EndFont End + # Braille in text size Style Braille_(textsize) LatexType command @@ -61,6 +63,7 @@ Style Braille_(textsize) EndFont End + # turn on dots Style Braille_(dots_on) LatexType command @@ -84,6 +87,7 @@ Style Braille_(dots_on) EndFont End + # turn off dots Style Braille_(dots_off) LatexType command @@ -107,7 +111,8 @@ Style Braille_(dots_off) EndFont End -# turn off dots + +# turn off mirroring Style Braille_(mirror_on) LatexType command LatexName braillemirrortrue @@ -130,13 +135,14 @@ Style Braille_(mirror_on) EndFont End -# turn off dots + +# turn off mirroring Style Braille_(mirror_off) LatexType command LatexName braillemirrorfalse NextNoIndent 1 KeepEmpty 1 - LeftMargin "XBraille mirror off" + LeftMargin XBraille_mirror_off LabelSep xx ParSkip 0.0 ItemSep 0.2 @@ -146,10 +152,32 @@ Style Braille_(mirror_off) Align Block AlignPossible Block, Left LabelType Static - LabelString "Braille mirror off" + LabelString "Braille_mirror_off" LabelFont Shape Italic Color Green EndFont End + +InsetLayout Braillebox + LyxType custom + LatexType command + LatexName braillebox + LabelString "Braille box" + Font + Color foreground + Size Small + Family Roman + Shape Up + Series Medium + Misc No_Emph + Misc No_Noun + Misc No_Bar + EndFont + LabelFont + Color green + Size Small + EndFont +End +