0

Can I use another font and another size with those packages? I don't like the way, the font turned out in my document(beamer). It is too big and the distance between lines should be smaller.

\usepackage[utf8]{inputenc}
\usepackage{eurosym}

\usepackage[ngerman]{babel}
\usepackage{csquotes}

\usepackage{lmodern} 

\renewcommand\textbullet{\ensuremath{\bullet}}

% Darstellung -----------------------------------------------------------------
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
  • 1
    Do you want to change the entire text to some standard fonts like Times, Palatino, etc.? – MadyYuvi Sep 3 '19 at 10:52
  • Yes. I want to change the entire text to another font – Carolin Weber Sep 3 '19 at 11:00
  • 2
    Unrelated: amssymb already loads amsfonts so that line is not needed. You may want to have a look at the font catalogue: tug.org/FontCatalogue – daleif Sep 3 '19 at 11:03
  • 1
    Welcome to TeX.SX! Please don't post code fragments. Instead, put your fragments into a complete compilable document that shows the problem. – BambOo Sep 3 '19 at 11:06
  • The main font you have specified is lmodern. This has nothing to do with the AMS fonts; they are only "add-ons" for math. See the FontCatalogue as recommended by @daleif. – barbara beeton Sep 3 '19 at 14:11
1

Below are the updated code to change the font, newtxtext,newtxmath are the packages used for Times font, and newpxtext,newpxmath are the packages for Palatino font, etc. You can change what you like...

\documentclass{book}
\usepackage[utf8]{inputenc}
\usepackage{eurosym}

\usepackage[ngerman]{babel}
\usepackage{csquotes}

\usepackage{lmodern} 

\usepackage{newtxtext,newtxmath}

\renewcommand\textbullet{\ensuremath{\bullet}}

% Darstellung -----------------------------------------------------------------
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}

\begin{document}

This is for test

\end{document}
  • So the font actually changed! But it is way to thick and big. How can I change that? – Carolin Weber Sep 3 '19 at 11:23
  • @CarolinWeber Sorry, may I know what you meant for thick and big? – MadyYuvi Sep 3 '19 at 11:26
  • So I wish, that the size of the font would be a little bit smaller. Because my slides look very full.. (or maybe there is a font which is more useful for a cleaner look on slides?) – Carolin Weber Sep 3 '19 at 11:31
  • Standard font size starts from 10pt to 12pt, if you want to decrease still, you can... – MadyYuvi Sep 3 '19 at 11:39
  • So how can I decrease the entire size of the font? – Carolin Weber Sep 3 '19 at 11:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.