Skip to content

Commit

Permalink
Corrected cmbright documentation
Browse files Browse the repository at this point in the history
Fixes #18
  • Loading branch information
Foggalong committed Aug 30, 2024
1 parent cadaa08 commit 5e061eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/edmaths-docs.tex
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ \subsection{Fonts}

Using \key{fourier} provides much improved typography by activating the \pkg{fourier} font package (based on Adobe's Utopia family) along with the \pkg{cmap} and \pkg{microtype} packages. All these dependencies must be met to use this option.

While it's not typically enforced, strictly speaking the thesis guidelines require a sans serif font. If you do want to use one though, \key{cmbright} sets the font to \href{https://tug.org/FontCatalogue/computermodernbright/}{Computer Modern Bright}. This requires the \pkg{cmbright}, \pkg{cmap}, \pkg{microtype}, and \pkg{fontenc}. The latter necessitates using \href{https://xetex.sourceforge.net/}{XeTeX} or \href{https://www.luatex.org}{LuaTeX} to compile.
Strictly speaking the thesis guidelines require a sans serif font, though it's not typically enforced for mathematics. However, if you do want to use one, \key{cmbright} sets the font to \href{https://tug.org/FontCatalogue/computermodernbright/}{Computer Modern Bright}. This requires the \pkg{cmbright}, \pkg{cmap}, \pkg{microtype}, and \pkg{fontenc} packages.

\subsection{Links}

Expand Down
2 changes: 1 addition & 1 deletion edmaths.sty
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@

% If with-cmbright selected, use the (sans-serif) Computer Modern Bright font.
\ifthenelse{\boolean{with-cmbright}}{
% NOTE must be compiled with xelatex or luatex
% NOTE if it doesn't compile, make sure you have CM Bright installed!
\RequirePackage{cmap}
\RequirePackage{cmbright}
\RequirePackage[T1]{fontenc}
Expand Down

0 comments on commit 5e061eb

Please sign in to comment.