X-Git-Url: https://pere.pagekite.me/gitweb/text-mekanikerord.git/blobdiff_plain/3afa4a7082acdac46d98e52fb50c6b4a58e7e1ea..4f8606451f99381912b30a52659876ca26a0105e:/pdf.xsl diff --git a/pdf.xsl b/pdf.xsl index f027849..825767e 100644 --- a/pdf.xsl +++ b/pdf.xsl @@ -1,13 +1,16 @@ - + 1 - 0.8in - 0.55in + 6in + 9in + 0.75in + 0.50in 0.55in 0.55in - a4paper,openright,twoside,twocolumn + book + a4paper,openright,twoside 0 @@ -19,20 +22,133 @@ 0 - yes - 1 + no + 0 - -% Trick to wrap glossary term -\setlist[description]{style=unboxed} + % start of latex.begindocument +\usepackage{multicol} + +% unboxed = wrap glossary term +% multicols = get two columns only in mainpart +\setlist[description]{% + style=unboxed, + before*=\begin{multicols}{2}, + after*=\end{multicols} +% first*= +% topsep=30pt, % space before start / after end of list +% itemsep=5pt, % space between items +% font=\normalfont, +} % Trick to avoid many words sticking out of the right margin of the text. \sloppy +% The microtype package provides the ability to micromanage your +% typography. When invoked without any options it does some nice things +% like protruding punctuation over the edge of the right margin to make +% the margin appear smoother. Basically it makes your book look more +% professional with very little effort. It also has a ton of options if +% you want to micromanage even more. +\usepackage{microtype} + +% Disable headers and footer texts +\pagestyle{myheadings} + +\def\DBKpublisher{Petter Reinholdtsen \\ Oslo} + +% Cludge to replace DBKcover \def in +% /usr/share/texmf/tex/latex/dblatex/style/dbk_title.sty where author +% and publisher is missing +\def\DBKcover{ +\ifthenelse{\equal{\DBKedition}{}}{\def\edhead{}}{\def\edhead{Ed. \DBKedition}} +% interligne double +\setlength{\oldbaselineskip}{\baselineskip} +\setlength{\baselineskip}{2\oldbaselineskip} +\textsf{ +\vfill +\vspace{2.5cm} +\begin{center} + \huge{\textbf{\DBKtitle}}\\ % + \ifx\DBKsubtitle\relax\else% + \underline{\ \ \ \ \ \ \ \ \ \ \ }\\ % + \ \\ % + \huge{\textbf{\DBKsubtitle}}\\ % + \fi + \ \\ % +% \huge{\editor} \\% +\end{center} +\vfill +\setlength{\baselineskip}{\oldbaselineskip} +\hspace{1cm} +\vspace{1cm} +\begin{center} +\Large{\DBKpublisher} \\ +\end{center} +} +% +\newcommand{\sectionline}{% + \nointerlineskip \vspace{\baselineskip}% + \hspace{\fill}\rule{0.5\linewidth}{.7pt}\hspace{\fill}% + \par\nointerlineskip \vspace{\baselineskip}% + }% +% +% Format for the other pages +\newpage +\setlength{\baselineskip}{\oldbaselineskip} +\lfoot[]{} +} + \begin{document} +% end of latex.begindocument + + 0 + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +