-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helvetica/Arial #12
Comments
That particular guideline is not a good guideline: using a sans-serif typeface for body text of a long document is stylistically highly questionable. I think it used to recommend Times New Roman; I wonder if the branding people in OVPR got to it. (In any case, I used a typeface called Utopia for mine.) Cf. Serif vs. Sans for Text in Print Having said that, you can use Helvetica if you want: add the snippet below anywhere in The extra step you have to do is set the sans-serif family as the default: just loading the % Loads a scaled version of the Helvetica font
\usepackage{helvet}
% Sets the sans-serif family as the default family
\renewcommand{\familydefault}{\sfdefault} If you really want to use Arial specifically, you'll have to be using LuaLaTeX or XeLaTeX for your build command, because these provide support for native system fonts instead of LaTeX's own format. Then, instead of the snippet above, add the one below to \usepackage{fontspec}
\setmainfont{Arial} |
Thank you for such an informative answer. I will certainly think twice about whether to follow this guidelines. The only thing which the above snippet doesn't seem to change is the page headers. Any suggestions? |
Ah, looks like the class file switches explicitly to the serif (a.k.a. 'Roman') family in headers, here in the file \def \@oddhead{\normalfont \rmfamily \slshape \hfill \rightmark \hfill \thepage}%
\def \@evenhead{\normalfont \rmfamily \slshape \thepage \hfill \leftmark \hfill}% Change this to: \def \@oddhead{\normalfont \sffamily \slshape \hfill \rightmark \hfill \thepage}%
\def \@evenhead{\normalfont \sffamily \slshape \thepage \hfill \leftmark \hfill}% Oh, and, whatever you end up using, if you keep the Colophon section in the appendices, remember to update it. |
It appears as though excluding the specific call to a family, e.g.
... means that this works for either serif/sans serif. Would it lose anything if the template was updated such?
Good point. Also, there should definitely be a link to the template in the default colophon. |
I thought about just removing it, but I wasn't 100% sure whether it would cause odd results. You wouldn't want to end up with monospaced page numbers because a code sample has been split over multiple pages. |
I bow to your superior judgement and shall leave it be! :) |
Just noticed - the only error I get when I compile is: To my untrained eye, nothing seems to break, and the error goes away, when line 159 of ucl_thesis.cls ( |
The It should be fine, but I'll take a look when I get a chance and update the fonts. (And maybe contact someone over the Arial/Helvetica guideline...) |
The (I'm rather enamored by |
As someone using this lovely template currently, and opting to use Helvetica, I reached the solution somewhat similarly to here. Except I replaced the times import from the cls file with helvet.
This has the added benefit of removing the nag warning :) Hope this helps others in the future. |
If I get around to it, I'll see if I can make it a quickly-settable option for the class. |
Hi! (The template is awesome, thank you so much.)
The guidelines recommend using Arial or Helvetica.
Afraid I'm relatively new to LaTeX and so I'm not sure how to properly implement this.
I tried adding \usepackage{helvet} to MainPackages.tex to no avail.
The text was updated successfully, but these errors were encountered: