{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

9
votes
1answer
286 views

KOMA - Set documentclass font to 9.5pt

I am using scrbook as documentclass and would like to setup the default font of the whole document to 9.5pt. Just like you do with 9pt, 10pt, ... : \documentclass[fontsize=9.5pt, DIV=calc]{scrbook} ...
9
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 ...
8
votes
3answers
314 views

How to scale all mathematics of a document [duplicate]

Possible Duplicate: Equations, change the font size How to scale math font only I am very new to LaTeX. I want all mathematics(i.e. the thing we write inside $...$ and \[...\]) of my ...
8
votes
2answers
804 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 ...
8
votes
2answers
1k views

Scaling fonts document-wide

I'm looking to use lcmtt mentioned here as my default typewriter font, but the scaling is way out of proportion with the rest of the text. I've used the following commands to enable the font: ...
8
votes
3answers
4k views

Changing the chapter heading size in quotchap

I am using the quotchap package to format chapter headings in a document. Is it possible to change the default font size for the chapter headings? For example, in the document.tex file at the above ...
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?
8
votes
6answers
3k 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
1answer
125 views

LateX: text going smaller and smaller

I guess this is an unusual question as I have not found anything related (then again, maybe I searched poorly). So what I would like to do is having an enumeration (in a beamer slide) go smaller and ...
8
votes
2answers
920 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
2answers
840 views

Can I make all section headings bigger?

I want to make all section headings in LaTeX document bigger by a given scale. For example, I want all of them have 150% of size that they have now. Can I do that somehow? (Ideally using sectsty)
8
votes
1answer
15k 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
2answers
1k views

Change typeface size after \documentclass?

I use the same tex file to create several different layouts with basically the same content. I have several switches and \ifthenelse constructs to control the layouts. Normally, I just have to set one ...
8
votes
2answers
124 views

\displaystyle and \mathbf with cmbright font

I would like to use bold symbols in superscript equations. To do so, I use \displaystyle as in \documentclass{standalone} \usepackage{amsmath} \begin{document} $e^{\mathbf{A}t}=e^{\displaystyle ...
8
votes
3answers
223 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
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 ...
8
votes
2answers
428 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
1answer
789 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 ...
8
votes
1answer
140 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
1answer
158 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
85 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
142 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
388 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
245 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
1k 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
2k 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
690 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
4answers
4k views

how to make subscripts automatically choose font size

Would it be possible to make subscripts in math mode automatically choose a smaller font when a subscript is in uppercase? E.g., if I have sA, the "A" would appear quite big. Is it possible to tell ...
8
votes
1answer
391 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
1k 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
2answers
393 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
652 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
1answer
551 views

Scale .pgf image but preserve font size

Using Matplotlib, I generated a .pgf image. import matplotlib matplotlib.rcParams.update({"pgf.texsystem": "pdflatex"}) from matplotlib.pyplot import subplots, show from numpy import linspace x = ...
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
310 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
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
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 ...
7
votes
2answers
205 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
1answer
139 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
3answers
3k views

font size in math mode

$\sum\limits_{\substack{locations \\ L_j}}$ The word locations is quite long - longer than the summation symbol Sigma. I would like to control the size of only the word locations, but I am having ...
7
votes
2answers
491 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 ...
7
votes
3answers
9k 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 ...
7
votes
1answer
1k views

Top aligning text contents of two parboxes or minipages

I'd appreciate help top aligning the contents of \parboxes containing texts of different sizes as shown in the following graphic. Because one of the texts has a different size it appears to hover ...
7
votes
2answers
3k 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} ...
7
votes
2answers
465 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 ?
7
votes
1answer
557 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 ...
7
votes
1answer
20k 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 : ...
7
votes
3answers
9k 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 ...
7
votes
1answer
248 views

Using multiple system fonts

I'd like to use 3-4 different specific system fonts (e.g., Georgia, HelveticaNeui Light, and Lucida Sans) with certain font sizes for different sections of a page. How would I do this? Edit: Thanks ...