]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_sty.C
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / lyx_sty.C
index 8b188e296652546dc3956baa2524d1ec58f82185..cc6bf47e73a8e497e050b358a305ee140ad761de 100644 (file)
@@ -1,26 +1,19 @@
-/* This file is part of
- * ======================================================
+/**
+ * \file lyx_sty.C
+ * Copyright 1995-2002 the LyX Team
+ * Read the file COPYING
  *
- *           LyX, The Document Processor
- *
- *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2001 The LyX Team.
- *
- * ====================================================== */
+ * \author Lars Gullik Bjornes <larsbj@lyx.org>
+ */
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
 #include "lyx_sty.h"
 
 //\NeedsTeXFormat{LaTeX2e}
 //\ProvidesPackage{lyx}[1996/01/11 LLE v0.2 (LyX LaTeX Extensions)]
 //\message{LyX LaTeX Extensions (LLE v0.2) of 11-Jan-1996.}
 
-// include this always
 string const lyx_def =
        "\\providecommand{\\LyX}{L\\kern-.1667em\\lower.25em\\hbox{Y}\\kern-.125emX\\@}";
 
@@ -37,8 +30,6 @@ string const lyxarrow_def =
 // for quotes without babel. This does not give perfect results, but
 // anybody serious about non-english quotes should use babel (JMarc).
 
-
-
 string const quotedblbase_def =
        "\\ProvideTextCommandDefault{\\quotedblbase}{%\n"
        "  \\raisebox{-1.4ex}[1ex][.5ex]{\\textquotedblright}%\n"
@@ -75,12 +66,14 @@ string const guilsinglright_def =
        "  {\\usefont{U}{lasy}{m}{n}\\char'51}%\n"
        "}";
 
-string const paragraphindent_def =
-       "\\newenvironment{LyXParagraphIndent}[1]%\n"
+string const paragraphleftindent_def =
+       "\\newenvironment{LyXParagraphLeftIndent}[1]%\n"
        "{\n"
        "  \\begin{list}{}{%\n"
        "    \\setlength\\topsep{0pt}%\n"
        "    \\addtolength{\\leftmargin}{#1}\n"
+// ho hum, yet more things commented out with no hint as to why they
+// weren't just removed
 //     "%%    \\addtolength{\\leftmargin}{#1\\textwidth}\n"
 //     "%%    \\setlength{\\textwidth}{#2\\textwidth}\n"
 //     "%%    \\setlength\\listparindent\\parindent%\n"
@@ -125,3 +118,11 @@ string const binom_def =
 string const mathcircumflex_def =
        "%% For printing a cirumflex inside a formula\n"
        "\\newcommand{\\mathcircumflex}[0]{\\mbox{\\^{}}}\n";
+
+string const tabularnewline_def =
+       "%% Because html converters don't know tabularnewline\n"
+       "\\providecommand{\\tabularnewline}{\\\\}\n";
+
+string const lyxgreyedout_def =
+       "%% The greyedout annotation environment\n"
+       "\\newenvironment{lyxgreyedout}{\\color[gray]{0.8}}{}\n";