{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

15
votes
2answers
22k views

Resize/Scale equation in Beamer

I have a slide in my beamer presentation that looks like: \documentclass{beamer} \usepackage{graphicx} \begin{document} \begin{frame} \begin{columns} \column{0.6\textwidth} ...
15
votes
1answer
3k 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 ...
14
votes
3answers
26k views

Make equations large

I'm including some equations in my document, but want them to appear very large. I have them in display mode, as opposed to inline mode, but can't seem to find any way to make them larger. I've tried ...
14
votes
3answers
15k views

How do I change \footnote font size in beamer presentation?

I tried all methods from this question: How to change font family in footnote? and none of them work for me...
14
votes
1answer
3k 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 ...
14
votes
3answers
2k views

Need to 'rescale' a complex document (page size and fonts) to A5 from A4

What I'm asking might not be within my capabilities, but I'm trying to change a document to print on 74 pages of A5 instead of 74 pages of A4. I have managed to change the papersize to A5 but it ...
14
votes
2answers
490 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
707 views

Complicated tikzpicture for theorem of multivariabe continuous functions

I'm attempting to construct a tikzpicture that looks like this: Here's what I have: \documentclass[12pt]{article} \usepackage{amssymb} \usepackage{amsmath} \usepackage[english]{babel} ...
14
votes
2answers
4k 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} ...
14
votes
4answers
14k views

Reduce size of \bullet character in lists

Example for a list using mdwlist: \begin{itemize*} \item First \item Second \end{itemize*} The bullet symbol for the first level can be redefined with: \renewcommand{\labelitemi}{$\bullet$} It ...
14
votes
3answers
7k views

How do I make a small pmatrix?

I want a small matrix but the only command I can find is \smallmatrix which leaves the brackets out. Is there a simliar one that includes brackets?
14
votes
1answer
8k views

TikZ: nodes with text, scale = or \large, \Large, \Huge?

If one needs to slightly increase the size of the text in a TikZ node. What are the pros and cons of using scale= in the style options instead of changing the font size with the usual LaTeX\TeX ...
14
votes
1answer
3k views

Half-point size fonts in LaTeX

How can I get a half point size in LaTeX? Many books use 10.5 pt. Setting point size to 10.5 seems to have no effect. Is there a package that can do that?
14
votes
1answer
9k views

Automatically resize lstlisting fontsize in a beamer slide

I have frames of the following format (code followed by an itemize): \begin{frame}[fragile] \frametitle{Blah} \begin{lstlisting} Five to seven lines of code here... \end{lstlisting} ...
13
votes
3answers
52k 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} ...
13
votes
1answer
58k 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 ...
13
votes
2answers
5k 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 ...
13
votes
3answers
8k views

Change default font size while using fontspec

I'd like to set the main font size (i.e. all text which isn't a heading or something else with an explicit font size) to a particular font size, in this case, 9.5pt. I can't use the default package ...
13
votes
2answers
942 views

Use same font in Lilypond lyrics as in surrounding LaTeX document

I use LaTeX and lilypond-book to create a hymn sheet. I increased the font size with KOMA script to increase the readability. Now the font sizes in the LaTeX document does not match the embedded ...
13
votes
1answer
1k views

How do you get a scriptscriptstyle-sized prime?

