2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00

\cref in math mode is now never in italics for all defined names

This commit is contained in:
Martin Thoma 2014-01-28 10:40:14 +01:00
parent 953f08429e
commit efc46ee341
4 changed files with 29 additions and 25 deletions

View file

@ -49,3 +49,4 @@ in dem Erstellen dieses Skripts steckt:
|26.01.2014 | 19:00 - 20:00 | Textsetzung: Figure bekommt htp; stackrel -> overset; \ref -> \cref
|26.01.2014 | 21:30 - 22:45 | Textsetzung: enumerate
|28.01.2014 | 06:45 - 07:45 | Textsetzung (http://tex.stackexchange.com/q/156058/5645); Lösung von Übungsaufgabe geTeXt
|28.01.2014 | 10:00 - 10:40 | \cref in math mode is now never in italics for all defined names

Binary file not shown.

View file

@ -1090,9 +1090,9 @@ und der Fundamentalgruppe herstellen:
(m_{g^{-1}} \circ m_g)(x) &= m_{g^{-1}} (m_g (x))\\
&= m_{g^{-1}} (g \circ x)\\
&= g^{-1} \circ (g \circ x)\\
&\overset{\mathclap{\cref{def:gruppenoperation.2}}}{=} (g^{-1} \cdot g) \circ x\\
&\overset{\mathclap{\crefabbr{def:gruppenoperation.2}}}{=} (g^{-1} \cdot g) \circ x\\
&= 1_G \circ x\\
&\overset{\mathclap{\cref{def:gruppenoperation.1}}}{=} x
&\overset{\mathclap{\crefabbr{def:gruppenoperation.1}}}{=} x
\end{align*}
\end{beweis}

View file

@ -96,37 +96,26 @@
% http://tex.stackexchange.com/a/101138/5645
\newcommand\rtilde[1]{\widetilde{\mathit{#1}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\crefname{satz}{Satz}{Sätze}
\crefname{proposition}{Proposition}{Propositionen}
\crefname{lemma}{Lemma}{Lemmata}
\crefname{korollar}{Korollar}{Korollare}
\crefname{folgerung}{Folgerung}{Folgerungen}
\crefname{definition}{Definition}{Definitionen}
\crefname{behauptung}{Behauptung}{Behauptungen}
\crefname{beispiel}{Beispiel}{Beispiele}
\crefname{aufgabe}{Aufgabe}{Aufgaben}
\crefname{bemerkung}{Bemerkung}{Bemerkungen}
\crefname{satz}{\textup{Satz}}{\textup{Sätze}}
\crefname{proposition}{\textup{Proposition}}{\textup{Propositionen}}
\crefname{lemma}{\textup{Lemma}}{\textup{Lemmata}}
\crefname{korollar}{\textup{Korollar}}{\textup{Korollare}}
\crefname{folgerung}{\textup{Folgerung}}{\textup{Folgerungen}}
\crefname{definition}{\textup{Definition}}{\textup{Definitionen}}
\crefname{behauptung}{\textup{Behauptung}}{\textup{Behauptungen}}
\crefname{beispiel}{\textup{Beispiel}}{\textup{Beispiele}}
\crefname{aufgabe}{\textup{Aufgabe}}{\textup{Aufgaben}}
\crefname{bemerkung}{\textup{Bemerkung}}{\textup{Bemerkungen}}
%\let\OldAngle\angle
%\let\angle\sphericalangle
\newlist{defenum}{enumerate}{1}
\setlist[defenum]{label=\alph*),ref=\textup{\thedefinition.\alph*}}
\crefalias{defenumi}{definition}
\crefalias{defenumi}{definition}
\newlist{bemenum}{enumerate}{1}
\setlist[bemenum]{label=\alph*),ref=\textup{\thebemerkung.\alph*}}
\crefalias{bemenumi}{bemerkung}
% Commands for local abbreviations
\newcommand\crefabbr[1]{%
\begingroup
\crefname{bemerkung}{\text{Bem.}}{\text{Bem.}}\cref{#1}
\endgroup%
}
\newcommand\Crefabbr[1]{%
\begingroup
\Crefname{bemerkung}{Bem.}{Bem.}\Cref{#1}
\endgroup%
}
\newlist{bspenum}{enumerate}{1}
\setlist[bspenum]{label=\arabic*),ref=\textup{\thebeispiel.\arabic*}}
@ -138,4 +127,18 @@
\newlist{aufgabeenum}{enumerate}{1}
\setlist[aufgabeenum]{label=(\alph*),ref=\textup{\theaufgabe~(\alph*)}}
\crefalias{aufgabeenumi}{aufgabe}
\crefalias{aufgabeenumi}{aufgabe}
% Commands for local abbreviations
\newcommand\crefabbr[1]{%
\begingroup
\crefname{bemerkung}{\textup{Bem.}}{\textup{Bem.}}%
\crefname{definition}{\textup{Def.}}{\textup{Def.}}\cref{#1}
\endgroup%
}
\newcommand\Crefabbr[1]{%
\begingroup
\Crefname{bemerkung}{\textup{Bem.}}{\textup{Bem.}}%
\Crefname{definition}{\textup{Def.}}{\textup{Def.}}\Cref{#1}
\endgroup%
}