1 % -*- coding: utf-8 -*-
3 \usepackage[MeX]{polski}
5 \usepackage[xetex]{graphicx}
10 \usepackage[overload]{textcase}
12 \usepackage[colorlinks=true,linkcolor=black,urlcolor=black]{hyperref}
16 UprightFont = JunicodeWL-Regular,
17 ItalicFont = JunicodeWL-Italic,
18 BoldFont = JunicodeWL-Regular,
19 BoldItalicFont = JunicodeWL-Italic,
20 SmallCapsFont = JunicodeWL-Regular,
21 SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}},
28 SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}},
37 {Size={-10}, FakeStretch=1.02, LetterSpace=2.0 },
38 {Size={10.5-12}, FakeStretch=2.00, LetterSpace=0.0 },
39 {Size={12-}, FakeStretch=0.98, LetterSpace=-2.0 }
43 \renewcommand{\textsc}[1]{%
46 {Size={-10}, Scale=1.2, FakeStretch=1.02, LetterSpace=8.0 },
47 {Size={10.5-12}, Scale=1.2, FakeStretch=1.02, LetterSpace=8.0 },
48 {Size={12-}, FakeStretch=1.0, LetterSpace=8.0 }
50 Letters={SmallCaps,UppercaseSmallCaps}
55 %{\itshape JunicodeWL-Italic.ttf }
56 %{\bfseries Junicode-Bold.ttf }
57 %{\bfseries\itshape Junicode-BoldItalic.ttf }
64 % bottom figure below footnotes
69 \definecolor{theme}{gray}{.3}
71 \setlength{\marginparsep}{2em}
72 \setlength{\marginparwidth}{8.5em}
73 \setlength{\oddsidemargin}{0pt}
74 \setlength{\voffset}{0pt}
75 \setlength{\topmargin}{0pt}
76 \setlength{\headheight}{0pt}
77 \setlength{\headsep}{0pt}
78 \setlength{\textheight}{24cm}
82 \renewcommand{\headrulewidth}{0pt}
83 \renewcommand{\footrulewidth}{0pt}
84 \lfoot{{\footnotesize \textsc{\@author} \emph{\@title}}}
86 \rfoot{{\footnotesize \thepage}}
92 % see http://osdir.com/ml/tex.xetex/2005-10/msg00003.html
93 \newsavebox{\ximagebox}\newlength{\ximageheight}
94 \newsavebox{\xglyphbox}\newlength{\xglyphheight}
96 {\savebox{\ximagebox}{#1}\settoheight{\ximageheight}{\usebox {\ximagebox}}%
97 \savebox{\xglyphbox}{\char32}\settoheight{\xglyphheight}{\usebox {\xglyphbox}}%
98 \raisebox{\ximageheight}[0pt][0pt]{%\raisebox{-\xglyphheight}[0pt] [0pt]{%
99 \makebox[0pt][l]{\usebox{\xglyphbox}}}%}%
101 \raisebox{0pt}[0pt][0pt]{\makebox[0pt][r]{\usebox{\xglyphbox}}}}
104 \renewcommand{\maketitle}{
106 \thispagestyle{empty}
110 \noindent \begin{minipage}[t]{.35\textwidth}\vspace{0pt}
111 \href{http://www.wolnelektury.pl}{\xbox{\includegraphics[width=\textwidth]{wl-logo.png}}}
113 \begin{minipage}[t]{.65\textwidth}\vspace{0pt}
115 \href{\bookurl}{Ta lektura}, podobnie jak tysiące innych, jest dostępna on-line na stronie
116 \href{http://www.wolnelektury.pl/}{wolnelektury.pl}.
119 Utwór opracowany został w ramach projektu \href{http://www.wolnelektury.pl/}{Wolne Lektury}
120 przez \href{http://nowoczesnapolska.org.pl}{fundację Nowoczesna Polska}.
123 \noindent \rule{\linewidth}{0.4pt}
130 \newcommand{\editorialsection}{
135 \noindent \rule{\linewidth}{0.4pt}
153 \newcommand{\typosubsubsection}[1]{%
157 \newcommand{\typosubsection}[1]{%
160 {Size={-10}, Scale=1.2, FakeStretch=1.00, LetterSpace=8.0 },
161 {Size={10.5-12}, Scale=1.2, FakeStretch=1.00, LetterSpace=8.0 },
162 {Size={12-}, FakeStretch=1.0, LetterSpace=8.0 }
169 \newcommand{\typosection}[1]{%
170 {\addfontfeature{FakeStretch=0.96, LetterSpace=-4.0}\emph{\scalefont{2}#1}}
171 %{\addfontfeature{Scale=2.0, FakeStretch=0.98, LetterSpace=-2.0}\emph{#1}}
175 \newcommand{\tytul}[1]{%
180 \newcommand{\nazwapodutworu}[1]{%
181 \section*{\typosection{#1}}%
184 \newcommand{\autorutworu}[1]{%
185 \subsection*{\typosubsection{#1}}%
188 \newcommand{\dzielonadrzedne}[1]{%
189 \subsection*{\typosubsubsection{#1}}%
192 \newcommand{\nazwautworu}[1]{%
193 \section*{\typosection{#1}}%
196 \newcommand{\podtytul}[1]{%
197 \subsection*{\typosubsubsection{#1}}%
200 \newcommand{\translator}[1]{%
201 \subsection*{\typosubsubsection{tłum. #1}}%
205 \newcommand{\powiesc}[1]{#1}
206 \newcommand{\opowiadanie}[1]{#1}
207 \newcommand{\lirykal}[1]{#1}
208 \newcommand{\lirykalp}[1]{#1}
209 \newcommand{\dramatwierszowanyl}[1]{#1}
210 \newcommand{\dramatwierszowanylp}[1]{#1}
211 \newcommand{\dramatwspolczesny}[1]{#1}
213 \newcommand{\nota}[1]{%
217 \newcommand{\dedykacja}[1]{%
225 \newcommand{\dlugicytat}[1]{%
231 \newcommand{\poezjacyt}[1]{%
236 \newcommand{\motto}[1]{%
241 \newcommand{\listaosob}[2]{%
248 \newcommand{\nagloweklisty}[1]{%
249 \typosubsubsection{#1}%
252 \newcommand{\listaosoba}[1]{%
256 \newcommand{\kwestia}[1]{%
260 \newcommand{\naglowekakt}[1]{%
262 \subsection*{\typosubsection{#1}}%
264 \newcommand{\naglowekczesc}[1]{%
266 \subsection*{\typosubsection{#1}}%
268 \newcommand{\srodtytul}[1]{%
269 \subsection*{\typosubsection{#1}}%
272 \newcommand{\naglowekscena}[1]{%
273 \subsubsection*{\typosubsubsection{#1}}%
275 \newcommand{\naglowekrozdzial}[1]{%
276 \subsubsection*{\typosubsubsection{#1}}%
279 \newcommand{\naglowekosoba}[1]{%
280 \par{\textsc{#1}}\nopagebreak%
282 \newcommand{\naglowekpodrozdzial}[1]{%
283 \par{#1}\nopagebreak%
286 \newcommand{\miejsceczas}[1]{%
289 \newcommand{\didaskalia}[1]{%
293 \newcommand{\akap}[1]{%
296 \newcommand{\akapdialog}[1]{%
299 \newcommand{\akapcd}[1]{%
303 \newcommand{\mottopodpis}[1]{%
311 \newcommand{\strofa}[1]{%
312 \par{\noindent{\ignorespaces#1\vspace{1em}}}%
315 \newcommand{\wers}[1]{#1}
317 \newcommand{\wersakap}[1]{%
320 \newcommand{\werscd}[1]{%
323 \newcommand{\werswciety}[2][1em]{%
328 \newcommand{\pa}[1]{\NoCaseChange{\footnote{#1}}}
329 \newcommand{\pe}[1]{\NoCaseChange{\footnote{#1}}}
330 \newcommand{\pr}[1]{\NoCaseChange{\footnote{#1}}}
331 \newcommand{\pt}[1]{\NoCaseChange{\footnote{#1}}}
333 \newcommand{\mat}[1]{$#1$}
335 \newcommand{\didasktekst}[1]{%
338 \newcommand{\slowoobce}[1]{%
341 \newcommand{\tytuldziela}[1]{%
344 \newcommand{\wyroznienie}[1]{%
348 \newcommand{\osoba}[1]{%
352 \newcommand{\sekcjaswiatlo}{%
356 \newcommand{\sekcjaasterysk}{%
363 \newcommand{\separatorlinia}{%
369 \newcommand{\motyw}[2][0]{%
373 \vspace{-#1\baselineskip}%
374 \raggedright{\hspace{0pt}%
375 \footnotesize{\color{theme}{#2}}}%
376 \vspace{\baselineskip}%