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
29 /** The packages and commands that a buffer needs. This struct
30 contains an entry for each of the latex packages and
31 commands that a buffer might need. This struct is supposed to be
32 extended as the need arises. Remember to update the validate function
33 in buffer.C and paragraph.C when you do so. */
34 struct LaTeXFeatures {
36 LaTeXFeatures(int n) ;
37 /// The packaes needed by the document
38 string getPackages(BufferParams const ¶ms);
39 /// The macros definitions needed by the document
40 string getMacros(BufferParams const ¶ms);
41 /// The definitions needed by the document's textclass
42 string getTClassPreamble(BufferParams const ¶ms);
45 void showStruct(BufferParams ¶ms);
50 bool color; // color.sty
52 bool graphics; // graphics.sty
54 bool setspace; // setspace.sty
56 bool makeidx; // makeind.sty
58 bool verbatim; // verbatim.sty
60 bool longtable; // longtable.sty
62 bool algorithm; // algorithm.sty
64 bool rotating; // rotating.sty
66 bool amssymb; // amssymb.sty
68 bool latexsym; // latexsym.sty
70 bool pifont; // pifont.sty
72 bool subfigure; // subfigure.sty
74 bool floatflt; // floatflt.sty
123 //@Man: Special features
125 bool LyXParagraphIndent;
127 bool NeedLyXFootnoteCode;
129 bool NeedLyXMinipageIndent;