2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright (C) 1995 Matthias Ettrich
8 * Copyright (C) 1995-1999 the LyX Team.
10 *======================================================*/
12 #ifndef LATEXFEATURES_H
13 #define LATEXFEATURES_H
28 /** The packages and commands that a buffer needs. This struct
29 contains an entry for each of the latex packages and
30 commands that a buffer might need. This struct is supposed to be
31 extended as the need arises. Remember to update the validate function
32 in buffer.C and paragraph.C when you do so. */
33 struct LaTeXFeatures {
35 LaTeXFeatures(int n) ;
36 /// The packaes needed by the document
37 string getPackages(BufferParams const ¶ms);
38 /// The macros definitions needed by the document
39 string getMacros(BufferParams const ¶ms);
40 /// The definitions needed by the document's textclass
41 string getTClassPreamble(BufferParams const ¶ms);
44 void showStruct(BufferParams ¶ms);
49 bool color; // color.sty
51 bool graphics; // graphics.sty
53 bool setspace; // setspace.sty
55 bool makeidx; // makeind.sty
57 bool verbatim; // verbatim.sty
59 bool longtable; // longtable.sty
61 bool algorithm; // algorithm.sty
63 bool rotating; // rotating.sty
65 bool amssymb; // amssymb.sty
67 bool latexsym; // latexsym.sty
69 bool pifont; // pifont.sty
71 bool subfigure; // subfigure.sty
73 bool floatflt; // floatflt.sty
122 //@Man: Special features
124 bool LyXParagraphIndent;
126 bool NeedLyXFootnoteCode;
128 bool NeedLyXMinipageIndent;