{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

57
votes
6answers
29k 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 ...
109
votes
3answers
128k 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, ...
43
votes
2answers
38k 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 ...
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 ...
4
votes
2answers
534 views

How can i change the fontsize with KOMA-script?

I need to change the fontsize to 11pt inside a table environment. The default setting of the document is 12pt using scrartcl, but I need to change this to exact 11pt in the float (the reason is that ...
32
votes
4answers
3k 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 ...
12
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 ...
42
votes
4answers
73k 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 ...
41
votes
4answers
69k 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 ...
21
votes
3answers
13k 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 ...
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 ...
40
votes
2answers
55k 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?
16
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 ...
68
votes
4answers
58k 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 ...
27
votes
4answers
44k 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 ...
24
votes
3answers
11k 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 ...
20
votes
1answer
3k 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 ...
7
votes
2answers
831 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 ...
79
votes
8answers
46k 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).
50
votes
4answers
3k views

How do I display pi in LaTeX like Don?

Way back in 1979, Donald Knuth, tried to give the feeling that π is irrational using the idea of infinite sequence of smaller and smaller font sizes like what I have tried to do here using HTML and ...
59
votes
2answers
84k 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.
18
votes
1answer
4k 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 ...
10
votes
2answers
9k 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 ...
5
votes
2answers
8k 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? ...
6
votes
1answer
652 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
332 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 ...
17
votes
4answers
27k views

How to get an even smaller font?

I wanted to amplify the effect of specifying the font size. So I tried: {\tiny\tiny Super tiny text!} But that doesn't seem to work. I needed suggestions to achieve the same goal.
15
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 ...
7
votes
1answer
587 views

Redefine the default depth of superscript and subscript document-wide

The behavior of subscript and supscript operator _ and ^ is like a blackbox to me, I am curious if I could redefine the behavior of them globally for a document. I searched the forum and found ...
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} ...
4
votes
1answer
369 views

How does \fontsize{}{} work?

With the package anyfontsize I can use the command \fontsize{}{}. But the second argument seems to be without any effect. I read there that it is related to the line space. It doesn't work. ...
8
votes
3answers
260 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 ...
26
votes
3answers
5k 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 ...
18
votes
1answer
48k views

Font size of Figure Caption Header

My question is about changing the font size. I have to insert two figures side by side. Coming to inserting the captions for the figures individually: Figure 3: blah blah.....................Figure ...
11
votes
3answers
38k 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} ...
15
votes
1answer
777 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 ...
18
votes
2answers
579 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”. ...
19
votes
2answers
15k 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?
7
votes
1answer
3k views

KOMA-script scrreprt: Chapter Heading Size Customisation

This is a continued question from my previous thread I am setting up LaTeX to write my thesis using scrreprt. I have implemented with success all the advised and suggested solutions and have tried to ...
9
votes
1answer
3k 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
3k 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} ...
6
votes
1answer
3k 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 ...
33
votes
3answers
9k views

What is the default font size of a LaTeX document?

What is the default font size of a LaTeX document?
21
votes
3answers
16k 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, ...
9
votes
2answers
913 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
658 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 ...
18
votes
2answers
2k views

How should fontspec be set up to exploit the 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 ...