Macro zum Einfügen von externen Dokumenten aus schule angepasst
This commit is contained in:
parent
9c94df48d0
commit
429002ef06
@ -119,13 +119,20 @@
|
|||||||
|
|
||||||
\RequirePackage{amsmath}
|
\RequirePackage{amsmath}
|
||||||
\RequirePackage{accents}
|
\RequirePackage{accents}
|
||||||
|
\RequirePackage{nicefrac}
|
||||||
|
\RequirePackage{units}
|
||||||
|
|
||||||
\RequirePackage{array}
|
\RequirePackage{array}
|
||||||
|
|
||||||
\RequirePackage{delarray}
|
\RequirePackage{delarray}
|
||||||
|
|
||||||
|
\RequirePackage{placeins}
|
||||||
|
|
||||||
\RequirePackage{comment}
|
\RequirePackage{comment}
|
||||||
|
|
||||||
|
\RequirePackage{pdflscape}
|
||||||
|
\RequirePackage{xparse}
|
||||||
|
|
||||||
\RequirePackage{pgfkeys}
|
\RequirePackage{pgfkeys}
|
||||||
\RequirePackage{ifluatex}
|
\RequirePackage{ifluatex}
|
||||||
\ifluatex
|
\ifluatex
|
||||||
@ -197,6 +204,39 @@
|
|||||||
\end{multicols}
|
\end{multicols}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
\ProvideDocumentCommand{\externesDokumentEinseitig}{O{portrait}mO{}}{
|
||||||
|
\ifthenelse{\equal{#1}{portrait}}{%
|
||||||
|
\centering{\fbox{
|
||||||
|
\adjustbox{max size={\textwidth}{0.85\textheight}}{\includegraphics[page=1]{#2}}}
|
||||||
|
}
|
||||||
|
}{%
|
||||||
|
\begin{landscape}
|
||||||
|
#3
|
||||||
|
\centering{\fbox{
|
||||||
|
\includegraphics[page=1,width=1.3\textwidth]{#2}}
|
||||||
|
}
|
||||||
|
\end{landscape}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
\providecommand{\externesDokumentMehrseitig}[2][]{
|
||||||
|
\centering{\fbox{
|
||||||
|
\adjustbox{max size={\textwidth}{0.85\textheight}}{\includegraphics[page=1]{#2}}}
|
||||||
|
}
|
||||||
|
\ifthenelse{\equal{#1}{\empty}}{%
|
||||||
|
\includepdf[
|
||||||
|
pages=2-last,
|
||||||
|
scale=0.74,
|
||||||
|
pagecommand={\thispagestyle{plain}},
|
||||||
|
frame=true]{#2}
|
||||||
|
}{%
|
||||||
|
\includepdf[pages=2-last,
|
||||||
|
scale=0.74,
|
||||||
|
pagecommand={\thispagestyle{plain}},
|
||||||
|
frame=true,
|
||||||
|
#1]{#2}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
\mode<article>
|
\mode<article>
|
||||||
{
|
{
|
||||||
%% \ifcmmath
|
%% \ifcmmath
|
||||||
|
Loading…
Reference in New Issue
Block a user