]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/braille.module
Allow literate documents other than noweb to work out of the box. Currently
[lyx.git] / lib / layouts / braille.module
index b4b01042a14cb24aac099650460e774daabb5d32..2b295104902cb7711fb73080e906035e0692d1fb 100644 (file)
@@ -5,7 +5,7 @@
 #DescriptionEnd
 # Author: Uwe Stöhr <uwestoehr@web.de>
 
-Format 9
+Format 11
 
 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,6 +111,7 @@ Style Braille_(dots_off)
        EndFont
 End
 
+
 # turn off mirroring
 Style Braille_(mirror_on)
        LatexType               command
@@ -130,6 +135,7 @@ Style Braille_(mirror_on)
        EndFont
 End
 
+
 # turn off mirroring
 Style Braille_(mirror_off)
        LatexType               command
@@ -153,3 +159,25 @@ Style Braille_(mirror_off)
        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
+