50
votes
Accepted
Understanding line height / line spacing / baselineskip in LaTeX
Your first assumption and picture of \baselineskip were correct, but
Consequently I assumed setting \baselineskip equal to font size should result in lines "touching" each other
Is wrong for two ...
37
votes
Accepted
How are fonts "stored" on LaTeX?
You may be even more shocked to learn that LaTeX knows very little about the fonts it uses for typesetting documents.
In order to typeset a document, TeX only needs to have information about the ...
36
votes
Accepted
What is the local height of a capital letter?
The value of 1em is not necessarily the width of any capital letter (its name refers to the width of a capital M, but it's not necessarily so and the value is basically the font designer's decision).
...
32
votes
Accepted
What is the second value in \fontsize for?
The two arguments for \fontsize{<size>}{<bskip>} sets respectively the font size and the baseline skip. After setting, you have to \selectfont for the parameters to become active, making ...
31
votes
28
votes
With BibLatex, how do I make the fontsize of the bibliography smaller?
If you want to change the font size for all bibliographies in your document it is preferable to redefine \bibfont instead of hooking into \AtBeginBibliography.
\renewcommand*{\bibfont}{\normalfont\...
28
votes
Accepted
Different font sizes for Figure and Subfigure Captions
You can use the [sub] optional parameter of \captionsetup, e.g.
\captionsetup{font=normalsize,labelfont={bf,sf}}
\captionsetup[sub]{font=small,labelfont={bf,sf}}
BTW, I would add a \centering in ...
Community wiki
26
votes
Font size of Figure Caption Header
Not sure why but the answer above did not work for me. If that's the case for you, simply declare:
\usepackage{caption}
\captionsetup[figure]{font=small}
For more detail see: Changing Figure ...
26
votes
Accepted
Why does it seem that font sizes are quantized in typography?
You can specify any size that you like, for example
\fontsize{2cm}{2in}\selectfont
for a 2cm font on a 2in baseline.
However some fonts (not many these days) are only available in a fixed set of ...
25
votes
Adjusting font size with TikZ picture
At the top, write
\begin{tikzpicture}[thick,scale=1, every node/.style={scale=1.3}]
\draw [help lines] (0,0) grid (3,3);
\coordinate (a) at (rnd,rnd);
\coordinate (b) at (3-rnd,3-rnd);
\draw (a) -- (...
24
votes
Beamer: Changing the font size of the references using the shrink argument causes an error
I'm not using biblatex and André's answer did not work for me. I managed to achieve the result with the following:
\setbeamerfont{bibliography item}{size=\footnotesize}
\setbeamerfont{bibliography ...
24
votes
Creating a custom font size
using fontsize and selectfont (https://en.wikibooks.org/wiki/LaTeX/Fonts):
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[french]{babel}
...
24
votes
Accepted
Why is \LARGE 20% bigger than \Large and \Large 20% bigger than \large, etc.?
The LaTeX size names are related to the fonts available in the earliest releases and they in turn are related to this comment in the TeXBook:
\danger At many computer centers it has proved ...
22
votes
Accepted
Scrartcl 13.999 point 14.4 point but not 14 point?
KOMA-Script supports several ways to set the font size. First of all, if you want fontsize=<value> it tries to load a font size definition file \@fontsizefilebase<value>.clo. If this is not ...
22
votes
Accepted
Smaller font for subscript within subscript in math mode
For even smaller, you could scale the sub-subscript:
\documentclass{article}
\usepackage{scalerel}
\begin{document}
$a_{b_{\scaleto{c}{1pt}}}$
\end{document}
If you need consistency across a range ...
22
votes
How to set the font size to 11.5pt?
the options 10pt, 11pt and 12pt are not lengths at all they are simply strings used as option names that suggest the size of \normalsize (although 11pt doesn't set \normalsize to 11pt, but 10.95pt)
...
20
votes
Changing font size of selected slides in beamer
Since Gonzalo's answer does not work for nested itemizes, here is a solution redefining the beamer template which solves that.
To make it general I used the environ package, because the normal ...
20
votes
Accepted
How can i change the font size of label of node uniformly in tikz
I am not sure if I understand the question, but every label/.append style={text=red, font=\scriptsize} works for me.
\documentclass[tikz,border=3mm]{standalone}
\begin{document}
\begin{tikzpicture}
...
19
votes
Smaller font for subscript within subscript in math mode
You can use \DeclareMathSizes; declare also other sizes if needed.
\RequirePackage{fix-cm} % arbitrary font scaling
\documentclass{article}
\DeclareMathSizes{10}{10}{7}{4}
\begin{document}
$a_{b_{c}...
18
votes
What is the local height of a capital letter?
The other answers do a great job of explaining how to measure the height of a letter. As egreg added, the terms "em" and "ex" are subject to the interpretation of the font designer and cannot be used ...
18
votes
How to set the font size to 11.5pt?
KOMA-script allows you to specify any size for your main font, so you could use
\documentclass[titlepage, fontsize=11.5pt]{scrartcl}
You would want to select either package fix-cm or lmodern to ...
17
votes
Appearance of \tiny or \scriptsize Fontsize in LaTeX (horizontal stretch)
You should look up what "optical sizing" of fonts entails. (Computer Modern is an example of a font family with optically sized letters at various font sizes.) Letters that are sized optically for \...
17
votes
Why is \LARGE 20% bigger than \Large and \Large 20% bigger than \large, etc.?
The TeXbook describes this choice making a reference to the equal-tempering in musical instruments. Don't forget that Knuth is a musician himself and plays the organ.
The octave is divided in ...
16
votes
Reducing font size in equation
If you want to change the size in the middle of an equation, you can try to change to text mode, change the size, an them retype in equation mode using $$.
Example:
\begin{equation}
A + B = \text{\...
16
votes
Accepted
Problems using lmodern with very small font sizes
It's a problem with lmodern defining the math extension font at a fixed size. See sum symbol in tikzposter too small for the opposite problem.
\documentclass[a4paper, fontsize=6pt]{scrartcl}
\...
16
votes
Scrartcl 13.999 point 14.4 point but not 14 point?
KOMA has two different systems to setup the font sizes:
A (small) number of fontsize options (8pt, 9pt, 10pt, 11pt, 12pt, 14pt 17pt, 20pt) load a scrsizeXX.clo (from KOMA) or (if found) sizeXX.clo (...
16
votes
Accepted
Why do Latex classes often have font size limitations?
Your question shows a misunderstanding, you can have fonts any size you like
\documentclass{article}
\usepackage{lmodern}
\begin{document}
{\fontsize{2pt}{3pt}\selectfont 1}
{\tiny 2}
3
{\Huge 4}
{\...
16
votes
Accepted
Old mathbook's thick font
Fonts in the computer modern family are very light by design, so most other font choices are bolder, but here I have forced the Times-like TeX Gyre Termes and Stix Two Math fonts to be adjusted to be ...
15
votes
How do I change the default font size?
You can change the main font size and the other font sizing commands (as long as the font is scalable) through the fontsize package.
The fontsize package option
The most basic way is to use the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
fontsize × 1955fonts × 294
math-mode × 148
beamer × 119
tables × 107
tikz-pgf × 82
sectioning × 76
line-spacing × 68
scaling × 65
fontspec × 63
xetex × 60
equations × 59
captions × 57
spacing × 53
formatting × 49
table-of-contents × 48
koma-script × 44
header-footer × 39
titles × 38
symbols × 36
memoir × 35
footnotes × 33
chapters × 33
subscripts × 33
margins × 31