{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.

learn more… | top users | synonyms

46
votes
6answers
22k views

How to specify font size less than 10pt (or more than 12pt)?

I'm trying to make a document that has a very small font throughout, I tried this: \documentclass[0.5mm, a4paper]{article} \documentclass[7pt, a4paper]{article} But it doesn't seem that they allow ...
82
votes
3answers
89k views

What point (pt) font size are \Large etc.?

In the preamble I have: \documentclass[a4paper,11pt]{article} \usepackage{fontspec} \setmainfont{Arial} What can be inferred about the real font pt size for the following? \tiny, \scriptsize, ...
34
votes
2answers
26k views

How to set the font for a \section title (and chapter etc)

How do I specify the fonts, and general font size, for the titles, chapters and sections in my document Update: I can see how my question is confusing. I use \section and \chapter etc. to organise ...
30
votes
4answers
2k views

Fit text into given box by adjusting the fontsize

I would like to fit text (potentially several paragraphs) into a box of given size. This should be done by adjusting the fontsize of the contained text. Clarification edit: The given dimensions are ...
13
votes
1answer
2k views

Inconsistent line spacing

If I type something like this: {\itshape\LARGE Dunt venim dolorerosto do odit ametum vulla conum dolore conulput in vero od el Dunt venim dolorerosto do odit ametum vulla conum dolore ...
20
votes
3answers
10k views

Setting a document in MS Word-12pt (12bp)

Warning If you're looking for advice how to make your document look like it's been written in Word, this is most likely not the question you're looking for. This question is mostly of theoretical ...
11
votes
2answers
3k views

Switching to different font size(s) locally

Inside a 12pt document I like to switch in an environment to a font size of 10pt. The macros like \normalsize, \large, \small etc. should all work like in a 10pt document. I'm aware that this isn't ...
8
votes
0answers
4k views

Making default font size 16pt [duplicate]

I want to write a document which has the default font size as 16pt. But I believe \documentclass[a4paper,16pt]{report} will not do it. What will be the correct way to make the default font size as 16 ...
34
votes
2answers
45k views

LaTeX — specify font point size?

I want to use a font size other than the standard LaTeX list of tiny, huge, etc. How can I do that?
15
votes
2answers
2k 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 ...
55
votes
4answers
47k views

How to change font size for bibliography?

I want to use a smaller font size for the bibliography, e.g., \footnotesize. What is the easiest way to achieve this? I currently do \renewenvironment{thebibliography}... and copy the definition from ...
19
votes
4answers
24k views

Reducing font size in equation

I wanted to type an equation in LaTeX. But it is too long to fit into one line. It involves big arrays with many columns so I cannot split it. I wanted to reduce the font size so that it can fit in ...
29
votes
4answers
48k views

Change size of section, subsection, subsubsection, paragraph and subparagraph title

I would like to increase the size of pretty much every headlines, so that it is more prominent than the normal text. I read about the titlesec package, but can't seem to find good example how to use ...
36
votes
4answers
60k views

How can I change the font size in math equations?

I find that whenever I'm typing some equations into a document, and the equation gets a bit complex (let's say a fraction in a parentheses, squared, inside a square root, inside a fraction), the ...
48
votes
2answers
59k views

Changing the font size in a table

What's the recommend way of changing the font size in a particular table? Is there a better way than enclosing all values with, for example, the \tiny function.
23
votes
3answers
9k views

How to use \Large and its variants

I came across a German LaTeX page and found instructions like: \Large{bit bigger} {\Large a bit bigger} \begin{Large} ... \end{Large} Is it true that all three are "correct"? I only remember the ...
10
votes
2answers
6k views

How to make math font huge

I would like to typeset a simple-to-medium-difficulty math formula on an A4/letter paper. It needs to be huge and preferably centered and portrait. I can take care of the paper size, the orientation ...
6
votes
2answers
640 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 ...
6
votes
1answer
545 views

fancyhdr plus fontsize 12pt causes varying vertical alignment of sections

Looking at the example provided in Different headers for different chapters, I noticed something strange: The vertical alignment of sections is varying. I was able to strip the effect down to the ...
4
votes
1answer
282 views

Incorrect line spacing when using \Large in a center environment

When I enclose text with line breaks within a center environment, there is extra space after the first line, but only if the font size has been changed. The following working example prints the same ...
4
votes
2answers
6k views

Beamerposter scale parameter, text font size and title font size

I want to create a poster with beamerposter with pagesize 240cm (width) x 120cm (height) with two columns. Will the following line of code produce what I need? ...
9
votes
2answers
1k views

Adjust font size on-the-fly

In my document I want to emphasize some key points by placing them in a box with rounded corners. This I do using the following code: \documentclass{report} \usepackage{fancybox} \begin{document} ...
72
votes
8answers
37k views

Fonts larger than \Huge?

How can I make text that is larger than the size of the output of {\Huge ...}? I would like to be able to make text arbitrarily large (even if that is done by some suboptimal scaling routine).
24
votes
3answers
4k views

Best ratios of number of letters per line and of number of lines per page

I am actually writing a master thesis in LaTeX but I didn't really like the default page style of the document style book. Therefore I tried to make my own page style and I resized manually the ...
17
votes
1answer
3k views

How to specify an arbitrary (possibly non-integer) font size in LaTeX

I may be wrong, but it seems to me that I cannot obtain non-integer (or non-preloaded) font sizes (say, 9.876pt) using \fontsize. If this is true, how do I do this in LaTeX? Do I have to resort to ...
9
votes
3answers
29k views

How to make math symbols bigger?

Is there a way to make math symbols bigger? Reason: I've used \sfrac{q}{m}, and those symbols appear far to small, so I would like to make them a bit bigger. edit: I just thought that \sfrac{q}{m} ...
14
votes
1answer
2k 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 ...
8
votes
1answer
2k views

set fontsize for TikZ figure

I have made many figures with tikz and want to include them in a template. Unfortunately I used ex as a measure and the template I have to use redefines the font size. THis leads to wrong distances in ...
4
votes
1answer
1k views

What is the recommended font to use for a statistical table in an academic journal?

I am brand new to LaTex, and I am trying to create a report displaying statistical data, for an academic publication. The table is quite a large one, consisting of several nested columns, and is 23 ...
2
votes
2answers
5k views

\mathcal(O) and font size

I use the following mystic TeX so as to display the Landau's notations for big and small O. There is one partial solution to improve the scriptscriptstyle so as to not use a small o : see the secund ...
14
votes
2answers
2k views

Equations, change the font size

How do I change the font size of something like this: I want to increase the font but it always seems to remain the same. \documentclass[30pt]{article} \DeclareMathSizes{20}{20}{20}{20} ...
4
votes
1answer
1k 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.
4
votes
1answer
1k views

xfrac + siunitx gives me a font warning

I'm using mathpazo and the AMS math packages, and I just started using xfrac for the \sfrac command. However, now when I use \sfrac (or when I set siunitx to use it), I get this output: LaTeX Font ...
18
votes
3answers
13k views

Shrinking monospace style for listings package

I am working on a thesis and putting together a "pretty" listing. I'm looking at setting up a small font style for a code view. What I have here is: \usepackage{listings} \lstset{language=C, ...
15
votes
1answer
651 views

Why does PDFLaTeX and XeLaTeX generates 11.955 font size for 12pt documentclass option?

I am currently working on post-processing PDFs that are generated from either pdflatex or xelatex with the 12pt documentclass option. Since I am looking at the uncompressed PDF sources, I noticed ...
8
votes
2answers
802 views

Selecting optical size?

For some time I've seen LaTeX-produced documents that had slight differences in fonts. When you looked at them, they had the same Computer-Modern or Latin-Modern, however, they looked more stylized ...
23
votes
1answer
633 views

Testing all available fonts

I need to display some very small numbers in my document (3-5 pt). I want to test out all available fonts within my installation at this size, to find which produces the most readable numbers. Is ...
17
votes
2answers
478 views

Is there a way to use different local font files for different font size in fontspec?

I am a big lover of the EB-Garamond fonts by Georg Duffner. As of now, he has made two sets of font files, EB-Garamond-8 and EB-Garamond-12, respectively for “design size 8pt” and “design size 12pt”. ...
14
votes
2answers
353 views

Smaller membership symbol

To mean that x is an element of X, we can write x \in X. However, in the standard packages, the membership symbol that results is too big; it draws too much attention to itself. This is especially ...
14
votes
2answers
2k views

How should one setup fontspec package to exploit best features of Pro fonts ?

Suppose that you have a Pro class fonts such as Adobe Arno which has several design sizes as described below: Design Size Size Ranges Caption: 8 point 5–8.5 point SmText: 10 ...
17
votes
2answers
12k views

Need smaller than \tiny

I use the following to reduce the size {\tiny $$ \begin{array}{|c||c|c|c|c|c|c|c|c|c|c|c|c|} but it is still too large. How can I further reduce the size?
11
votes
4answers
5k views

Change font size of the verbatim environment

I want to apply small fonts inside the Verbatim environment e.g. {\small \begin{Verbatim} 1 double x, y; 2 double z, w; 3 main(); 4 return 0; \end{Verbatim}} Before the command \small ...
9
votes
3answers
8k views

How to change font family in footnote?

How can I change font family (and size) for footnotes? Would be great to see a small example.
8
votes
1answer
4k views

a4paper ignores 14pt

I need font size = 14 in article document, but when I change \documentclass[a4paper,11pt]{article} to \documentclass[a4paper,14pt]{article} font becomes even smaller. How to change font size?
7
votes
2answers
4k views

Problem formatting a subscript in math mode

$\nu_{\rm FWHM}$ prints FWHM too large. But when I try: $\nu_{\mbox{\tiny FWHM}}$ the size is okay but the kerning looks wrong. What is the best way to make a compact little FWHM subscript tag ...
5
votes
2answers
12k views

How to set the header font size using fancyhdr package?

Basically, I want the header fonts to use a different (smaller) font size than the size I set using \documentclass. What should be the option I'd be using ? \documentclass[12pt]{article} ...
4
votes
5answers
706 views

Continuously-sizable fonts?

Why are we stuck with a finite number of font sizes in LaTeX? Modern fonts are fully vector-based and scalable - why can't LaTeX do this? Or maybe it can, and I just don't know how. Also see the ...
18
votes
2answers
637 views

Is there any package to automatically select font size and margins to optimize pages?

Suppose I am preparing multi-page handouts using LaTeX. I don't care much about the font and margins size (while they are reasonable), but I would like all the pages to be filled, ie. avoid the ...
15
votes
1answer
2k 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 ...
12
votes
2answers
3k views

Sub-enumeration with the same font size in beamer

I have a beamer slide with a several recursive sub-enumerations, e.g.: \begin{enumerate} \item Do A \begin{enumerate} \item Have B \item Load C \item Backup D ...