{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

8
votes
2answers
1k views

Change index font size with imakeidx

I know I can change the index font size combining the imakeidx package with the idxlayout package like this: \usepackage{imakeidx} \usepackage[font=footnotesize]{idxlayout} However I was wondering ...
8
votes
3answers
36k views

MS Word font size matching visually the LaTeX default one

What is the most resembling font in terms of size and style to the default used in LaTeX? I write in MS Word first, then copy it to LaTeX – this seems to be faster for me if not dealing with graphics, ...
8
votes
6answers
4k views

Setting a single equation in a paragraph in a smaller font

I'm trying to figure out the best way of making a single equation just a little bit smaller. Of course, I could try and break up the equation into pieces and proceed that way, but I'd like to ...
8
votes
2answers
1k views

tikzDevice is not getting sizes right (knitr)

I am using OSX, pdflatex, R (cran), tikz/tikzDevice and knitr to create my documents. My problem is that the font sizes of the produced tikZ-file do not match the LaTeX document font sizes. Result / ...
8
votes
3answers
16k views

Space between lines

I try to typeset title pages and use LARGE and bold for this. The problem is that the lines seem to be too close to each other. I think it looks bad. Is this the way it is supposed to be? Is there a ...
8
votes
1answer
24k views

Changing the font size of document title

A publication I am submitting to has the rather annoying requirement of needing the document title to be size 16pt (and the regular text size being 12pt, which I know how to do). I have absolutely no ...
8
votes
3answers
322 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 ...
8
votes
1answer
1k views

When should we use \DeclareMathSizes, \xxxstyle and font size changing macros (\tiny, \small, etc)?

Could you give me a complete overview when we should use \DeclareMathSizes, \xxxstyle (such as \scriptstyle, etc), and font size changing macros (\tiny, \small, etc)? I want this answer to be CW so ...
8
votes
2answers
584 views

Trouble changing font size in figure legends

I'm trying to set the font size smaller in the legends for all of my figures and tables. The way I was trying to do this was using \AtBeginEnvironment but that doesn't seem to do anything at all. This ...
8
votes
2answers
754 views

Change \pgfplotstabletypeset font size

I have a table with strings and fixed numbers. I need to set \footnotesize only to typeset it using \pgfplotstabletypeset. How can I change font size ?
8
votes
2answers
57 views

Set the font size for a special math symbol by `\mathscr`

I need to manually set the font size of a special math symbol by \mathscr for which the \fontsize{<size>}{<size>}\selectfont does not work. Here my sample is: \documentclass{article} ...
8
votes
1answer
18k views

How to change fontsize in lstlisting without losing bold syntax highlighting?

If I load the listing package to set nice code and change the font size (like suggested there: Shrinking monospace style for listings package), I lose the syntax highlighting, because the font does ...
8
votes
1answer
157 views

What does the font size documentclass option actually do?

When using e.g. the [12pt] option for a document class like \documentclass[12pt]{article} what does (Xe)LaTeX actually do/set? I noticed that for example a multicols environment behaves different ...
8
votes
2answers
1k views

Is it possible to use 12 pt font size in the achemso package?

I am typesetting a report using the achemso package, because it is required that my report be in American Chemical Society (ACS) format. However, I am not submitting to an ACS journal. It is required ...
8
votes
1answer
368 views

fontspec: Load an italic text font so that it has the same x-height as the “main” (roman) text font

Suppose that one likes the "upright" shape of the font Sabon Next LT Pro, but prefers the "italic" shape of the font Garamond Premier Pro over the italic shape of Sabon Next. (Both fonts are ...
8
votes
1answer
200 views

Why two forms for annotating style of text?

When I want text to be large I say: {\Large lorem} When I want text to be bold I say: \textbf{lorem} Why the inconsistency? What's the implementation detail or philosophy behind these two ...
8
votes
2answers
184 views

How can I prevent LGR encoding from switching font size?

I am using 12pt fonts with what is essentially the article class. (That is, I'm using a custom class which is parasitic on article.cls.) In order to set an appropriate headheight for fancyhdr using ...
8
votes
1answer
176 views

Fontsize determination

We usually point out explicitly or not normalfont size in \documentclass[11pt]{article} etc. 11pt may be absent here explicitly. Which variable contains this 11 or 10, 12pt?. I need get it in a ...
8
votes
1answer
978 views

Why does \relsize{-1} in normal size not result in \smaller?

This is maybe just me being unable to find the corresponding part of the manual, but I'd expect relsize's \smaller or \relsize{-1} to have the same effect as using \small inside normal-sized text. ...
8
votes
1answer
3k views

Altering fontsize in equations globally

I am trying to typeset all formulas in an article using \small font. If I use \DeclareMathSizes{9}{8}{6}{4}, then the size of in-line math in regular text is also changed. However, I want to redefine ...
8
votes
1answer
3k views

Change font size of \texttt globally?

I'm using TeX Gyre Pagella as the main font of a document which is typeset using a font size of 10pt. For the technical terms, I want to replace the default Computer Modern Typewriter with Bera Mono ...
8
votes
1answer
1k views

Changing size of footnote symbols in titlesec-formatted chapter titles

I am using titlesec to define the formatting of Chapter titles. At present, footnote symbols within these titles appear in the same format, but my author would like them to be somewhat smaller. The ...
8
votes
1answer
631 views

Multiplication to macro argument

Since the baselineskip parameter for fontsize should better be 1.2 times of the font size, I'd like to define a macro which accepts only one argument and deduces the baselineskip from the font size. ...
8
votes
1answer
3k views

Too large line spacing with different font size (\tiny) in beamer

When using the \tiny font in slides created with the beamer package I find that the spacing between lines in a wrapped paragraph is too large. (This only happens when mixing fonts within one ...
8
votes
2answers
935 views

Change the size of only a part/subset of a single equation

For example, I'd like to do: $Q^{r<1}$ but with the r<1 having a much smaller font size than the Q. Of course r<1 will naturally have a smaller size since it is a superscript, but I want ...
8
votes
1answer
3k views

Smaller font size in quote environment relative to context

I want to have all quotes in the quote-environment in a smaller font. This is possible with the etoolbox-package and the command: \AtBeginEnvironment{quote}{\small} But if I use a quote-environment ...
8
votes
1answer
2k views

Change font size in context by percentage [duplicate]

Font sizes can be set with (more or less) absolute commands such as \large, \Large, \LARGE, and so on. Are there also commands that can increase or reduce a font size by some proportion or percentage ...
8
votes
1answer
378 views

How to make a command for a circled letter to work with all font sizes?

I introduced the following macros \newcommand{\malcev}{\mathop{\text{\textcircled{\scriptsize M}}}\nolimits} \newcommand{\imalcev}{\mathop{\text{\textcircled{\tiny M}}}\nolimits} The code \[ ...
8
votes
1answer
2k views

How can I make large mathcal symbols?

I've seen bigints for big integral symbols, but I'd like to make a large \mathcal{F} for a Fourier transform. Is there a good way to do this?
8
votes
1answer
15k views

Which font should be used for diagrams/graphs/flow charts?

I'm using the standard serif fonts in KOMA script for typesetting my thesis, 11pt for normal text. What font and font size would be recommended for use in graphs, diagrams and flow charts? The same ...
8
votes
1answer
2k views

Palatino font size

I'm using Palatino for my dissertation, but 10pt is too small and 11pt is too large (looks childish). I would like to select something in between. Any suggestions on how to do this? Edit: following ...
8
votes
2answers
438 views

How do I get references in subscripts to be the right size when compiling to dvi with hyperref?

(Having investigated the original question, I'm taking the liberty of re-writing it as I've found a MWE and so isolated the problem, but I don't know a solution. Andrew Stacey.) The scenario is as ...
8
votes
1answer
2k views

Changing font size in equations changes superscript size in text (LATeX)

I used \DeclareMathSizes{12}{20}{14}{10} to make my equations larger than the default output of LATeX (the parameters mean, as far as I understand, {font size}{equation regular text size}{equation ...
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 ...
7
votes
3answers
424 views

Is there a way to set distance between bottom of one line and up of other?

This is my minimal working code: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[english,french,russian,swedish]{babel} \begin{document} \selectlanguage{french} ...
7
votes
3answers
1k views

Font switch in ConTeXt mkiv

I am struggling to switch the fonts in ConTeXt accordingly and feel that I am missing something basic. I try to mimic \RequirePackage{fontspec} % Use Neo Euler as math font ...
7
votes
4answers
516 views

Fontawesome doesn't scale up

Edit: @cfr said, that in the new version 4.4.0 the bug was fixed. I have written a small sample to test, if the fontawesome script (v. 4.3.0-1) scales up with the font size which I want, but it ...
7
votes
2answers
2k views

Redefining quote environment with tiny font and double quote signs?

I want to redefine the quote environment in such a way to get the output of the following code. \begin{quote}{\tiny\textquotedblleft Text \textquotedblright}\end{quote} I also want to fix the line ...
7
votes
2answers
213 views

typesetting the document which fits into marked fixed lines

I have a to typeset the article such that, the output should be printed on the fixed marks that are 1.36 cms apart. In other words, printing sheet has marked lines which are 1.36 cms apart. I have ...
7
votes
2answers
15k views

Changing font size of list items and subitems

I've noticed that when I change the font size of a list, the font size is not automatically changed for its sublists. Is there a way to change the font size for a whole list? \documentclass{beamer} ...
7
votes
3answers
353 views

How to change font size of all text in a table?

Hi I am trying the following code but only the first row (the headings) is being changed to the specified font size. How can I make the whole table's font size change? \begin{table}[!htbp] ...
7
votes
2answers
968 views

Getting small font size in all text of a table

I want to have small font size in a whole table. I tried with \small{table code} and \begin{\small}{table code} \end{small}, but it doesn't work. Maybe, I must use a package or any method; please I'm ...
7
votes
1answer
4k views

Setting default font size in \newfontfamily

When mixing fonts in XeTeX, some fonts have quite different aspects for the same size. Say, I'm using Linux Libertine as my main font and I want to use Latino Elongated for chapter headings. Latino ...
7
votes
4answers
909 views

Font size (in pt) of references using amsplain

I have the following document: \documentclass[12pt]{amsart} \usepackage[leqno]{amsmath} \usepackage[margin=1in]{geometry} \usepackage{amsthm} \usepackage{amsfonts} \usepackage{amssymb} ...
7
votes
2answers
570 views

Bold monospace font extra-large

I would like to print very large (e.g., font size 43) monospaced bold text. The methods I know don't seem to go together: \documentclass[10pt, a4paper]{article} \usepackage{anyfontsize} ...
7
votes
1answer
184 views

What is the height above the baseline to the middle of an open bracket?

So I have a rule pointing at the middle of the following text. I have achieved this with the following code: \newlength{\Fraiseheight} \setlength{\Fraiseheight}{1ex} ...
7
votes
1answer
4k views

Font size of \url in footnote

I use this \renewcommand{\UrlFont}{\normalsize} for make the fontsize smaller. I will like to make somthing similar for making only the \url smaller and only when it is used in a footnote. Text in ...
7
votes
1answer
4k views

Controlling the spacing between lines with \fontsize{}{}\selectfont

I've searched a lot and couldn't find the answer to this one. My puzzle is the following: I use the fix-cm package to change the fontsize of a small poster (letter sized actually) to anounce a ...
7
votes
3answers
2k views

Default article-like classes with compact bibliography

In most academic journal styles, the bibliography is typeset in a much more compact fashion than in the usual classes. Compare for instance these two: The former is obtained with siamltex.cls, ...
7
votes
1answer
2k views

How does \footnotesize map to \fontsize{size}{baselineskip}

We can change font size using {\fontsize{size}{baselineskip} \selectfont .....} with the anyfontsize package. I want to know what size and baselineskip values the following commands result in: ...