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}
5
  • 1
    Do you want to change the entire text to some standard fonts like Times, Palatino, etc.?
    – MadyYuvi
    Commented Sep 3, 2019 at 10:52
  • Yes. I want to change the entire text to another font Commented Sep 3, 2019 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
    Commented Sep 3, 2019 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
    Commented Sep 3, 2019 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. Commented Sep 3, 2019 at 14:11

1 Answer 1

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}
10
  • So the font actually changed! But it is way to thick and big. How can I change that? Commented Sep 3, 2019 at 11:23
  • @CarolinWeber Sorry, may I know what you meant for thick and big?
    – MadyYuvi
    Commented Sep 3, 2019 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?) Commented Sep 3, 2019 at 11:31
  • Standard font size starts from 10pt to 12pt, if you want to decrease still, you can...
    – MadyYuvi
    Commented Sep 3, 2019 at 11:39
  • So how can I decrease the entire size of the font? Commented Sep 3, 2019 at 11:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .