Questions tagged [fontsize]
{fontsize} is about selecting a document's standard font size (with class options like 12pt), changing relative font sizes within a document (with macros like \small or \large), and defining or modifying {macros} related to font sizes.
443
questions
10
votes
2
answers
2k
views
Scrbook: Using fallback calculation to setup font sizes
When using the class scrbook and customizing the font size prior the usage of \printbibliography I got these warning (and in big documents I got them several times):
Class scrbook Warning: Using ...
179
votes
4
answers
382k
views
Adjusting font size with TikZ picture
Taking from the PGF manual,
\begin{tikzpicture}
\draw [help lines] (0,0) grid (3,3);
\coordinate (a) at (rnd,rnd);
\coordinate (b) at (3-rnd,3-rnd);
\draw (a) -- (b);
\node (c) at (1,2) {x};...
77
votes
2
answers
474k
views
How to set document font to times new roman by command
I wanted to know how to set font of a document to Times New Roman and size to 12 for text and for Chapter Heading 14 only, for the whole document. I don't want to use the fontspec package for this. ...
46
votes
1
answer
12k
views
Change font size relative to current font size
For some small macros I'm writing I would need to change the font size relative to the font size of the text that surrounds to macro later on.
I only know how to change the font size for the whole ...
36
votes
3
answers
42k
views
Reduce font size of bibliography; overfull bibliography
I am using Biber (backend of biblatex) to make the bibliography. I have two questions about the bibliography.
I want to use a reduced font ONLY for the bibliography (not the citation in the text, ...
15
votes
2
answers
4k
views
Fitting text into a box over-a-pic
I am trying to fit a text into a box within an overpic environment. kongo09 had a similar question fit-text-into-given-box-by-adjusting-the-fontsize, and a highly workable solution was provided by ...
9
votes
3
answers
1k
views
Defining a Length that Scales with Fontsize Changes
I noticed a behavior regarding lengths under fonstsize changes, which I'm hoping there is a way to circumvent. Consider this MWE:
\documentclass{article}
\begin{document}
\newlength\mylength
\...
69
votes
3
answers
59k
views
What is the default font size of a LaTeX document?
What is the default font size of a LaTeX document?
63
votes
1
answer
337k
views
How to change section/subsection font size? [duplicate]
I'm writing a paper that requires the section titles to be in 12pt font, I can get the title to be in 12pt using:
\section{\fontsize{12}{15}\selectfont Introduction}
but the section number does not ...
32
votes
3
answers
1k
views
Do fontsize environments exist?
Without any doubt there are fontsize switches in the form of control sequences (described here for instance.) But, from time to time I ran into code examples where environment versions of those were ...
19
votes
1
answer
22k
views
How to change the font size only in one column of a table/tabular?
Is there any way to reduce the font size in a table/tabular but only in one of its columns without repeating the size command in each cell of that column?
Thanks.
3
votes
1
answer
317
views
What is the behaviour of \fontsize if baselineskip is below a certain value?
during my optimization process I found something spurious I cannot explain to myself and which I would like to understand. So with \fontsize you set the fontsize and the baselineskip. However the ...
26
votes
5
answers
20k
views
How to scale all fonts (in the whole document) by certain factor or percentage?
Is there a way to scale the font size of all text in a LaTeX document by a certain factor, something like \scalealltext{factor=0.95}?
Edit: Text should reflow, so as to fit (a bit) more text on a ...
21
votes
1
answer
5k
views
Determine height and depth of letters relative to the font size
I would like to scale graphical elements (like images, tikz and tikz-timing diagrams) relative to the font size, so that they have the same height as an normal uppercase letter (i.e. X or M; I noticed ...
17
votes
3
answers
103k
views
Larger font size in math display equation environment?
Consider the following MWE:
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath}
\usepackage{graphicx} % \scalebox
% defaults seem to be: pslatex.sty:103: \DeclareMathSizes{12}{12}{9}{7}
% NB: ...