X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flayout.h;h=637a059a6164e2ecedc10a918544b9f32f9bfbcc;hb=498f06d43a0f2000c3f704db1ea39fda3c819fe6;hp=54ee90713112bdbc4b16e0b69a4bfbc9a4b3083d;hpb=b922cdd796f9e4b9a46a79808cdee596e04903eb;p=lyx.git diff --git a/src/layout.h b/src/layout.h index 54ee907131..637a059a61 100644 --- a/src/layout.h +++ b/src/layout.h @@ -1,9 +1,9 @@ // -*- C++ -*- /* This file is part of * ====================================================== - * + * * LyX, The Document Processor - * + * * Copyright 1995 Matthias Ettrich * Copyright 1995-2001 The LyX Team. * @@ -12,12 +12,6 @@ #ifndef LAYOUT_H #define LAYOUT_H -enum layout_default { - /// - LYX_LAYOUT_DEFAULT = 99 -}; - - /// The different output types enum OutputType { /// @@ -86,6 +80,15 @@ enum LYX_LATEX_TYPES { }; +/// The different title types +enum LYX_TITLE_LATEX_TYPES { + /// + TITLE_COMMAND_AFTER = 1, + /// + TITLE_ENVIRONMENT +}; + + /// The different label types enum LYX_LABEL_TYPES { /// @@ -142,25 +145,25 @@ enum LYX_END_LABEL_TYPES { /// END_LABEL_ENUM_LAST = END_LABEL_STATIC }; - -/* Fix labels are printed flushright, manual labels flushleft. + +/* 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. + * 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. + * 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. +/* 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, + * 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 + * + * 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! - */ + */ #endif