Initial commit

This commit is contained in:
Leon Etienne
2022-05-19 09:11:50 +02:00
commit d3d69b4d1f
30 changed files with 642 additions and 0 deletions

38
environments.tex Normal file
View File

@@ -0,0 +1,38 @@
%
% Custom environments
%
% Code frame
\DefineVerbatimEnvironment{code}{Verbatim}
{
tabsize=4,
samepage=true,
frame=lines,
numbers=left,
}
% Nonpagebreaking chapters
\newenvironment{npbrChap}
{
\begingroup
\let\clearpage\relax
}
{
\endgroup
}
% Nicely placed image environment
% Features:
% Margin-top
% placed exactly where it's put in the source code
% image and caption always stays on same page
\newenvironment{nicepic}
{
\begin{minipage}{\textwidth}
\vspace{7.5mm}
\begin{center}
}
{
\end{center}
\end{minipage}
}