{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

13
votes
1answer
11k views

Change font size of an align environment

In a document, I'd like to change the font size of a single align environment (not globally throughout the document). What is the proper way to do this? I've been using Preceding paragraph. {\tiny ...
13
votes
2answers
16k 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} ...
13
votes
1answer
2k 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?
13
votes
1answer
8k 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
1answer
818 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
3answers
18k 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 ...
12
votes
2answers
77k views

Different sizes of font available in table?

I have a table and it appears I only have two options when it comes to font size: large and small. There should be a medium option, correct? I get an error when I replace small or large with ...
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 ...
12
votes
2answers
4k 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 ...
12
votes
4answers
12k 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 ...
12
votes
1answer
166 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
4k 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
4k 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
2k views

Get current font size as length

I understand from THIS question that the current font size can be determined. But how can I convert this to a length value? \documentclass[10pt,a4paper]{article} \newlength{\mytextsize} %This ...
11
votes
3answers
37k 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} ...
11
votes
2answers
751 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
3answers
442 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
2answers
3k 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
1answer
3k 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 ...
11
votes
1answer
135 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
35k 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 ...
11
votes
1answer
402 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 ...
11
votes
1answer
4k 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 ...
10
votes
3answers
316 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 ...
10
votes
2answers
8k 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 ...
10
votes
3answers
1k 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
1k 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
658 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
1answer
4k views

How to make proportional subscript when using smaller font in math mode?

How to make proportional subscript when using \tiny (or smaller than normal font size) in math mode? The following screenshot shows subscripts for \tiny, \scriptsize and normal font sizes. ...
10
votes
1answer
24k 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 : ...
10
votes
1answer
3k views

What leading size should I set for 18pt font size?

I use \fontsize{18pt}{20pt}\selectfont comand because I want 18pt fontsize. Does rule fontsize+2 always apply? Say for 20pt font leading will be 22, 32 for 30 and so on.
10
votes
2answers
1k 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 ...
10
votes
2answers
4k 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} ...
10
votes
3answers
2k 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?
10
votes
1answer
6k views

tikz nodes: centering with small font

I am trying to create tikz nodes with centered text, but changing fontsize. Unfortunately, while normally-sized text is nicely centered inside the nodes, the smaller text is not centered, but shifted ...
10
votes
2answers
3k views

Subsection size in header doesn't change header height

I want to change the font size of section and subsection titles in the header. It works fine for the section title, the header automatically increases its height (as stated in the beamer manual) but ...
10
votes
1answer
546 views

What is the difference between \fontsize{…}{some length} and \linespread{some length}?

I notice that the second argument to \fontsize and the first argument to \linespread both seem to change the spacing between lines of text. What is the difference between these? Is there one I should ...
10
votes
2answers
2k views

What's the right way to globally change the font size?

Inside of a group, a command like \tiny has effect only until the group ends. One would like to be able to say \global\tiny to have it last after the group ends, but that does not work. The best that ...
10
votes
1answer
162 views

Antykwa Torunska font: How to get correct \hbar in LuaLaTeX

I'm using TeX Live 2014 with lualatex. Using the font Antykwa Torunska (anttor) for math, \hbar is not displayed correctly. The default LaTeX settings do not give good results at all scales: ...
10
votes
2answers
5k 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 ...
10
votes
1answer
1k 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 ...
10
votes
1answer
511 views

“songs” package, chord size

I am trying to write an A6 songbook in latex(just getting started). For chords above lyrics I use the songs package, but the chords looks bigger than the lyrics. Can't find anything in the ...
10
votes
2answers
8k views

Matrix in small size

Does anyone have a good idea for an alternative matrix definition with a font size between the standard size used for say pmatrix and the \scriptstyle size used by smallmatrix? I have several vectors ...
10
votes
1answer
214 views

Mathpazo has broken \left and \right

If I use mathpazo then it seems that \left\Vert and \right\Vert generate the wrong size in one case: \documentclass[11pt]{article} \usepackage{mathpazo} \begin{document} {\Large $\left\Vert ...
10
votes
1answer
1k views

How to fake mid-caps with LaTeX? (I.e. How to stretch characters of a font?)

Background As discussed in this question, one would often like to use small caps for abbreviations, however, mixed case acronyms such as OpenMP look rather odd (see example 2 below): The problem ...
9
votes
3answers
1k 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 ...
9
votes
2answers
899 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 ...
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} ...
9
votes
2answers
2k views

Changing the text size is not working

I am an eighth grader that needs some help. I am a noob at anything TeX or LaTeX, and am just starting out. I am using USBTeX, just in case that matters. I cannot seem to change the text size in ...
9
votes
5answers
6k views

When I use [shrink], I lose vertical centering. How do I get my stuff shrunk and centered?

I am creating a beamer slide with a table on it. This table is too big with the normal font size, so I am using the shrink command to try to make it smaller. shrink is working, however it is ...