Thank you, Stefan (once again)
do you use the fontenc package?
Not yet
Or you had a situation, where you specified T1 encoding but did not have the T1 font installed, so another font would have been used as replacement. If you then install the T1 supporting font package, the font may slightly seem to change by that.
There's nothing specifying fonts within the code, only the usual \textsl, \upshape, \emph, etc.
You said you changed book.sty? Do you mean book.cls? I would never change a class file or an external package...
I have a 'main' document called book.tex, and my own style file called plbook.sty (sorry, mistyped before):
book.tex:
Code: Select all
%book.tex
%\documentclass[11pt,a5paper,draft]{book}
\documentclass[11pt,a5paper]{book}
%\usepackage[a5paper]{geometry}
\usepackage{graphicx} % to include postscript graphics
\usepackage{wrapfig} % to allow wrapping of text around figures
\usepackage{color}
\usepackage{titlesec}
\usepackage[utf8]{inputenc} %for UTF8 characters (see plbook.sty)
\usepackage{textcomp}
\usepackage{threeparttable} % to allow for tables with local footnotes
\usepackage{hanging} % for paragraphs with hanging first line (in tables)
\usepackage{xfrac} % for very nice fractions
\usepackage{caption} % just to get rid of the caption colon
\usepackage{sidecap} % to allow side captions on figures
\usepackage{booktabs} % for publication quality tables
\usepackage[a5paper,inner=0.65in,outer=0.35in,top=0.6in,bottom=0.6in]{geometry}
\usepackage{plbook} %Style file specifically for this book
\let\endtitlepage\relax
\begin{document}
\include{titlepage}
\maketitle
\frontmatter
\nocite{*} % print bibliography entry for all items in database regardless of citation
\include{pubInfo}
\tableofcontents
\textcolor{capcol}{\listoffigures}
%\include{preface}
\include{foreword}
\include{acknowledgements}
\include{introduction}
\mainmatter
\include{chap01}
\include{chap02}
\include{chap03}
\include{chap04}
\include{chap05}
\include{chap06}
\include{chap07}
\include{chap08}
\include{chap09}
\include{chap10}
\include{chap11}
\include{chap12}
\include{appendix}
\backmatter
\bibliography{Bibliography}{}
\bibliographystyle{unsrt}
%\include{aboutTheAuthor}
\end{document} ********End of book.tex
plbook.sty:
Code: Select all
% Style for PL Book
% plbook.sty
% included as usepackage in book.tex
% Separate paragraphs with a top margin rather than an indent
\setlength{\parskip}{\bigskipamount}
\setlength{\parindent}{0pt}
%\setlength{\topmargin}{-0.8in}
\setlength{\headheight}{0.2in}
\setlength{\headsep}{0.3in}
\setlength{\topskip}{0in}
%\setlength{\textheight}{7in}
\setlength{\footskip}{0.35in}
\setlength{\footnotesep}{0.2in}
\clubpenalty=10000
\widowpenalty=10000
% ============
% To make special coloured captions for images, etc.
\definecolor{capcol}{rgb}{0,0,0.5}
\captionsetup{labelsep=space}
\renewcommand{\figurename}{\textcolor{capcol}{Fig.}}
\renewcommand\thefigure{\textcolor{capcol}{\arabic{chapter}.\arabic{figure}}}
% fancy figure captions
\newcommand{\capf}[2][ ] % optional argument #1 has null default value
{\vspace{0.6ex}\caption[#1]{\slshape \textcolor{capcol}{#2}}}
% ============
% For quoted speech, etc (to match blockquote below)
\newcommand{\qt}[1]{``{\slshape #1}''}
% Short form for superscript
\newcommand{\tss}[1]{\textsuperscript{#1}}
% slanted block quote (to match qt above)
\newenvironment{blockquote}%
{\begin{quote}\slshape}%
{\upshape\end{quote}}
% blockquote attribution to be included INSIDE the blockquote environment
\newcommand{\attrib}[1]{\vspace{1ex} \hfill \upshape #1}
% bold headings
\newcommand{\bh}[1]{\textbf{\large #1}\\[0.8ex]}
% verse
\newcommand{\vs}[1]{\vspace{1ex}\hspace{3em}\parbox[t]{26em}{\textsl{#1}}}
% From package titlesec
%\titlespacing*{ command }{ left }{ beforesep }{ aftersep }[ right ]
%\titlespacing{\chapter}{0}{-20pt}{0}
%\titleformat{ command }[ shape ]{ format }{ label }{ sep }{ before }[ after ]
\hyphenation{Debian high-falutin}
I do now have, didn't notice it before, a font warning:
Code: Select all
LaTeX Font Warning: Size substitutions with differences
(Font) up to 0.41675pt have occurred.