mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix translation glitch caught by Georg.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38345 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7c63b4f260
commit
f4bc398a0f
@ -14,10 +14,10 @@ Style "Named Theorem"
|
|||||||
LabelString "Named Theorem."
|
LabelString "Named Theorem."
|
||||||
LatexName namedthm
|
LatexName namedthm
|
||||||
Preamble
|
Preamble
|
||||||
\newcommand\thmsname{Theorem}
|
\newcommand\thmsname{\protect\theoremname}
|
||||||
\newcommand\nm@thmtype{theorem}
|
\newcommand\nm@thmtype{theorem}
|
||||||
\theoremstyle{plain}
|
\theoremstyle{plain}
|
||||||
\newtheorem*{namedtheorem}{\protect\theoremname}
|
\newtheorem*{namedtheorem}{\thmsname}
|
||||||
\newenvironment{namedthm}[1][Undefined Theorem Name]{
|
\newenvironment{namedthm}[1][Undefined Theorem Name]{
|
||||||
\ifx{#1}{Undefined Theorem Name}\renewcommand\nm@thmtype{theorem*}
|
\ifx{#1}{Undefined Theorem Name}\renewcommand\nm@thmtype{theorem*}
|
||||||
\else\renewcommand\thmsname{#1}\renewcommand\nm@thmtype{namedtheorem}
|
\else\renewcommand\thmsname{#1}\renewcommand\nm@thmtype{namedtheorem}
|
||||||
|
Loading…
Reference in New Issue
Block a user