Bläddra i källkod

* Added package dependency: textcomp.

* This fixes the LaTeX warning that was issued when \textbullet (among other
  dingbats/special characters) were used with the Palatino font.
* Thanks to John Owens for his help in tracking this down.


git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@77 516e2f36-ce3a-0410-bea4-1d4a03f5df72
master
Kevin M. Godby 17 år sedan
förälder
incheckning
e38cdaf699
2 ändrade filer med 8 tillägg och 21 borttagningar
  1. Binär
      sample-handout.pdf
  2. +8
    -21
      tufte-common.sty

Binär
sample-handout.pdf Visa fil


+ 8
- 21
tufte-common.sty Visa fil

@@ -659,29 +659,16 @@
{\captionsetup{justification=raggedright}}

%%
% If the Palatino typeface (and its math symbol set) are installed, load
% them unless the `nofonts' class option was provided, or if we're
% compiling with XeLaTeX.
% If we're NOT using XeLaTeX and the `nofonts' class option was NOT provided,
% we should load the Palatino, Helvetica, and Bera Mono fonts (if they are
% installed.)

\ifthenelse{\boolean{@tufte@loadfonts}\AND\NOT\boolean{@tufte@xetex}}{%
\IfFileExists{mathpazo.sty}{%
\RequirePackage[osf,sc]{mathpazo}
}{} % if the Palatino typefaces aren't found, do nothing.
\IfFileExists{helvet.sty}{%
\RequirePackage[scaled=0.95]{helvet}
}{}
}{}


%%
% If the Bera Mono typeface is available, use it unless the `nofonts' class
% option was provided, or if we're compiling with XeLaTeX.

\ifthenelse{\boolean{@tufte@loadfonts}\AND\NOT\boolean{@tufte@xetex}}{%
\IfFileExists{beramono.sty}{%
\RequirePackage[T1]{fontenc}
\RequirePackage[scaled=0.85]{beramono}
}{}
\IfFileExists{mathpazo.sty}{\RequirePackage[osf,sc]{mathpazo}}{}
\IfFileExists{helvet.sty}{\RequirePackage[scaled=0.95]{helvet}}{}
\IfFileExists{beramono.sty}{\RequirePackage[scaled=0.85]{beramono}}{}
\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}
}{}




Laddar…
Avbryt
Spara