X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/48acd2e1b4ad0a64661091dff97122b2a53e4685..14ef7c50ee6e61ddef8ccac671fe89dff84155bc:/librarian/pdf/wl.cls?ds=sidebyside diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index c9305ca..e0721d9 100644 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -6,6 +6,7 @@ % % nofootnotes - disable generation of footnotes % nothemes - disable generation of themes +% defaultleading - default leading % onehalfleading - leading of 1.5 (interlinia) % doubleleading - double leading (interlinia) % a4paper,... - paper size as required by LaTeX @@ -13,6 +14,8 @@ \RequirePackage{setspace} \RequirePackage{type1cm} +\RequirePackage{amssymb} +\RequirePackage{amsmath} \DeclareOption{13pt}{% \AtEndOfClass{% % font size definitions, similar to ones in /usr/share/texmf-texlive/tex/latex/base/ @@ -39,6 +42,7 @@ %% \DeclareOption{14pt}{\renewcommand{\normalsize}{\AtEndOfClass{\fontsize{14}{17}\selectfont}}} +\DeclareOption{defaultleading}{} \DeclareOption{doubleleading}{\AtBeginDocument{\doublespacing}}%\setlength{\leading}{1em plus 0.5ex minus 0.2ex}} \DeclareOption{onehalfleading}{\AtBeginDocument{\onehalfspacing}}%\setlength{\leading}{1em plus 0.5ex minus 0.2ex}} @@ -59,18 +63,20 @@ \DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}} \ProcessOptions\relax -\LoadClass[a4paper,oneside]{book} +\LoadClass[a4paper]{book} \usepackage{trace} - +\usepackage{caption} +\usepackage{tabularx} \usepackage[MeX]{polski} - +\usepackage{icomma} \usepackage[xetex]{graphicx} \usepackage{fontspec} \usepackage{xunicode} \usepackage{xltxtra} + \usepackage[overload]{textcase} \usepackage{scalefnt} \usepackage[colorlinks=true,linkcolor=black,setpagesize=false,urlcolor=black,xetex]{hyperref} @@ -136,7 +142,8 @@ Letters={SmallCaps,UppercaseSmallCaps} \setlength{\marginparsep}{2em} \setlength{\marginparwidth}{8.5em} -\setlength{\oddsidemargin}{0pt} +\setlength{\oddsidemargin}{36mm} +\setlength{\evensidemargin}{0pt} \setlength{\voffset}{0pt} \setlength{\topmargin}{0pt} \setlength{\headheight}{0pt} @@ -147,9 +154,20 @@ Letters={SmallCaps,UppercaseSmallCaps} \fancyhf{} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} -\lfoot{{\footnotesize \textsc{\@author} \emph{\@title}}} +<<<<<<< HEAD +%\lfoot{{\footnotesize \textsc{\@author} \emph{\@title}}} +\cfoot{} +%\rfoot{{\footnotesize \thepage}} +\fancyfoot[LO,RE]{{\footnotesize \textsc{\@author} \emph{\@title}}} +\fancyfoot[LE,RO]{{\footnotesize \thepage}} +======= +%\lfoot{{\footnotesize \textsc{\@author} \emph{\@title}}} %1 \cfoot{} -\rfoot{{\footnotesize \thepage}} +%\rfoot{{\footnotesize \thepage}} %1 +\fancyfoot[LO,RE]{{\footnotesize \textsc{\@author} \emph{\@title}}} +\fancyfoot[LE,RO]{{\footnotesize \thepage}} + +>>>>>>> 4531d8a... nicer tables \clubpenalty=100000 \widowpenalty=100000 @@ -167,8 +185,14 @@ Letters={SmallCaps,UppercaseSmallCaps} \raisebox{0pt}[0pt][0pt]{\makebox[0pt][r]{\usebox{\xglyphbox}}}} \newcommand{\makecover}[2]{ - \pdfpagewidth=#1 - \pdfpageheight=#2 +<<<<<<< HEAD + + %\pdfpagewidth=#1 + %\pdfpageheight=#2 +======= +% \pdfpagewidth=#1 +% \pdfpageheight=#2 +>>>>>>> 4531d8a... nicer tables \thispagestyle{empty} \newlength{\PictHOffset} @@ -183,15 +207,56 @@ Letters={SmallCaps,UppercaseSmallCaps} \addtolength{\PictVOffset}{\headheight} \addtolength{\PictVOffset}{\headsep} \addtolength{\PictVOffset}{\topskip} - \addtolength{\PictVOffset}{-\pdfpageheight} +<<<<<<< HEAD + \addtolength{\PictVOffset}{-#2} + + \noindent\hspace*{-\PictHOffset}% + \raisebox{\PictVOffset}[0pt][0pt]{\makebox[0pt][l]{% + \includegraphics[height=#2,width=#1]{cover.jpg}}} + %\clearpage +======= + \addtolength{\PictVOffset}{-#2} %1 \pdfpageheight} \noindent\hspace*{-\PictHOffset}% \raisebox{\PictVOffset}[0pt][0pt]{\makebox[0pt][l]{% - \includegraphics[height=\pdfpageheight,width=\pdfpagewidth]{cover.png}}} - \clearpage + \includegraphics[height=#2,width=#1]{cover.png}}} +% \clearpage +>>>>>>> 4531d8a... nicer tables + \vspace{#2} + + \hspace{-36mm}\parbox{16cm}{ + {\addfontfeature{LetterSpace=-4.0}\emph{\scalefont{4}% + \noindent Future of Copyright Anthology + }} + + \vspace{2em} + {\addfontfeature{LetterSpace=-4.0}{\scalefont{1.5}% + A collection of texts from a crowd-funded contest. + }} + +<<<<<<< HEAD + + \vspace{8em} + +\emph{\thankyou}\\ +\indent\emph{You made this book possible.} + } + + + %\setlength{\pdfpagewidth}{210mm} + %\setlength{\pdfpageheight}{297mm} +======= - \setlength{\pdfpagewidth}{210mm} - \setlength{\pdfpageheight}{297mm} + \vspace{8em} + +\emph{\thankyou}\\ +\indent\emph{You made this book possible.} + } + + +% \setlength{\pdfpagewidth}{210mm} +% \setlength{\pdfpageheight}{297mm} +>>>>>>> 4531d8a... nicer tables } @@ -224,7 +289,63 @@ Letters={SmallCaps,UppercaseSmallCaps} } } +<<<<<<< HEAD +======= + + + + +>>>>>>> 4531d8a... nicer tables +\usepackage{printlen} + \newcommand{\editorialsection}{ +\clearpage + +%\set\textwidth=450pt +%\printlength\textwidth + + +{\scalefont{1.5}Dear readers!} + + + +\vspace{1em} +It is our great pleasure to present you the “Future of Copyright +Anthology”, a collection of 10 best short stories sent in for the “Future +of Copyright” contest organized by Modern Poland Foundation. These works +have been selected by our jury – Prof. Michael Geist, Piotr Czerski and +Jarosław Lipszyc. + +The main prize in this contest was founded by you, the readers, on the +Indiegogo crowdfunding platform. We are proud to announce that this +prize goes to Aymeric Mansoux, author of “Morphology of a copyright +tale”, in appreciation of the originality, power and the strong message +of this work. Moreover, the jury decided to grant an honorable mention +to Togi, author of the work “Give”. + +We would like to thank you for your crowdfunding support and a high +standard of the submitted works. We were pleasantly surprised by the +interest shown in the competition, and we have decided to hold +its second edition next +year. We hope that with your help it will be even more successful and +the collected works will provide a strong voice in the debate on the future +of copyright law and system. + +\vspace{1em} +Modern Poland Foundation Team + +\vspace{4em} +\includegraphics[scale=.2]{logo.eps} +\vspace{1em} + +\href{http://nowoczesnapolska.org.pl/}{http://nowoczesnapolska.org.pl/} + +<<<<<<< HEAD +%\vspace{4em} +%\box{\tableofcontents} + +======= +>>>>>>> 4531d8a... nicer tables \begin{figure}[b!] { \footnotesize @@ -234,17 +355,19 @@ Letters={SmallCaps,UppercaseSmallCaps} \rightsinfo \vspace{.6em} - Źródło: \href{\bookurl}{\bookurl} + %Źródło: \href{\bookurl}{\bookurl} - \vspace{.6em} - \sourceinfo + %\vspace{.6em} + %\sourceinfo - \description - \vspace{.6em} + %\description + %\vspace{.6em} + + Published by \href{http://nowoczesnapolska.org.pl}{Modern Poland Foundation}, 2012. \editors - \vspace{.6em} + %\vspace{.6em} \coverby \color{black} @@ -274,10 +397,13 @@ Letters={Uppercase} %{\addfontfeature{Scale=2.0, FakeStretch=0.98, LetterSpace=-2.0}\emph{#1}} } - \newcommand{\tytul}[1]{% #1% -\vspace{1em}% +%\vspace{1em}% +} + +\newcommand{\autorpodutworu}[1]{% +\section*{\typosection{#1}}% } \newcommand{\nazwapodutworu}[1]{% @@ -285,6 +411,7 @@ Letters={Uppercase} } \newcommand{\autorutworu}[1]{% +\addcontentsline{toc}{part}{???} \subsection*{\typosubsection{#1}}% } @@ -300,11 +427,14 @@ Letters={Uppercase} \subsection*{\typosubsubsection{#1}}% } +\newcommand{\podtytulpodutworu}[1]{% +\subsection*{\typosubsubsection{#1}}% +} + \newcommand{\translator}[1]{% \subsection*{\typosubsubsection{tłum. #1}}% } - \newcommand{\powiesc}[1]{#1} \newcommand{\opowiadanie}[1]{#1} \newcommand{\lirykal}[1]{#1} @@ -314,7 +444,9 @@ Letters={Uppercase} \newcommand{\dramatwspolczesny}[1]{#1} \newcommand{\nota}[1]{% -\par{#1}% +\begin{quotation}% +#1% +\end{quotation}% } \newcommand{\dedykacja}[1]{% @@ -365,7 +497,7 @@ Letters={Uppercase} \subsection*{\typosubsection{#1}}% } \newcommand{\naglowekczesc}[1]{% -\pagebreak +%\pagebreak \subsection*{\typosubsection{#1}}% } \newcommand{\srodtytul}[1]{% @@ -467,6 +599,7 @@ Letters={Uppercase} \begin{center}% \par{*}% \end{center}% +\noindent% } \newcommand{\separatorlinia}{% @@ -488,3 +621,11 @@ Letters={Uppercase} \fi } +\newcommand{\ilustr}[2]{ + +\vspace{1em}% +\begin{center}% +\par{\includegraphics[width=\textwidth]{#1}\\#2}% +\end{center}% +\vspace{1em}% +}