DirkRusche / LaTeX

:page_facing_up: LaTeX template for students :mortar_board: at Hochschule Bonn-Rhein-Sieg (HBRS) :school:
1 stars 1 forks source link

serifenlose Schriftart #1

Open polyfeux opened 6 years ago

polyfeux commented 6 years ago

In der packages.sty könnte man folgendes an Zeile 40 einfügen und dann bei Bedarf ein- oder auskommentieren, um eine serifenlose Schriftart zu aktivieren:

% sans-serif bzw. Helvatica nutzen:
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
DirkRusche commented 6 years ago

Was ist in \sfdefault hinterlegt? Oder anders gefragt, welche Schriftart ist standard?

polyfeux commented 6 years ago

Das dürfte die Standardschriftart von LaTeX sein. Also eine Serifen-Schriftart im Stil von "Times New Roman".

DirkRusche commented 6 years ago

Done with commit 9ab764b8dc1eff437d7d069f89ca9232e39c7f72. :relaxed:

Added a switch in the config for it.

polyfeux commented 6 years ago

Thank you for adding the switch in the config. Unfortunately the page numbers of the content passage are still in a serif font.

DirkRusche commented 6 years ago

Are you sure? Looks like, everything is fine.

Here are some screenshots of the page numbers:

Compiled with pdflatex on Linux

Serif

image image

Without Serif

image image

DirkRusche commented 6 years ago

@polyfeux Have you already looked this up? :relaxed:

polyfeux commented 6 years ago

Yeah, it looks good - thanks for asking! :+1:

DirkRusche commented 6 years ago

@polyfeux Okay, ticket can be closed?

polyfeux commented 6 years ago

Yeah - sorry, forgot to include that into the comment.

polyfeux commented 6 years ago

I'm sorry, to comment on this closed issue, but I found for my system (TeXLive + TeXstudio) a solution to display sans-serif page numbers in the content-part and the following pages: The following code needs to be added into the meta.sty-files in the if-clause for sans-serif (just after the "\renewcommand"): \fancyfoot[c]{\sffamily\thepage}

I'd suggest I'll add this in a fork of your project some times later. ;)

DirkRusche commented 6 years ago

So I doesn't work yet? Because you wrote 2 days ago everything looks fine.

polyfeux commented 6 years ago

Yeah, that was because I just had the document with your one-page example.tex. But after I started to fill the literature.tex and the entire document started to grow, I began to see the other page numbers afterwards.

DirkRusche commented 6 years ago

As mentioned here, I couldn't reproduce it.

I will look it up again.