2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright (C) 1995 Matthias Ettrich
8 * Copyright (C) 1995-1998 the LyX Team.
10 *======================================================*/
12 #ifndef _LATEXFEATURES_H
13 #define _LATEXFEATURES_H
24 /** The packages and commands that a buffer needs. This struct
25 contains an entry for each of the latex packages and
26 commands that a buffer might need. This struct is supposed to be
27 extended as the need arises. Remember to update the validate function
28 in buffer.C and paragraph.C when you do so. */
29 struct LaTeXFeatures {
31 LaTeXFeatures(int n) ;
36 /// The packaes needed by the document
37 LString getPackages(BufferParams const ¶ms);
38 /// The macros definitions needed by the document
39 LString getMacros(BufferParams const ¶ms);
40 /// The definitions needed by the document's textclass
41 LString 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;