mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
* amsmaths.inc:
- better definition of cases environment, as suggested by Russ Woodroofe and Paul Rubin. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25700 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
48fefda58c
commit
0e6ac59a98
@ -615,11 +615,22 @@ Style Case
|
||||
LatexName caseenv
|
||||
LabelType Static
|
||||
LeftMargin "MMMMMMN"
|
||||
LabelString "Case #:"
|
||||
LabelString "Case #."
|
||||
LabelFont
|
||||
Series Medium
|
||||
Shape Italic
|
||||
EndFont
|
||||
Preamble
|
||||
\newcounter{casectr}
|
||||
\newenvironment{caseenv}
|
||||
{\begin{list}{\bfseries\upshape Case \arabic{casectr}:}{}\setcounter{casectr}{0}\usecounter{casectr}}
|
||||
{\begin{list}{{\itshape\ Case} \arabic{casectr}.}{%
|
||||
\setlength{\leftmargin}{\labelwidth}
|
||||
\addtolength{\leftmargin}{\parskip}
|
||||
\setlength{\itemindent}{\listparindent}
|
||||
\setlength{\itemsep}{\medskipamount}
|
||||
\setlength{\topsep}{\itemsep}}
|
||||
\setcounter{casectr}{0}
|
||||
\usecounter{casectr}}
|
||||
{\end{list}}
|
||||
EndPreamble
|
||||
End
|
||||
|
@ -52,6 +52,9 @@ What's new
|
||||
- The A&A document class and template has been updated to conform to
|
||||
version 6.0 of the A&A specification (bug 4928).
|
||||
|
||||
- The 'Case' environment in the AMS classes has been rewritten to produce
|
||||
better output.
|
||||
|
||||
|
||||
* USER INTERFACE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user