From 300b9cd394039a0937b63cd963d1b2f643ea1c49 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 13 Jun 2005 20:25:32 +0000 Subject: Fix image quality (This used to be commit 75faf6c3aeff6716f7a5a10066d7cb960253a58e) --- docs/xslt/expand-sambadoc.xsl | 8 +++++++ docs/xslt/latex/sambadoc.cls | 53 ++++--------------------------------------- 2 files changed, 13 insertions(+), 48 deletions(-) (limited to 'docs/xslt') diff --git a/docs/xslt/expand-sambadoc.xsl b/docs/xslt/expand-sambadoc.xsl index e118a3255b..f10f04b97d 100644 --- a/docs/xslt/expand-sambadoc.xsl +++ b/docs/xslt/expand-sambadoc.xsl @@ -149,6 +149,14 @@ 1 + + latex + + + images/ + + + diff --git a/docs/xslt/latex/sambadoc.cls b/docs/xslt/latex/sambadoc.cls index ca93f8ecc8..912cb5bbed 100644 --- a/docs/xslt/latex/sambadoc.cls +++ b/docs/xslt/latex/sambadoc.cls @@ -18,14 +18,12 @@ %================================================================================ % 1. Page layout dimensions % 3. Define new fonts for headings -% 4. Define LaTeX logos (usually not needed) -% 5. Redefines the way "figure" amd "table" are formated in a \caption -% 6. Defines a \capt macro which defines (1) \captwidth, (2) \captsize +% 4. Redefines the way "figure" amd "table" are formated in a \caption +% 5. Defines a \capt macro which defines (1) \captwidth, (2) \captsize % and \beforetableskip. -% 7. New Environemnts: Eqnarray, reflist, exerlist -% 8. Defines and modifies FANCYHDS.STY for headers and foots -% 9. Change sectioning headings to bold sans serif fonts -%10. Turn off leader dots in Table of Contents +% 6. Defines and modifies FANCYHDS.STY for headers and foots +% 7. Change sectioning headings to bold sans serif fonts +% 8. Turn off leader dots in Table of Contents %====================================================================== %====================== Page Layout @@ -115,43 +113,6 @@ \def\theequation{\thechapter.\arabic{equation}} \@addtoreset{equation}{chapter} - -%===================== New Environments - -%------ Reference List Macro -\newenvironment{reflist}{\begin{list}{}{\leftmargin 1em \labelwidth 0in -\labelsep 0in \itemsep 0ex \rightmargin 0in}}{\end{list}} -\newcommand{\refitem}{\item \hspace*{-1em}} %--- item for ref list -\newcommand{\SC}{\scriptsize} %--- small capitals for reference lists - - -%------ New environment for better spacing in Eqnarray -\def\eqnarray{% - \stepcounter{equation}% - \def\@currentlabel{\p@equation\theequation}% - \global\@eqnswtrue - \m@th - \global\@eqcnt\z@ - \tabskip\@centering - \let\\\@eqncr - $$\everycr{}\halign to\displaywidth\bgroup - \hskip\@centering$\displaystyle\tabskip\z@skip{##}$\@eqnsel - &\global\@eqcnt\@ne\hskip \arraycolsep \hfil${##}$\hfil - &\global\@eqcnt\tw@ \hskip \arraycolsep - $\displaystyle{##}$\hfil\tabskip\@centering - &\global\@eqcnt\thr@@ \hb@xt@\z@\bgroup\hss##\egroup - \tabskip\z@skip - \cr -} - -% The hangitem environment -- like description, but text lines up with -% the item descriptor. You give an additional argument containing text -% of the width that you want indentations. -% -\def\hangitem#1{\list{}{\settowidth\labelwidth{#1} - \leftmargin\labelwidth\advance\leftmargin\labelsep }} -\let\endhangitem\endlist - \RequirePackage{fancyhdr} %------------------- Modify Headers for Prentice-Hall Book Style @@ -184,8 +145,6 @@ \def\chaptersmark#1{\markboth{#1}{#1}} - - %===================== Change Section Heads to Bold Sans Serif % Create bolds sans serif sectioning headings. Also the headings have % been reduced in size with less space before and after the heading. @@ -380,5 +339,3 @@ page \thepage \space undefined}}% \renewcommand{\textfraction}{0.1} \renewcommand{\topfraction}{1.0} \renewcommand{\bottomfraction}{1.0} - -% -- cgit