initial coomit

This commit is contained in:
2025-01-18 15:21:52 +01:00
commit 0025d9c75f
39 changed files with 729 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}
}