]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_sty.C
bug 183
[lyx.git] / src / lyx_sty.C
index 51272d30424db0924d140525da5d5a8c06833433..0f75f801275ebdb442d1dd93ba7e39b72b8af4f1 100644 (file)
@@ -1,16 +1,19 @@
-/*
-  This file is part of
-  ======================================================
-  
-  LyX, The Document Processor
-  
-  Copyright 1995 Matthias Ettrich
-  Copyright 1995-1999 The LyX Team.
-  ======================================================
-  */
+/* This file is part of
+ * ====================================================== 
+ * 
+ *           LyX, The Document Processor
+ *        
+ *           Copyright 1995 Matthias Ettrich
+ *           Copyright 1995-2001 The LyX Team.
+ *
+ * ====================================================== */
 
 #include <config.h>
 
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
 #include "lyx_sty.h"
 
 //\NeedsTeXFormat{LaTeX2e}
 //\message{LyX LaTeX Extensions (LLE v0.2) of 11-Jan-1996.} 
 
 // include this always
-string const lyx_def =
+string const lyx_def = 
        "\\providecommand{\\LyX}{L\\kern-.1667em\\lower.25em\\hbox{Y}\\kern-.125emX\\@}";
        
-string const lyxline_def =
+string const lyxline_def = 
        "\\newcommand{\\lyxline}[1]{\n"
        "  {#1 \\vspace{1ex} \\hrule width \\columnwidth \\vspace{1ex}}\n"
        "}";
@@ -36,43 +39,43 @@ string const lyxarrow_def =
 
 
 
-string const quotedblbase_def =
+string const quotedblbase_def = 
        "\\ProvideTextCommandDefault{\\quotedblbase}{%\n"
        "  \\raisebox{-1.4ex}[1ex][.5ex]{\\textquotedblright}%\n"
        "  \\penalty10000\\hskip0em\\relax%\n"
        "}";
 
-string const quotesinglbase_def =
+string const quotesinglbase_def = 
        "\\ProvideTextCommandDefault{\\quotesinglbase}{%\n"
        "  \\raisebox{-1.4ex}[1ex][.5ex]{\\textquoteright}%\n"
        "  \\penalty10000\\hskip0em\\relax%\n"
        "}";
 
-string const guillemotleft_def =
+string const guillemotleft_def = 
         "\\ProvideTextCommandDefault{\\guillemotleft}{%\n"
         "  {\\usefont{U}{lasy}{m}{n}\\char'50\\kern-.15em\\char'50}%\n"
         "\\penalty10000\\hskip0pt\\relax%\n"
         "}";
 
-string const guillemotright_def =
+string const guillemotright_def = 
         "\\ProvideTextCommandDefault{\\guillemotright}{%\n"
         "  \\penalty10000\\hskip0pt%\n"
         "  {\\usefont{U}{lasy}{m}{n}\\char'51\\kern-.15em\\char'51}%\n"
         "}";
 
-string const guilsinglleft_def =
+string const guilsinglleft_def = 
         "\\ProvideTextCommandDefault{\\guilsinglleft}{%\n"
         "  {\\usefont{U}{lasy}{m}{n}\\char'50}%\n"
         "  \\penalty10000\\hskip0pt\\relax%\n"
         "}";
 
-string const guilsinglright_def =
+string const guilsinglright_def = 
         "\\ProvideTextCommandDefault{\\guilsinglright}{%\n"
         "  \\penalty10000\\hskip0pt%\n"
         "  {\\usefont{U}{lasy}{m}{n}\\char'51}%\n"
         "}";
 
-string const paragraphindent_def =
+string const paragraphindent_def = 
        "\\newenvironment{LyXParagraphIndent}[1]%\n"
        "{\n"
        "  \\begin{list}{}{%\n"
@@ -88,7 +91,7 @@ string const paragraphindent_def =
        "}\n"
        "{\\end{list}}\n";
 
-string const floatingfootnote_def =
+string const floatingfootnote_def = 
        "%% Special footnote code from the package 'stblftnt.sty'\n"
        "%% Author: Robin Fairbairns -- Last revised Dec 13 1996\n"
        "\\let\\SF@@footnote\\footnote\n"
@@ -106,16 +109,16 @@ string const floatingfootnote_def =
        "  \\expandafter\\noexpand\\csname SF@gobble@opt \\endcsname}\n"
        "\\def\\SF@gobble@twobracket[#1]#2{}\n";
 
-string const minipageindent_def =
+string const minipageindent_def = 
        "%% This length is the backup for minipages of the \\parindent\n"
        "\\newlength{\\LyXMinipageIndent}\n"
        "\\setlength{\\LyXMinipageIndent}{\\parindent}\n";
 
-string const boldsymbol_def =
+string const boldsymbol_def = 
        "%% Bold symbol macro for standard LaTeX users\n"
        "\\newcommand{\\boldsymbol}[1]{\\mbox{\\boldmath $#1$}}\n";
 
-string const binom_def =
+string const binom_def = 
        "%% Binom macro for standard LaTeX users\n"
        "\\newcommand{\\binom}[2]{{#1 \\choose #2}}\n";