2001-12-28 13:26:54 +00:00
|
|
|
|
// -*- C++ -*-
|
2003-08-22 09:44:59 +00:00
|
|
|
|
/**
|
2007-04-29 18:58:28 +00:00
|
|
|
|
* \file Layout.h
|
2003-08-22 09:44:59 +00:00
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-03-21 17:27:08 +00:00
|
|
|
|
*
|
2003-08-22 09:44:59 +00:00
|
|
|
|
* \author Lars Gullik Bj<EFBFBD>nnes
|
|
|
|
|
* \author Jean-Marc Lasgouttes
|
|
|
|
|
* \author Andr<EFBFBD> P<EFBFBD>nitz
|
2002-03-21 17:27:08 +00:00
|
|
|
|
*
|
2003-08-22 09:44:59 +00:00
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
|
*/
|
2001-12-28 13:26:54 +00:00
|
|
|
|
|
|
|
|
|
#ifndef LYX_LAYOUT_H
|
|
|
|
|
#define LYX_LAYOUT_H
|
|
|
|
|
|
2007-04-29 18:17:15 +00:00
|
|
|
|
#include "Font.h"
|
2001-12-28 13:26:54 +00:00
|
|
|
|
#include "Spacing.h"
|
2006-10-20 22:17:16 +00:00
|
|
|
|
#include "support/docstring.h"
|
2003-10-06 15:43:21 +00:00
|
|
|
|
|
|
|
|
|
#include <string>
|
2001-12-28 13:26:54 +00:00
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
|
|
2007-04-26 11:30:54 +00:00
|
|
|
|
class Lexer;
|
2007-04-29 19:53:54 +00:00
|
|
|
|
class TextClass;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
|
2007-04-29 22:04:32 +00:00
|
|
|
|
|
|
|
|
|
/// The different output types
|
|
|
|
|
enum OutputType {
|
|
|
|
|
///
|
|
|
|
|
LATEX = 1,
|
|
|
|
|
///
|
|
|
|
|
DOCBOOK,
|
|
|
|
|
///
|
|
|
|
|
LITERATE
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// The different margin types
|
|
|
|
|
enum LYX_MARGIN_TYPE {
|
|
|
|
|
///
|
|
|
|
|
MARGIN_MANUAL = 1,
|
|
|
|
|
///
|
|
|
|
|
MARGIN_FIRST_DYNAMIC,
|
|
|
|
|
///
|
|
|
|
|
MARGIN_DYNAMIC,
|
|
|
|
|
///
|
|
|
|
|
MARGIN_STATIC,
|
|
|
|
|
///
|
|
|
|
|
MARGIN_RIGHT_ADDRESS_BOX
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
///
|
|
|
|
|
enum LyXAlignment {
|
|
|
|
|
///
|
|
|
|
|
LYX_ALIGN_NONE = 0,
|
|
|
|
|
///
|
|
|
|
|
LYX_ALIGN_BLOCK = 1,
|
|
|
|
|
///
|
|
|
|
|
LYX_ALIGN_LEFT = 2,
|
|
|
|
|
///
|
|
|
|
|
LYX_ALIGN_RIGHT = 4,
|
|
|
|
|
///
|
|
|
|
|
LYX_ALIGN_CENTER = 8,
|
|
|
|
|
///
|
|
|
|
|
LYX_ALIGN_LAYOUT = 16,
|
|
|
|
|
///
|
|
|
|
|
LYX_ALIGN_SPECIAL = 32
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
///
|
|
|
|
|
inline
|
|
|
|
|
void operator|=(LyXAlignment & la1, LyXAlignment la2) {
|
|
|
|
|
la1 = static_cast<LyXAlignment>(la1 | la2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2007-08-26 19:55:46 +00:00
|
|
|
|
///
|
|
|
|
|
inline
|
|
|
|
|
LyXAlignment operator|(LyXAlignment la1, LyXAlignment la2) {
|
|
|
|
|
return static_cast<LyXAlignment>(static_cast<int>(la1) | static_cast<int>(la2));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2007-04-29 22:04:32 +00:00
|
|
|
|
/// The different LaTeX-Types
|
|
|
|
|
enum LYX_LATEX_TYPES {
|
|
|
|
|
///
|
|
|
|
|
LATEX_PARAGRAPH = 1,
|
|
|
|
|
///
|
|
|
|
|
LATEX_COMMAND,
|
|
|
|
|
///
|
|
|
|
|
LATEX_ENVIRONMENT,
|
|
|
|
|
///
|
|
|
|
|
LATEX_ITEM_ENVIRONMENT,
|
|
|
|
|
///
|
|
|
|
|
LATEX_BIB_ENVIRONMENT,
|
|
|
|
|
///
|
|
|
|
|
LATEX_LIST_ENVIRONMENT
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// The different title types
|
|
|
|
|
enum LYX_TITLE_LATEX_TYPES {
|
|
|
|
|
///
|
|
|
|
|
TITLE_COMMAND_AFTER = 1,
|
|
|
|
|
///
|
|
|
|
|
TITLE_ENVIRONMENT
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// The different label types
|
|
|
|
|
enum LYX_LABEL_TYPES {
|
|
|
|
|
///
|
|
|
|
|
LABEL_NO_LABEL,
|
|
|
|
|
///
|
|
|
|
|
LABEL_MANUAL,
|
|
|
|
|
///
|
|
|
|
|
LABEL_BIBLIO,
|
|
|
|
|
///
|
|
|
|
|
LABEL_TOP_ENVIRONMENT,
|
|
|
|
|
///
|
|
|
|
|
LABEL_CENTERED_TOP_ENVIRONMENT,
|
|
|
|
|
|
|
|
|
|
// the flushright labels following now must start with LABEL_STATIC
|
|
|
|
|
///
|
|
|
|
|
LABEL_STATIC,
|
|
|
|
|
///
|
|
|
|
|
LABEL_SENSITIVE,
|
|
|
|
|
///
|
|
|
|
|
LABEL_COUNTER,
|
|
|
|
|
///
|
|
|
|
|
LABEL_ENUMERATE,
|
|
|
|
|
///
|
|
|
|
|
LABEL_ITEMIZE
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
///
|
|
|
|
|
enum LYX_END_LABEL_TYPES {
|
|
|
|
|
///
|
|
|
|
|
END_LABEL_NO_LABEL,
|
|
|
|
|
///
|
|
|
|
|
END_LABEL_BOX,
|
|
|
|
|
///
|
|
|
|
|
END_LABEL_FILLED_BOX,
|
|
|
|
|
///
|
|
|
|
|
END_LABEL_STATIC,
|
|
|
|
|
///
|
|
|
|
|
END_LABEL_ENUM_FIRST = END_LABEL_NO_LABEL,
|
|
|
|
|
///
|
|
|
|
|
END_LABEL_ENUM_LAST = END_LABEL_STATIC
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/* Fix labels are printed flushright, manual labels flushleft.
|
|
|
|
|
* MARGIN_MANUAL and MARGIN_FIRST_DYNAMIC are *only* for LABEL_MANUAL,
|
|
|
|
|
* MARGIN_DYNAMIC and MARGIN_STATIC are *not* for LABEL_MANUAL.
|
|
|
|
|
* This seems a funny restriction, but I think other combinations are
|
|
|
|
|
* not needed, so I will not change it yet.
|
|
|
|
|
* Correction: MARGIN_FIRST_DYNAMIC also usable with LABEL_STATIC
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* There is a parindent and a parskip. Which one is used depends on the
|
|
|
|
|
* paragraph_separation-flag of the text-object.
|
|
|
|
|
* BUT: parindent is only thrown away, if a parskip is defined! So if you
|
|
|
|
|
* want a space between the paragraphs and a parindent at the same time,
|
|
|
|
|
* you should set parskip to zero and use topsep, parsep and bottomsep.
|
|
|
|
|
*
|
|
|
|
|
* The standard layout is an exception: its parindent is only set, if the
|
|
|
|
|
* previous paragraph is standard too. Well, this is LateX and it is good!
|
|
|
|
|
*/
|
|
|
|
|
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2007-04-29 18:58:28 +00:00
|
|
|
|
class Layout {
|
2001-12-28 13:26:54 +00:00
|
|
|
|
public:
|
|
|
|
|
///
|
2007-04-29 18:58:28 +00:00
|
|
|
|
Layout();
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2007-04-29 19:53:54 +00:00
|
|
|
|
bool read(Lexer &, TextClass const &);
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2007-04-26 11:30:54 +00:00
|
|
|
|
void readAlign(Lexer &);
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2007-04-26 11:30:54 +00:00
|
|
|
|
void readAlignPossible(Lexer &);
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2007-04-26 11:30:54 +00:00
|
|
|
|
void readLabelType(Lexer &);
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2007-04-26 11:30:54 +00:00
|
|
|
|
void readEndLabelType(Lexer &);
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2007-04-26 11:30:54 +00:00
|
|
|
|
void readMargin(Lexer &);
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2007-04-26 11:30:54 +00:00
|
|
|
|
void readLatexType(Lexer &);
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2007-04-26 11:30:54 +00:00
|
|
|
|
void readSpacing(Lexer &);
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2007-07-11 13:39:08 +00:00
|
|
|
|
docstring const & name() const;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2007-07-11 13:39:08 +00:00
|
|
|
|
void setName(docstring const & n);
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2007-07-11 13:39:08 +00:00
|
|
|
|
docstring const & obsoleted_by() const;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2007-07-11 13:39:08 +00:00
|
|
|
|
docstring const & depends_on() const;
|
2002-07-20 20:47:54 +00:00
|
|
|
|
///
|
2003-10-06 15:43:21 +00:00
|
|
|
|
std::string const & latexname() const { return latexname_; }
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2006-10-20 22:17:16 +00:00
|
|
|
|
lyx::docstring const & labelstring() const { return labelstring_; }
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2006-10-20 22:17:16 +00:00
|
|
|
|
lyx::docstring const & endlabelstring() const { return endlabelstring_; }
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2006-11-08 17:22:44 +00:00
|
|
|
|
docstring const & preamble() const { return preamble_; }
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2003-10-06 15:43:21 +00:00
|
|
|
|
std::string const & latexparam() const { return latexparam_; }
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2003-11-14 14:05:03 +00:00
|
|
|
|
std::string const & innertag() const { return innertag_; }
|
|
|
|
|
///
|
2003-11-25 17:23:36 +00:00
|
|
|
|
std::string const & labeltag() const { return labeltag_; }
|
|
|
|
|
///
|
|
|
|
|
std::string const & itemtag() const { return itemtag_; }
|
|
|
|
|
///
|
2006-10-20 22:17:16 +00:00
|
|
|
|
lyx::docstring const & labelstring_appendix() const {
|
2001-12-28 13:26:54 +00:00
|
|
|
|
return labelstring_appendix_;
|
|
|
|
|
}
|
|
|
|
|
/** Default font for this layout/environment.
|
|
|
|
|
The main font for this kind of environment. If an attribute has
|
2007-04-29 18:17:15 +00:00
|
|
|
|
Font::INHERITED_*, it means that the value is specified by
|
2001-12-28 13:26:54 +00:00
|
|
|
|
the defaultfont for the entire layout. If we are nested, the
|
|
|
|
|
font is inherited from the font in the environment one level
|
2007-04-29 18:17:15 +00:00
|
|
|
|
up until the font is resolved. The values Font::IGNORE_*
|
|
|
|
|
and Font::TOGGLE are illegal here.
|
2001-12-28 13:26:54 +00:00
|
|
|
|
*/
|
2007-04-29 18:17:15 +00:00
|
|
|
|
Font font;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
|
|
|
|
|
/** Default font for labels.
|
|
|
|
|
Interpretation the same as for font above
|
|
|
|
|
*/
|
2007-04-29 18:17:15 +00:00
|
|
|
|
Font labelfont;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
|
|
|
|
|
/** Resolved version of the font for this layout/environment.
|
|
|
|
|
This is a resolved version the default font. The font is resolved
|
|
|
|
|
against the defaultfont of the entire layout.
|
|
|
|
|
*/
|
2007-04-29 18:17:15 +00:00
|
|
|
|
Font resfont;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
|
|
|
|
|
/** Resolved version of the font used for labels.
|
|
|
|
|
This is a resolved version the label font. The font is resolved
|
|
|
|
|
against the defaultfont of the entire layout.
|
|
|
|
|
*/
|
2007-04-29 18:17:15 +00:00
|
|
|
|
Font reslabelfont;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
|
|
|
|
|
/// Text that dictates how wide the left margin is on the screen
|
2003-10-06 15:43:21 +00:00
|
|
|
|
std::string leftmargin;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
/// Text that dictates how wide the right margin is on the screen
|
2003-10-06 15:43:21 +00:00
|
|
|
|
std::string rightmargin;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
/// Text that dictates how much space to leave after a potential label
|
2003-10-06 15:43:21 +00:00
|
|
|
|
std::string labelsep;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
/// Text that dictates how much space to leave before a potential label
|
2003-10-06 15:43:21 +00:00
|
|
|
|
std::string labelindent;
|
2003-03-14 10:39:47 +00:00
|
|
|
|
/// Text that dictates the width of the indentation of indented pars
|
2003-10-06 15:43:21 +00:00
|
|
|
|
std::string parindent;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2005-01-27 21:05:44 +00:00
|
|
|
|
double parskip;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2005-01-27 21:05:44 +00:00
|
|
|
|
double itemsep;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2005-01-27 21:05:44 +00:00
|
|
|
|
double topsep;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2005-01-27 21:05:44 +00:00
|
|
|
|
double bottomsep;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2005-01-27 21:05:44 +00:00
|
|
|
|
double labelbottomsep;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2005-01-27 21:05:44 +00:00
|
|
|
|
double parsep;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
|
|
|
|
Spacing spacing;
|
|
|
|
|
///
|
|
|
|
|
LyXAlignment align;
|
|
|
|
|
///
|
|
|
|
|
LyXAlignment alignpossible;
|
|
|
|
|
///
|
2003-06-28 01:23:11 +00:00
|
|
|
|
LYX_LABEL_TYPES labeltype;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
|
|
|
|
LYX_END_LABEL_TYPES endlabeltype;
|
|
|
|
|
///
|
|
|
|
|
LYX_MARGIN_TYPE margintype;
|
|
|
|
|
///
|
|
|
|
|
bool fill_top;
|
|
|
|
|
///
|
|
|
|
|
bool fill_bottom;
|
|
|
|
|
///
|
|
|
|
|
bool newline_allowed;
|
|
|
|
|
///
|
|
|
|
|
bool nextnoindent;
|
|
|
|
|
///
|
|
|
|
|
bool free_spacing;
|
|
|
|
|
///
|
|
|
|
|
bool pass_thru;
|
2007-01-17 21:12:14 +00:00
|
|
|
|
/**
|
|
|
|
|
* Whether this layout was declared with "Environment xxx" as opposed
|
|
|
|
|
* to "Style xxx". This is part of some unfinished generic environment
|
|
|
|
|
* handling (see also InsetEnvironment) started by Andre. No layout
|
|
|
|
|
* that is shipped with LyX has this flag set.
|
|
|
|
|
* Don't confuse this with isEnvironment()!
|
|
|
|
|
*/
|
2003-05-19 07:12:09 +00:00
|
|
|
|
bool is_environment;
|
2003-09-15 15:51:48 +00:00
|
|
|
|
/// show this in toc
|
|
|
|
|
int toclevel;
|
2005-05-12 10:16:04 +00:00
|
|
|
|
/// special value of toclevel for non-section layouts
|
|
|
|
|
static const int NOT_IN_TOC;
|
2003-03-14 10:39:47 +00:00
|
|
|
|
/// for new environment insets
|
2003-10-06 15:43:21 +00:00
|
|
|
|
std::string latexheader;
|
2003-03-14 10:39:47 +00:00
|
|
|
|
/// for new environment insets
|
2003-10-06 15:43:21 +00:00
|
|
|
|
std::string latexfooter;
|
2003-05-19 07:12:09 +00:00
|
|
|
|
/// for new environment insets
|
2003-10-06 15:43:21 +00:00
|
|
|
|
std::string latexparagraph;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
|
|
|
|
|
/** true when the fragile commands in the paragraph need to be
|
|
|
|
|
\protect'ed. */
|
|
|
|
|
bool needprotect;
|
|
|
|
|
/// true when empty paragraphs should be kept.
|
|
|
|
|
bool keepempty;
|
|
|
|
|
///
|
|
|
|
|
bool isParagraph() const {
|
|
|
|
|
return latextype == LATEX_PARAGRAPH;
|
|
|
|
|
}
|
|
|
|
|
///
|
2002-03-21 17:27:08 +00:00
|
|
|
|
bool isCommand() const {
|
2001-12-28 13:26:54 +00:00
|
|
|
|
return latextype == LATEX_COMMAND;
|
|
|
|
|
}
|
|
|
|
|
///
|
|
|
|
|
bool isEnvironment() const {
|
|
|
|
|
return (latextype == LATEX_ENVIRONMENT
|
2003-02-17 15:16:14 +00:00
|
|
|
|
|| latextype == LATEX_BIB_ENVIRONMENT
|
2001-12-28 13:26:54 +00:00
|
|
|
|
|| latextype == LATEX_ITEM_ENVIRONMENT
|
|
|
|
|
|| latextype == LATEX_LIST_ENVIRONMENT);
|
|
|
|
|
}
|
|
|
|
|
/// Type of LaTeX object
|
|
|
|
|
LYX_LATEX_TYPES latextype;
|
|
|
|
|
/// Does this object belong in the title part of the document?
|
|
|
|
|
bool intitle;
|
2002-08-23 09:05:32 +00:00
|
|
|
|
/// Does this layout allow for an optional parameter?
|
|
|
|
|
int optionalargs;
|
2003-09-12 17:13:22 +00:00
|
|
|
|
/// Which counter to step
|
2006-10-20 22:17:16 +00:00
|
|
|
|
lyx::docstring counter;
|
2003-11-14 14:05:03 +00:00
|
|
|
|
/// Depth of XML command
|
|
|
|
|
int commanddepth;
|
2002-09-04 06:41:38 +00:00
|
|
|
|
|
2007-07-02 16:02:41 +00:00
|
|
|
|
/// Return a pointer on a new layout suitable to describe a caption.
|
|
|
|
|
/// FIXME: remove this eventually. This is only for tex2lyx
|
|
|
|
|
/// until it has proper support for the caption inset (JMarc)
|
|
|
|
|
static Layout * forCaption();
|
|
|
|
|
|
2001-12-28 13:26:54 +00:00
|
|
|
|
private:
|
|
|
|
|
/// Name of the layout/paragraph environment
|
2007-07-11 13:39:08 +00:00
|
|
|
|
docstring name_;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
|
|
|
|
|
/** Name of an layout that has replaced this layout.
|
|
|
|
|
This is used to rename a layout, while keeping backward
|
2002-03-21 17:27:08 +00:00
|
|
|
|
compatibility
|
2001-12-28 13:26:54 +00:00
|
|
|
|
*/
|
2007-07-11 13:39:08 +00:00
|
|
|
|
docstring obsoleted_by_;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
|
2002-07-20 20:47:54 +00:00
|
|
|
|
/** Name of an layout which preamble must come before this one
|
|
|
|
|
This is used when the preamble snippet uses macros defined in
|
|
|
|
|
another preamble
|
|
|
|
|
*/
|
2007-07-11 13:39:08 +00:00
|
|
|
|
docstring depends_on_;
|
2002-07-20 20:47:54 +00:00
|
|
|
|
|
2001-12-28 13:26:54 +00:00
|
|
|
|
/// LaTeX name for environment
|
2003-10-06 15:43:21 +00:00
|
|
|
|
std::string latexname_;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
/// Label string. "Abstract", "Reference", "Caption"...
|
2006-10-20 22:17:16 +00:00
|
|
|
|
lyx::docstring labelstring_;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
///
|
2006-10-20 22:17:16 +00:00
|
|
|
|
lyx::docstring endlabelstring_;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
/// Label string inside appendix. "Appendix", ...
|
2006-10-20 22:17:16 +00:00
|
|
|
|
lyx::docstring labelstring_appendix_;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
/// LaTeX parameter for environment
|
2003-10-06 15:43:21 +00:00
|
|
|
|
std::string latexparam_;
|
2003-11-14 14:05:03 +00:00
|
|
|
|
/// Internal tag to use (e.g., <title></title> for sect header)
|
|
|
|
|
std::string innertag_;
|
2003-11-25 17:23:36 +00:00
|
|
|
|
/// Internal tag to use e.g. to surround varlistentry label)
|
|
|
|
|
std::string labeltag_;
|
|
|
|
|
/// Internal tag to surround the item text in a list)
|
|
|
|
|
std::string itemtag_;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
/// Macro definitions needed for this layout
|
2006-11-08 17:22:44 +00:00
|
|
|
|
docstring preamble_;
|
2001-12-28 13:26:54 +00:00
|
|
|
|
};
|
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
2001-12-28 13:26:54 +00:00
|
|
|
|
#endif
|