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