fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
option handling in book2pdf, ilustrations, <latex> verbatim tag
[librarian.git]
/
librarian
/
pdf
/
wlpub.cls
diff --git
a/librarian/pdf/wlpub.cls
b/librarian/pdf/wlpub.cls
index
05f2aba
..
d5154e1
100644
(file)
--- a/
librarian/pdf/wlpub.cls
+++ b/
librarian/pdf/wlpub.cls
@@
-94,6
+94,7
@@
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
+\usepackage{trimspaces}
\usepackage[overload]{textcase}
\usepackage{scalefnt}
\usepackage[overload]{textcase}
\usepackage{scalefnt}
@@
-190,6
+191,8
@@
Mapping=tex-text
\parindent 1em\noindent \hb@xt@ 1.8em{\hss \@makefnmark \enskip}#1.
}
\parindent 1em\noindent \hb@xt@ 1.8em{\hss \@makefnmark \enskip}#1.
}
+\def\trimspace#1{\trim@spaces{#1}}
+
\makeatother
\makeatother
@@
-635,6
+638,15
@@
Mapping=tex-text
\vspace{10pt}%
}
\vspace{10pt}%
}
+\newcommand{\ilustr}[2]{
+ \vspace{1em}%
+ \begin{center}%
+ \par{\includegraphics[width=\textwidth]{\trimspace{#1}}\\#2}%
+ \end{center}%
+ \vspace{1em}%
+}
+
+
\newcommand{\motyw}[2][0]{%
\ifshowthemes
\mbox{}%
\newcommand{\motyw}[2][0]{%
\ifshowthemes
\mbox{}%