]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/lyxmacros.inc
Add some tipa accents
[lyx.git] / lib / layouts / lyxmacros.inc
index 31fe7fd77cdb434cfff4e4037f1085ec2a78bb35..5f3587eb6422e3096dbfe84f771c6f24ddac7139 100644 (file)
@@ -8,6 +8,7 @@
 # be removed later.
 
 
+Format 3
 Style LyX-Code
        Margin                Static
        LatexType             Environment
@@ -21,26 +22,21 @@ Style LyX-Code
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
        FreeSpacing           1
-
-       # define the environment lyxcode
        Preamble
-       \newenvironment{lyxcode}
-         {\begin{list}{}{
-           \setlength{\rightmargin}{\leftmargin}
-           \setlength{\listparindent}{0pt}% needed for AMS classes
-           \raggedright
-           \setlength{\itemsep}{0pt}
-           \setlength{\parsep}{0pt}
-           \normalfont\ttfamily}%
-          \item[]}
-         {\end{list}}
+               \newenvironment{lyxcode}
+                       {\begin{list}{}{
+                               \setlength{\rightmargin}{\leftmargin}
+                               \setlength{\listparindent}{0pt}% needed for AMS classes
+                               \raggedright
+                               \setlength{\itemsep}{0pt}
+                               \setlength{\parsep}{0pt}
+                               \normalfont\ttfamily}%
+                        \item[]}
+                       {\end{list}}
        EndPreamble
-
-       # standard font definition
-       Font 
+       Font
          Family              Typewriter
        EndFont
-
 End
 
 
@@ -54,16 +50,13 @@ Style Address
        Align                 Left
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
-
-       # define the macro \lyxaddress
        Preamble
-       \newcommand{\lyxaddress}[1]{
-         \par {\raggedright #1 
-         \vspace{1.4em}
-         \noindent\par}
-       }
+               \newcommand{\lyxaddress}[1]{
+                       \par {\raggedright #1
+                       \vspace{1.4em}
+                       \noindent\par}
+               }
        EndPreamble
-
 End
 
 
@@ -76,16 +69,13 @@ Style Right_Address
        ParSep                1.5
        Align                 Left
        AlignPossible         Left
-
-       # define the macro \lyxrightaddress
        Preamble
-       \newcommand{\lyxrightaddress}[1]{
-         \par {\raggedleft \begin{tabular}{l}\ignorespaces
-         #1
-         \end{tabular}
-         \vspace{1.4em}
-         \par}
-       }
+               \newcommand{\lyxrightaddress}[1]{
+                       \par {\raggedleft \begin{tabular}{l}\ignorespaces
+                       #1
+                       \end{tabular}
+                       \vspace{1.4em}
+                       \par}
+               }
        EndPreamble
-       
 End