[General] Various fixes
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
\ifthenelse{\equal{\currentLanguage}{en}}{#1}{#2}%
|
||||
}
|
||||
\newcommand{\tr}[2]{\translate{#1}{#2}}
|
||||
\newcommand{\namingTranslate}[1]{\translate{\printTranslationOptionEN{#1}}{\printTranslationOptionEN{#1}}}
|
||||
\newcommand{\shortNamingTranslate}[1]{\translate{\printShortTranslationOptionEN{#1}}{\printShortTranslationOptionEN{#1}}}
|
||||
\newcommand{\namingTranslate}[1]{\translate{\printTranslationOptionEN{#1}}{\printTranslationOptionDE{#1}}}
|
||||
\newcommand{\shortNamingTranslate}[1]{\translate{\printShortTranslationOptionEN{#1}}{\printShortTranslationOptionDE{#1}}}
|
||||
|
||||
% Translation aids (commonly used)
|
||||
\newcommand{\trif}{\translate{if }{falls }}
|
||||
|
||||
@@ -14,6 +14,14 @@
|
||||
\inline[#1]{#2}
|
||||
}
|
||||
|
||||
\newcommand{\unnumberedInline}[2][NONAME]{%
|
||||
\ifthenelse{\equal{NONAME}{#1}}{%
|
||||
\anonymousInlineDescriptorTemplate{#2}{}%
|
||||
}{%
|
||||
\inlineDescriptorTemplate{#2}{}{#1}%
|
||||
}%
|
||||
}
|
||||
|
||||
\newcommand{\short}[2][NONAME]{%
|
||||
\ifthenelse{\equal{NONAME}{#1}}{%
|
||||
\anonymousShortDescriptorTemplate{#2}{\printLabel{#2}}%
|
||||
@@ -28,5 +36,16 @@
|
||||
\short[#1]{#2}
|
||||
}
|
||||
|
||||
\newcommand{\inlineproof}{\anonymousInlineDescriptorTemplate{proof}{}}
|
||||
\newcommand{\shortproof}{\anonymousShortDescriptorTemplate{proof}{}}
|
||||
\newcommand{\unnumberedShort}[2][NONAME]{%
|
||||
\ifthenelse{\equal{NONAME}{#1}}{%
|
||||
\anonymousShortDescriptorTemplate{#2}{}%
|
||||
}{%
|
||||
\shortDescriptorTemplate{#2}{}{#1}%
|
||||
}%
|
||||
}
|
||||
|
||||
\newcommand{\inlineproof}[1][NONAME]{\unnumberedInline[#1]{proof}}
|
||||
\newcommand{\inlineterm}[1][NONAME]{\unnumberedInline[#1]{term}}
|
||||
|
||||
\newcommand{\shortproof}[1][NONAME]{\unnumberedShort[#1]{proof}}
|
||||
\newcommand{\shortterm}[1][NONAME]{\unnumberedShort[#1]{term}}
|
||||
|
||||
Reference in New Issue
Block a user