As you go from \displaystyle to \scriptstyle to \scriptscriptstyle, letters and numbers, for instance, shrink. Weirdly, to my mind, the prime symbol (') shrinks from \displaystyle to \scriptstyle, ...
12
votes
2answers
4k 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 ...
12
votes
3answers
16k views

How to use \footnotesize with longtable command?

I am using \longtable command in a thesis preamble. My problem is that my data are large numbers, and I need to reduce the size of the table to footnote size. I tried using ...
12
votes
1answer
9k 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?
12
votes
1answer
7k 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 ...
12
votes
1answer
8k views

Caption package not working with beamer

I am using beamer to make a presentation. But the default caption font size seems big to me. So I tried to make the font size smaller using caption package. I tried this: ...
12
votes
1answer
230 views

Disabling ligatures in section headings

I've redefined my section headings to be \Huge but I don't like the ff and fi ligatures at this size, how can I disable ligatures for sections or above a certain pt size? I'm using pdflatex with the ...
12
votes
3answers
6k views

Change the title size in scrartcl

I'd like to use a smaller title. I'm using the scrartcl documentclass from the KOMA-Script bundle. I can change it's color font but not it's size. \setkomafont{title}{\normalfont\bfseries\small} ...
12
votes
4answers
9k views

How to choose font size given the paper size

How do you choose what font size to use given the paper size in use? For example, I found somewhere that for a European standard the following is recommended: \documentclass[a4paper,11pt]{article} ...
12
votes
1answer
777 views

Small text in table does not recalculate line spacing

I'm using tabu to create a table that has a couple multi-line cells (the m style). However, when I set the line spacing outside the table, it seems that the space between lines is not recalculated in ...
12
votes
1answer
2k views

\@setfontsize vs. \fontsize

What are the differences between \@setfontsize and \fontsize? For example, in Martin Scharrer's answer to How to create a newcommand for fontsize? he says: This is done by calling ...
12
votes
1answer
5k views

How to correctly use the palatino font (in memoir)?

I'm preparing a PhD thesis (using memoir and pdfLaTeX), and I find the palatino font a nice body font. Reading the font related questions and answers on this awesome site, I think I have pieced ...
11
votes
2answers
14k views

How do I change the default font size?

How can I change the default font size throughout the LaTeX document? Is this even possible?
11
votes
2answers
11k 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 ...
11
votes
2answers
1k views

How do I control the font of the item text in an enumitem list?

\documentclass{article} \usepackage{enumitem} \begin{document} \begin{description}[style=nextline] \item[Label 1] {\sffamily\LARGE item text 1} \item[Label2] Item text 2 \end{description} ...
11
votes
4answers
4k 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 ...
11
votes
3answers
4k views

Is there a “medium” \cap?

When displaying the intersection symbol in equations, e.g., $$Hom(A,B) \cap Hom(B,C)$$ I find that the "cap" is too small; its height is, in fact, subordinate to the surrounding content. On the ...
11
votes
3answers
567 views

How to change letter spacing / condense letters together

I'm starting up with LaTeX today in order to be able to produce better-looking PDFs for university assignments. I'm working through a list of small exercises, handed out by a volunteer professor, and ...
11
votes
3answers
511 views

Changing the font size only of the teletype family in a document?

I have seen Change \ttfamily font for entire document, and this is sort of a follow up to this. I'd like to use a "palatino" like font (tgpagella) - but I'd also like to use {lmodern}'s lmtt as the ...
11
votes
2answers
12k 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 ...
11
votes
3answers
6k views

Beamer: Changing the font size of the references using the shrink argument causes an error

I'm trying to change the font size of the references using the shrink of the frame argument. However, if I run this code: \documentclass{beamer} \usepackage[american]{babel} ...
11
votes
1answer
62k 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. ...
11
votes
1answer
34k views

How to set a small default font size with beamer?

I use beamer class with newcent package for the font. I set \documentclass[8pt]{beamer} at the top of my tex file. But I think the font is still too large. In my beamer theme, I tried to set : ...
11
votes
3answers
24k views

Beamer: change size of figure caption

I am creating a beamer presentation and I would like to change the size of the caption under the figures. I am using the Madrid theme. I tried the obvious way: \caption{\scriptsize{Text of the ...
11
votes
2answers
3k views

How to set font size at exactly 11 pt?

I am trying to write a research proposal in LaTeX. To this end, I am using the package proposal. The guidelines are strict, my proposal MUST be written in Arial 11 pt. My concern is the following: I ...
11
votes
1answer
169 views

Size of indices (sub- and super- scripts)

I've been looking around for a way to change the size of indices (all through the manuscript). I found a lot of stuff, which could work, but I refuse to use without understandind. (See for example ...
11
votes
1answer
435 views

Defining variants of \small and \large that use \normalsize's line spacing

As a partial workaround for grid typesetting, I'd like to define variants of \small and \large that behave like their standard counterparts except that they use the line spacing of \normalsize. I know ...
10
votes
3answers
2k views

Vertical alignment of fonts of different sizes on same line

In XeTeX, if I have a line with two font sizes, how can I arrange to have the smaller font aligned to either the center or top of the line? e.g. ...
10
votes
3answers
2k views

Size of letters not changing in pdflatex

\documentclass[60pt,a4paper,twoside,openany]{article} \usepackage[utf8]{inputenc} \usepackage[bulgarian]{babel} \usepackage[pdftex]{graphicx} \newcommand{\HRule}{\rule{\linewidth}{0.5mm}} % ...
10
votes
2answers
836 views

Define a math symbol relative to font size

Idea All characters, including the new defined symbol (here an arrow), should scale related to the current font size, e.g. here 12pt. Implementation I would like to define an arrow similar to here. ...
10
votes
3answers
3k views

Is an adjustable font in figures possible?

When I resize my pdf figures and graphs I often find that the text in these figures become too small to read. Is there a way of ensuring that the font in figures match the body text?