]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/braille.module
whitespace
[lyx.git] / lib / layouts / braille.module
index b11decd65b9d5b35783774c3a8e8620fc7041682..7c2d8f0127ba7bb25b03f5a7cbf8a9cc823aaf2d 100644 (file)
@@ -1,10 +1,13 @@
-#\DeclareLyXModule[braille.sty]{Defines an environment to typeset Braille.}{Braille}
-
+#\DeclareLyXModule[braille.sty]{Braille}
+#DescriptionBegin
+#Defines an environment to typeset Braille.
+#For more details see Braille.lyx in examples.
+#DescriptionEnd
 # Author: Uwe Stöhr <uwestoehr@web.de>
 
-Format 5
+Format 35
 
-Preamble
+AddToPreamble
        \usepackage{braille}
        \newcommand{\braillenormal}[1]
         {\setlength{\brailleunit}{2.4mm}\braille{#1}}
@@ -14,6 +17,7 @@ Preamble
         {\setlength{\brailleunit}{0.75ex}\braille{#1}}
 EndPreamble
 
+
 # default Braille
 Style Braille_(default)
        LatexType               command
@@ -36,6 +40,7 @@ Style Braille_(default)
        EndFont
 End
 
+
 # Braille in text size
 Style Braille_(textsize)
        LatexType               command
@@ -58,6 +63,7 @@ Style Braille_(textsize)
        EndFont
 End
 
+
 # turn on dots
 Style Braille_(dots_on)
        LatexType               command
@@ -81,6 +87,7 @@ Style Braille_(dots_on)
        EndFont
 End
 
+
 # turn off dots
 Style Braille_(dots_off)
        LatexType               command
@@ -104,7 +111,8 @@ Style Braille_(dots_off)
        EndFont
 End
 
-# turn off dots
+
+# turn off mirroring
 Style Braille_(mirror_on)
        LatexType               command
        LatexName               braillemirrortrue
@@ -127,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
@@ -143,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 "Flex: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
+