X-Git-Url: https://pere.pagekite.me/gitweb/text-mekanikerord.git/blobdiff_plain/77cd10d459d8ef61fb1408e574e980a87398ce52..aa89b6448da06c1c104f1b9d2bf6cf3678e2ed87:/pdf.xsl diff --git a/pdf.xsl b/pdf.xsl index c163adf..825767e 100644 --- a/pdf.xsl +++ b/pdf.xsl @@ -1,10 +1,12 @@ - + 1 - 0.8in - 0.55in + 6in + 9in + 0.75in + 0.50in 0.55in 0.55in book @@ -20,8 +22,8 @@ 0 - yes - 1 + no + 0 @@ -32,7 +34,7 @@ % multicols = get two columns only in mainpart \setlist[description]{% style=unboxed, - before*=\begin{multicols}{3}, + before*=\begin{multicols}{2}, after*=\end{multicols} % first*= % topsep=30pt, % space before start / after end of list @@ -43,6 +45,61 @@ % 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 @@ -51,4 +108,47 @@ 0 + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +