From 3d3852e2541db0c8e9121824d7fb9bb8e80f3bff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sat, 8 May 2010 14:38:09 +0000 Subject: [PATCH] IEEEtran.layout: - renamed markboth to page headins - correct position of markboth (according to the IEEEtran example files, this has to be declared before the special paper notice) - add style for IEEEpubid git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34384 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/IEEEtran.layout | 46 +++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 17 deletions(-) diff --git a/lib/layouts/IEEEtran.layout b/lib/layouts/IEEEtran.layout index ce12303a25..d7044599b7 100644 --- a/lib/layouts/IEEEtran.layout +++ b/lib/layouts/IEEEtran.layout @@ -128,10 +128,37 @@ Style Author End -Style Special_Paper_Notice +Style Page_headings + LaTeXType Command + LaTeXName markboth + Category FrontMatter + InTitle 1 + Align Center + Font + Size Small + EndFont + Preamble + % protect \markboth against an old bug reintroduced in babel >= 3.8g + \let\oldforeign@language\foreign@language + \DeclareRobustCommand{\foreign@language}[1]{% + \lowercase{\oldforeign@language{#1}}} + EndPreamble +End + + +Style Publisher_ID CopyStyle Title - LatexName IEEEspecialpapernotice + LatexName IEEEpubid InTitle 1 + Font + Size Small + EndFont +End + + +Style Special_Paper_Notice + CopyStyle Publisher_ID + LatexName IEEEspecialpapernotice Font Size Large EndFont @@ -147,21 +174,6 @@ Style After_Title_Text End -Style MarkBoth - LaTeXType Command - LaTeXName markboth - Category FrontMatter - InTitle 1 - Align Center - Preamble - % protect \markboth against an old bug reintroduced in babel >= 3.8g - \let\oldforeign@language\foreign@language - \DeclareRobustCommand{\foreign@language}[1]{% - \lowercase{\oldforeign@language{#1}}} - EndPreamble -End - - Style Abstract Margin First_Dynamic LatexType Environment -- 2.39.2