Add new counter-based environments
This commit is contained in:
parent
7cf08f2c99
commit
fe3a0a5f62
@ -90,6 +90,16 @@ overlay={\node[overlaystyle,draw=gray!75!black,fill=gray!75!black] at (frame.nor
|
||||
\newcommand{\inlineproposition}{\bg{Cyan}{\translate{Proposition}{Satz} \usenumberArabic{propositions}:}}
|
||||
\newcommand{\inlineproof}{\bg{magenta}{\translate{Proof}{Beweis}:}}
|
||||
|
||||
% Enhanced inline environments
|
||||
\newcommand{\compactexample}[1]{\bg{gray}{\translate{Example}{Beispiel} \usenumberArabic{examples}:} \textit{#1}}
|
||||
\newcommand{\compactdefinition}[1]{\bg{blue}{Definition \usenumberArabic{definitions}:} \textit{#1}}
|
||||
\newcommand{\compactlemma}[1]{\bg{Aquamarine}{Lemma \usenumberArabic{lemmas}:} \textit{#1}}
|
||||
\newcommand{\compacttheorem}[1]{\bg{ForestGreen}{Theorem \usenumberArabic{theorems}:} \textit{#1}}
|
||||
\newcommand{\compactaxiom}[1]{\bg{JungleGreen}{Axiom \usenumberArabic{axioms}:} \textit{#1}}
|
||||
\newcommand{\compactcorollary}[1]{\bg{teal}{\translate{Corollary}{Korollar} \usenumberArabic{corollaries}:} \textit{#1}}
|
||||
\newcommand{\compactfact}[1]{\bg{SeaGreen}{\translate{Fact}{Fakt} \usenumberArabic{facts}:} \textit{#1}}
|
||||
\newcommand{\compactproposition}[1]{\bg{Cyan}{\translate{Proposition}{Satz} \usenumberArabic{propositions}:} \textit{#1}}
|
||||
\newcommand{\compactproof}[1]{\bg{magenta}{\translate{Proof}{Beweis}: \textit{#1}}}
|
||||
|
||||
% short environments (abbreviated)
|
||||
\newcommand{\shortex}{\textbf{\translate{Ex}{Bsp} \usenumberArabic{examples}:}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user