From dc650d3ad51870f6c4a06e16bb1908e9c022ad6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Mon, 22 Sep 2003 08:47:10 +0000 Subject: [PATCH] Juergen S.'s support for memoir.cls git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7804 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/ChangeLog | 4 ++ lib/doc/LaTeXConfig.lyx.in | 45 +++++++++++++++++--- lib/layouts/memoir.layout | 87 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 130 insertions(+), 6 deletions(-) create mode 100644 lib/layouts/memoir.layout diff --git a/lib/ChangeLog b/lib/ChangeLog index 0c4c2c7046..aa862499a9 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2003-09-22 Jürgen Spitzmüller + + * layouts/memoir.layout: new support for memoir.cls + 2003-09-17 Martin Vermeer * doc/LaTeXConfig.lyx.in: added agums entry to AGU section. diff --git a/lib/doc/LaTeXConfig.lyx.in b/lib/doc/LaTeXConfig.lyx.in index 04fea0584e..3af00db9e0 100644 --- a/lib/doc/LaTeXConfig.lyx.in +++ b/lib/doc/LaTeXConfig.lyx.in @@ -1331,7 +1331,7 @@ Astrophysics and Space Science, Solar Physics \begin_layout Subsection -Koma-Script +KOMA-Script \begin_inset LatexCommand \label{sub:Koma-Script} \end_inset @@ -1341,7 +1341,11 @@ Koma-Script \begin_layout Description -Found: scrartcl: @chk_scrartcl@, +Found: +\family sans +scrartcl +\family default +: @chk_scrartcl@, \family sans scrreprt \family default @@ -1381,16 +1385,20 @@ book \begin_layout Subsection -Koma-Script letter +KOMA-Script letter \end_layout \begin_layout Standard -Found: scrlettr: @chk_scrlettr@, +Found: \family sans -scr +scrlettr \family default -lttr2: @chk_scrlttr2@ +: @chk_scrlettr@, +\family sans +scrlttr2 +\family default +: @chk_scrlttr2@ \end_layout \begin_layout Description @@ -1539,6 +1547,31 @@ The LyX layout file for this document class is still insufficiently tested. \end_deeper \begin_layout Subsection +memoir +\end_layout + +\begin_layout Description + +Found: @chk_memoir@ +\end_layout + +\begin_layout Description + +CTAN: +\family typewriter +macros/latex/contrib/supported/memoir/ +\end_layout + +\begin_layout Description + +Notes: Memoir is a flexible class for typesetting general fiction, non-fiction + and mathematical works as books, reports, articles or manuscripts. + Documents can use 9, 10, 11, 12, 14 or 17pt as the normal font size. + Many methods are provided to let you create your own particular design. +\end_layout + +\begin_layout Subsection + mwcls (mwart, mwbk, mwrep) \end_layout diff --git a/lib/layouts/memoir.layout b/lib/layouts/memoir.layout new file mode 100644 index 0000000000..165ce9ae5d --- /dev/null +++ b/lib/layouts/memoir.layout @@ -0,0 +1,87 @@ +#% Do not delete the line below; configure depends on this +# \DeclareLaTeXClass{memoir} +# Memoir textclass definition file (poor man's version). +# Author: Jürgen Spitzmüller +# feel free to contribute missing features! + +Input stdclass.inc +Input numreport.inc + + +Sides 2 +PageStyle Headings + + +ClassOptions + FontSize 9|10|11|12|14|17 + PageStyle empty|plain|headings|myheadings|ruled|Ruled|companion + Other oldfontcommands +End + + +Style Bibliography + TopSep 4 + LabelString Bibliography + LabelFont + Series Bold + Size Huge + EndFont +End + + +Style Chapterprecis + Margin Static + LatexType Command + LatexName chapterprecis + NeedProtect 1 + NextNoIndent 1 + LeftMargin MM + LabelSep xxx + ParSkip 0.4 + TopSep 0.4 + BottomSep 0 + ParSep 0.4 + Align Block + AlignPossible Block + Font + Shape Italic + Size Normal + EndFont +End + + +Style Epigraph + Margin Right_Address_Box + LatexType Command + LatexName epigraph + ParSkip 0.4 + BottomSep 1.5 + ParSep 1.5 + Align Left + AlignPossible Left +End + + +Style Poemtitle + LatexType Command + LatexName poemtitle + NeedProtect 1 + NextNoIndent 1 + LabelSep xxx + ParSkip 0.4 + TopSep 0.4 + ParSep 0.4 + Align center + AlignPossible center + OptionalArgs 1 + Font + Series Bold + EndFont +End + + +Style Poemtitle* + CopyStyle Poemtitle + LatexName poemtitle* + OptionalArgs 0 +End