Fix bug 3510 (by Jean-Marc)

* lib/layouts/IEEEtran.layout: Add a proper definition to the
	preamble when using the MarkBoth environment (fix bug 3510).
	Remove white space from begin of line in preamble stuff.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@18769 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2007-06-14 14:14:05 +00:00
parent f033b4536c
commit e90d01c707
2 changed files with 25 additions and 19 deletions

View File

@ -73,7 +73,7 @@ Style Theorem
LatexName thm LatexName thm
LabelString "Theorem #:" LabelString "Theorem #:"
Preamble Preamble
\newtheorem{thm}{Theorem} \newtheorem{thm}{Theorem}
EndPreamble EndPreamble
End End
@ -83,7 +83,7 @@ Style Lemma
LatexName lemma LatexName lemma
LabelString "Lemma #:" LabelString "Lemma #:"
Preamble Preamble
\newtheorem{lemma}{Lemma} \newtheorem{lemma}{Lemma}
EndPreamble EndPreamble
End End
@ -93,7 +93,7 @@ Style Corollary
LatexName cor LatexName cor
LabelString "Corollary #:" LabelString "Corollary #:"
Preamble Preamble
\newtheorem{cor}{Corollary} \newtheorem{cor}{Corollary}
EndPreamble EndPreamble
End End
@ -103,7 +103,7 @@ Style Proposition
LatexName prop LatexName prop
LabelString "Proposition #:" LabelString "Proposition #:"
Preamble Preamble
\newtheorem{prop}{Proposition} \newtheorem{prop}{Proposition}
EndPreamble EndPreamble
End End
@ -113,7 +113,7 @@ Style Conjecture
LatexName conject LatexName conject
LabelString "Conjecture #:" LabelString "Conjecture #:"
Preamble Preamble
\newtheorem{conject}{Conjecture} \newtheorem{conject}{Conjecture}
EndPreamble EndPreamble
End End
@ -123,7 +123,7 @@ Style Criterion
LatexName criter LatexName criter
LabelString "Criterion #:" LabelString "Criterion #:"
Preamble Preamble
\newtheorem{criter}{Criterion} \newtheorem{criter}{Criterion}
EndPreamble EndPreamble
End End
@ -133,7 +133,7 @@ Style Fact
LatexName fact LatexName fact
LabelString "Fact #:" LabelString "Fact #:"
Preamble Preamble
\newtheorem{fact}{Fact} \newtheorem{fact}{Fact}
EndPreamble EndPreamble
End End
@ -143,7 +143,7 @@ Style Axiom
LatexName axi LatexName axi
LabelString "Axiom #:" LabelString "Axiom #:"
Preamble Preamble
\newtheorem{axi}{Axiom} \newtheorem{axi}{Axiom}
EndPreamble EndPreamble
End End
@ -153,7 +153,7 @@ Style Definition
LatexName definitn LatexName definitn
LabelString "Definition #:" LabelString "Definition #:"
Preamble Preamble
\newtheorem{definitn}{Definition} \newtheorem{definitn}{Definition}
EndPreamble EndPreamble
End End
@ -163,7 +163,7 @@ Style Example
LatexName example LatexName example
LabelString "Example #:" LabelString "Example #:"
Preamble Preamble
\newtheorem{example}{Example} \newtheorem{example}{Example}
EndPreamble EndPreamble
End End
@ -173,7 +173,7 @@ Style Condition
LatexName condition LatexName condition
LabelString "Condition #:" LabelString "Condition #:"
Preamble Preamble
\newtheorem{condition}{Condition} \newtheorem{condition}{Condition}
EndPreamble EndPreamble
End End
@ -183,7 +183,7 @@ Style Problem
LatexName problem LatexName problem
LabelString "Problem #:" LabelString "Problem #:"
Preamble Preamble
\newtheorem{problem}{Problem} \newtheorem{problem}{Problem}
EndPreamble EndPreamble
End End
@ -193,7 +193,7 @@ Style Exercise
LatexName exacise LatexName exacise
LabelString "Exercise #:" LabelString "Exercise #:"
Preamble Preamble
\newtheorem{exacise}{Exercise} \newtheorem{exacise}{Exercise}
EndPreamble EndPreamble
End End
@ -203,7 +203,7 @@ Style Remark
LatexName remrk LatexName remrk
LabelString "Remark #:" LabelString "Remark #:"
Preamble Preamble
\newtheorem{remrk}{Remark} \newtheorem{remrk}{Remark}
EndPreamble EndPreamble
End End
@ -213,7 +213,7 @@ Style Claim
LatexName claim LatexName claim
LabelString "Claim #:" LabelString "Claim #:"
Preamble Preamble
\newtheorem{claim}{Claim} \newtheorem{claim}{Claim}
EndPreamble EndPreamble
End End
@ -223,7 +223,7 @@ Style Note
LatexName note LatexName note
LabelString "Note #:" LabelString "Note #:"
Preamble Preamble
\newtheorem{note}{Note} \newtheorem{note}{Note}
EndPreamble EndPreamble
End End
@ -233,7 +233,7 @@ Style Notation
LatexName notation LatexName notation
LabelString "Notation #:" LabelString "Notation #:"
Preamble Preamble
\newtheorem{notation}{Notation} \newtheorem{notation}{Notation}
EndPreamble EndPreamble
End End
@ -243,7 +243,7 @@ Style Case
LatexName case LatexName case
LabelString "Case #:" LabelString "Case #:"
Preamble Preamble
\newtheorem{case}{Case} \newtheorem{case}{Case}
EndPreamble EndPreamble
End End
@ -468,9 +468,13 @@ End
Style MarkBoth Style MarkBoth
LaTeXType Command LaTeXType Command
LaTeXName markboth LaTeXName IEEEmarkboth
Align Center Align Center
AlignPossible Center AlignPossible Center
Preamble
% protect against redefinition of \markboth by babel >= 3.6
\let\IEEEmarkboth=\markboth
EndPreamble
End End

View File

@ -101,3 +101,5 @@ What's new
- Make LyX/Mac recognize correctly newer versions of teTeX. - Make LyX/Mac recognize correctly newer versions of teTeX.
- Fix that Slovak userguide couldn't be typeset. - Fix that Slovak userguide couldn't be typeset.
- Fix babel bug triggered by MarkBoth in the IEEEtran.layout (bug 3510).