Add improved commands for def, lemma, theorems, etc
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
\item \verb|\startDocument| Initialize the document. Has to be called after \verb|\begin{document}|
|
||||
\item \verb|\usetcolorboxes| Initialize tcolorboxes. In main body, if you want to use fancy boxes. (requires \texttt{most} or up)
|
||||
\item \verb|\translate|\{\textit{string}\}\{\textit{string}\} First \textit{string} is English, second \textit{string} is German. Switches automatically based on language selected
|
||||
\item \verb|\tr|\{\textit{string}\}\{\textit{string}\} Shorthand for \verb|\translate|
|
||||
\end{itemize}
|
||||
|
||||
\newpage
|
||||
@@ -339,6 +340,33 @@ See \ref{sec:counters} for a guide on how to change the current number.
|
||||
\verb|\shortaxiom| & \shortaxiom \\
|
||||
\verb|\shortproof| & \shortproof \\
|
||||
\end{tables}
|
||||
\newpage
|
||||
|
||||
\fhlc{Aquamarine}{Inline (Named)}
|
||||
\begin{tables}{ll}{Command & Output}
|
||||
\verb|\fancyex|\{\textit{string}\} & \fancyex{Exercise} \\
|
||||
\verb|\fancydef|\{\textit{string}\} & \fancydef{Definition} \\
|
||||
\verb|\fancytheorem|\{\textit{string}\} & \fancytheorem{Theorem} \\
|
||||
\verb|\fancylemma|\{\textit{string}\} & \fancylemma{Lemma} \\
|
||||
\verb|\fancycorollary|\{\textit{string}\} & \fancycorollary{Corollary} \\
|
||||
\verb|\fancyproposition|\{\textit{string}\} & \fancyproposition{Corollary} \\
|
||||
\verb|\fancyfact|\{\textit{string}\} & \fancyfact{Fact} \\
|
||||
\verb|\fancyaxiom|\{\textit{string}\} & \fancyaxiom{Axiom} \\
|
||||
\verb|\fancyproof|\{\textit{string}\} & \fancyproof{Proof} \\
|
||||
\end{tables}
|
||||
|
||||
\fhlc{Aquamarine}{Shortened (Named)}
|
||||
\begin{tables}{ll}{Command & Output}
|
||||
\verb|\compactex|\{\textit{string}\} & \compactex{Exercise} \\
|
||||
\verb|\compactdef|\{\textit{string}\} & \compactdef{Definition} \\
|
||||
\verb|\compacttheorem|\{\textit{string}\} & \compacttheorem{Theorem} \\
|
||||
\verb|\compactlemma|\{\textit{string}\} & \compactlemma{Lemma} \\
|
||||
\verb|\compactcorollary|\{\textit{string}\} & \compactcorollary{Corollary} \\
|
||||
\verb|\compactproposition|\{\textit{string}\} & \compactproposition{Corollary} \\
|
||||
\verb|\compactfact|\{\textit{string}\} & \compactfact{Fact} \\
|
||||
\verb|\compactaxiom|\{\textit{string}\} & \compactaxiom{Axiom} \\
|
||||
\verb|\compactproof|\{\textit{string}\} & \compactproof{Proof} \\
|
||||
\end{tables}
|
||||
|
||||
|
||||
\subsubsection{Changing the counters}
|
||||
|
Reference in New Issue
Block a user