more fixes
This commit is contained in:
parent
ae9f8be2a6
commit
443a456154
55
doku.tex
55
doku.tex
|
@ -1,9 +1,9 @@
|
|||
%% NB: Dieses Dokument baut so 3-10 Minuten je nach Dateisystem-Performance…
|
||||
%% (Sehr viele Beispiele die jeweils komplette eigenständige Dokumente sind.)
|
||||
\documentclass[ngerman,10pt]{scrartcl}
|
||||
\usepackage{babel}
|
||||
\usepackage{calc,tikz,geometry,minted,fontspec,luacode,csquotes,hyperref}
|
||||
\usepackage{calc,tikz,minted,fontspec,luacode,csquotes,babel,hyperref,microtype}
|
||||
\MakeOuterQuote{"}
|
||||
\hypersetup{colorlinks,urlcolor={magenta!50!black},linkcolor={green!50!black}}
|
||||
\geometry{a4paper,margin=2cm}
|
||||
\hypersetup{colorlinks,urlcolor={magenta!75!black},linkcolor={green!50!black}}
|
||||
\linespread{1.05}
|
||||
% font definition (same as cccbform.cls)
|
||||
\setmainfont[
|
||||
|
@ -32,7 +32,6 @@
|
|||
BoldItalicFeatures={RawFeature={+axis={MONO=1.0,CASL=0.2,slnt=-15,CRSV=1,wght=700}}},
|
||||
ItalicFeatures={RawFeature={+axis={MONO=1.0,CASL=0.2,slnt=-15,CRSV=1,wght=400}}}
|
||||
]{Recursive}
|
||||
\renewcommand{\UrlFont}{\ttfamily}
|
||||
\renewfontfamily\titlefont[
|
||||
Renderer=HarfBuzz,
|
||||
ItalicFont=Recursive,
|
||||
|
@ -115,25 +114,28 @@ FOOTER = [[
|
|||
\directlua{ShortExampleStart()}
|
||||
}{
|
||||
\directlua{ EndExample( ShortExampleEnd, "#1", "#2" ) }
|
||||
\par
|
||||
\vbox{
|
||||
\noindent
|
||||
\begin{tikzpicture}
|
||||
\node[anchor=north east] (code) at (-0.5ex,0) {
|
||||
\begin{minipage}[t]{0.5\textwidth - 3ex}
|
||||
\vspace{-2ex}
|
||||
\inputminted[firstline=\ls,lastline=\lc]{tex}{cccbform-examples/#2.tex}
|
||||
\end{minipage}
|
||||
};
|
||||
\node[anchor=north west, draw=black!50] (output) at (0.5ex,0) {
|
||||
\begin{minipage}[t]{0.5\textwidth - 2ex}
|
||||
\includegraphics[width=\linewidth]{cccbform-examples/#2.pdf}
|
||||
\end{minipage}
|
||||
};
|
||||
\end{tikzpicture}
|
||||
\par
|
||||
\vspace{-2ex}
|
||||
{\null\hfill\bfseries #3 \hfill\null}
|
||||
\par\noindent
|
||||
\null\hspace*{-2cm}
|
||||
\rlap{
|
||||
\begin{minipage}[t]{\textwidth + 4cm}
|
||||
\noindent
|
||||
\begin{tikzpicture}
|
||||
\node[anchor=north east] (code) at (-0.5ex,0) {
|
||||
\begin{minipage}[t]{0.5\textwidth - 3ex}
|
||||
\vspace{-2ex}
|
||||
\inputminted[firstline=\ls,lastline=\lc]{tex}{cccbform-examples/#2.tex}
|
||||
\end{minipage}
|
||||
};
|
||||
\node[anchor=north west, draw=black!50] (output) at (0.5ex,0) {
|
||||
\begin{minipage}[t]{0.5\textwidth - 2ex}
|
||||
\includegraphics[width=\linewidth]{cccbform-examples/#2.pdf}
|
||||
\end{minipage}
|
||||
};
|
||||
\end{tikzpicture}
|
||||
\par
|
||||
\vspace{-2ex}
|
||||
{\null\hfill\bfseries #3 \hfill\null}
|
||||
\end{minipage}
|
||||
}
|
||||
\par
|
||||
\addvspace{4ex}
|
||||
|
@ -401,6 +403,11 @@ Auch hier gibt es wieder die Variante mit Stern für volle Breite:
|
|||
werden, hierfür gibt es daher ein Feld was nur ein "falsches" Formularfeld ist
|
||||
und nicht digital ausgefüllt werden kann.
|
||||
|
||||
(NB: Die Breite ist -- wie bei allem -- relativ zur Papierbreite definiert. Da
|
||||
diese bei diesen Beispielen deutlich schmaler als A4 ist, sieht das Feld hier
|
||||
sehr schmal aus; im "richtigen" Formular wird es aber eine angemessene Größe
|
||||
haben.)
|
||||
|
||||
\begin{ShortExample}{signature}{Feld für Unterschriften}
|
||||
\Signature
|
||||
\end{ShortExample}
|
||||
|
|
Loading…
Reference in a new issue