Option für Schule-Paket hinzugefügt

This commit is contained in:
André Hilbig 2015-04-08 14:36:45 +02:00
parent be4d5f0c06
commit 96612011f3

View File

@ -26,13 +26,25 @@
% |
\ProvidesPackage{ahilbig-common}
\newif\ifdraftversion
\newif\ifbw
\newif\ifcd
\newif\ifschule
\DeclareOption{draft}{\draftversiontrue}
\DeclareOption{blackandwhite}{\bwtrue}
\DeclareOption{cd}{\cdtrue}
\DeclareOption{schule}{\schuletrue}
\ProcessOptions
\RequirePackage[german=guillemets]{csquotes}
% Automatische Skalierung zu grosser (breiter) Grafiken
\RequirePackage[Export]{adjustbox}
\adjustboxset{max size={\textwidth}{0.9\textheight}}
\RequirePackage{svn-multi}
%\RequirePackage{svn-multi}
%\RequirePackage[all]{svn-multi}
%\RequirePackage[filehooks,autokw]{svn-multi}
\RequirePackage{staves}
@ -53,6 +65,13 @@
\RequirePackage[official]{eurosym}
\RequirePackage{fancybox}
\@ifclassloaded{beamer}{}{\RequirePackage{beamerarticle}}
\ifschule
\RequirePackage{schule}
\let\schuleSo\so
\let\so\relax
\fi
\RequirePackage{tabularx}
\RequirePackage{xmpmulti}
\RequirePackage{pdfcomment}
@ -105,18 +124,6 @@
\RequirePackage{comment}
\newif\ifdraftversion
\newif\ifbw
\newif\ifcd
\DeclareOption{draft}{\draftversiontrue}
\DeclareOption{blackandwhite}{\bwtrue}
\DeclareOption{cd}{\cdtrue}
\ProcessOptions
\@ifclassloaded{beamer}{}{\RequirePackage{beamerarticle}}
\RequirePackage{pgfkeys}
\RequirePackage{ifluatex}
\ifluatex
@ -125,6 +132,7 @@
\RequirePackage[utf8]{inputenc}
\fi
\def\UrlFont{}
%%\ifcd\else
@ -176,6 +184,14 @@
\providecommand{\RightArrow}{\textcolor{structure.fg}{$\Rightarrow$}}
\providecommand{\TCs}[1]{\textcolor{structure.fg}{#1}}
\newenvironment{colitemize}[1][2]{
\begin{multicols}{#1}
\begin{itemize}
}{
\end{itemize}
\end{multicols}
}
\mode<article>
{
%% \ifcmmath