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}
114 Na podstawie: \sourceinfo
118 Wersja lektury on-line dostępna jest \href{\bookurl}{na stronie wolnelektury.pl}.
126 \noindent \rule{\linewidth}{0.4pt}
134 % \noindent \rule{\linewidth}{0.4pt}
136 % Szkolna biblioteka internetowa Wolne Lektury tworzona jest dzięki pracy Wolontariuszy, ale to osoby
137 % zatrudnione w~FNP będą musiały wymyślić, co powinno zostać napisane w~tym miejscu. Można zupełnie usunąć
138 % tę sekcję, ale autor konwertera chciał się popisać, że umie coś takiego zrobić.
144 \newcommand{\typosubsubsection}[1]{%
148 \newcommand{\typosubsection}[1]{%
151 {Size={-10}, Scale=1.2, FakeStretch=1.00, LetterSpace=8.0 },
152 {Size={10.5-12}, Scale=1.2, FakeStretch=1.00, LetterSpace=8.0 },
153 {Size={12-}, FakeStretch=1.0, LetterSpace=8.0 }
160 \newcommand{\typosection}[1]{%
161 {\addfontfeature{FakeStretch=0.96, LetterSpace=-4.0}\emph{\scalefont{2}#1}}
162 %{\addfontfeature{Scale=2.0, FakeStretch=0.98, LetterSpace=-2.0}\emph{#1}}
165 \newcommand{\nazwapodutworu}[1]{%
166 \section*{\typosection{#1}}%
169 \newcommand{\autorutworu}[1]{%
170 \subsection*{\typosubsection{#1}}%
173 \newcommand{\nazwautworu}[1]{%
174 \section*{\typosection{#1}}%
177 \newcommand{\podtytul}[1]{%
178 \subsection*{\typosubsection{#1}}%
181 \newcommand{\powiesc}[1]{#1}
182 \newcommand{\opowiadanie}[1]{#1}
183 \newcommand{\lirykal}[1]{#1}
184 \newcommand{\lirykalp}[1]{#1}
185 \newcommand{\dramatwierszowanyl}[1]{#1}
186 \newcommand{\dramatwierszowanylp}[1]{#1}
187 \newcommand{\dramatwspolczesny}[1]{#1}
189 \newcommand{\nota}[1]{%
193 \newcommand{\dedykacja}[1]{%
201 \newcommand{\dlugicytat}[1]{%
207 \newcommand{\poezjacyt}[1]{%
212 \newcommand{\motto}[1]{%
217 \newcommand{\listaosob}[2]{%
224 \newcommand{\nagloweklisty}[1]{%
225 \typosubsubsection{#1}%
228 \newcommand{\listaosoba}[1]{%
232 \newcommand{\kwestia}[1]{%
236 \newcommand{\naglowekakt}[1]{%
238 \subsection*{\typosubsection{#1}}%
240 \newcommand{\naglowekczesc}[1]{%
242 \subsection*{\typosubsection{#1}}%
244 \newcommand{\srodtytul}[1]{%
245 \subsection*{\typosubsection{#1}}%
248 \newcommand{\naglowekscena}[1]{%
249 \subsubsection*{\typosubsubsection{#1}}%
251 \newcommand{\naglowekrozdzial}[1]{%
252 \subsubsection*{\typosubsubsection{#1}}%
255 \newcommand{\naglowekosoba}[1]{%
256 \par{\textsc{#1}}\nopagebreak%
258 \newcommand{\naglowekpodrozdzial}[1]{%
259 \par{#1}\nopagebreak%
262 \newcommand{\miejsceczas}[1]{%
265 \newcommand{\didaskalia}[1]{%
269 \newcommand{\akap}[1]{%
272 \newcommand{\akapdialog}[1]{%
275 \newcommand{\akapcd}[1]{%
279 \newcommand{\mottopodpis}[1]{%
287 \newcommand{\strofa}[1]{%
288 \par{\noindent{\ignorespaces#1\vspace{1em}}}%
291 \newcommand{\wers}[1]{#1}
293 \newcommand{\wersakap}[1]{%
296 \newcommand{\werscd}[1]{%
299 \newcommand{\werswciety}[2][1em]{%
304 \newcommand{\pa}[1]{\NoCaseChange{\footnote{#1}}}
305 \newcommand{\pe}[1]{\NoCaseChange{\footnote{#1}}}
306 \newcommand{\pr}[1]{\NoCaseChange{\footnote{#1}}}
307 \newcommand{\pt}[1]{\NoCaseChange{\footnote{#1}}}
309 \newcommand{\mat}[1]{$#1$}
311 \newcommand{\didasktekst}[1]{%
314 \newcommand{\slowoobce}[1]{%
317 \newcommand{\tytuldziela}[1]{%
320 \newcommand{\wyroznienie}[1]{%
324 \newcommand{\osoba}[1]{%
328 \newcommand{\sekcjaswiatlo}{%
332 \newcommand{\sekcjaasterysk}{%
339 \newcommand{\separatorlinia}{%
345 \newcommand{\motyw}[2][0]{%
349 \vspace{-#1\baselineskip}%
350 \raggedright{\hspace{0pt}%
351 \footnotesize{\color{theme}{#2}}}%
352 \vspace{\baselineskip}%