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
26 /** The packages and commands that a buffer needs. This struct
27 contains an entry for each of the latex packages and
28 commands that a buffer might need. This struct is supposed to be
29 extended as the need arises. Remember to update the validate function
30 in buffer.C and paragraph.C when you do so. */
31 struct LaTeXFeatures {
33 LaTeXFeatures(int n) ;
38 /// The packaes needed by the document
39 string getPackages(BufferParams const ¶ms);
40 /// The macros definitions needed by the document
41 string getMacros(BufferParams const ¶ms);
42 /// The definitions needed by the document's textclass
43 string getTClassPreamble(BufferParams const ¶ms);
46 void showStruct(BufferParams ¶ms);
51 bool color; // color.sty
53 bool graphics; // graphics.sty
55 bool setspace; // setspace.sty
57 bool makeidx; // makeind.sty
59 bool verbatim; // verbatim.sty
61 bool longtable; // longtable.sty
63 bool algorithm; // algorithm.sty
65 bool rotating; // rotating.sty
67 bool amssymb; // amssymb.sty
69 bool latexsym; // latexsym.sty
71 bool pifont; // pifont.sty
73 bool subfigure; // subfigure.sty
75 bool floatflt; // floatflt.sty
124 //@Man: Special features
126 bool LyXParagraphIndent;
128 bool NeedLyXFootnoteCode;
130 bool NeedLyXMinipageIndent;