{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

10
votes
1answer
5k 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
2answers
864 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?
10
votes
1answer
4k 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
1answer
222 views

Problems using lmodern with very small font sizes

Due to page restriction from my university I had to optimize my formulary sheet by writing more compact. Therefore I switched from the default Computer Modern Roman font to Latin Modern but now I get ...
10
votes
5answers
6k views

Change font size in tables document-wide

Using scrartcl as my document class, tables are set in a slightly larger font size than my normal text (12pt vs. 11pt I suppose). How can I change the font size for tables document wide? At the moment ...
10
votes
1answer
8k views

How to change title font size in moderncv?

How can I change the title font size (First name, Family Name) in a resume written using moderncv package?
10
votes
1answer
913 views

How to change font size in Index in memoir class?

Each time I build the index with makeindex I have to insert \footnotesize after \begin{theindex} in book.ind file. I use memoir class. Is there an automatic way to do this?
10
votes
1answer
7k 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
4k 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
940 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
3k 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
342 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
6k views

How to set default font size in latex cls file?

I am using a custom LaTeX document class for my thesis which is derived from the report class. I'd like to set the default size of the font to 12pt, and still have the option to change it (to 10pt) ...
10
votes
1answer
662 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
11k 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
236 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 X_f\...
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
2answers
1k 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
4answers
18k 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 ...
9
votes
2answers
2k 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
3k 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
3answers
10k views

How to change font family in footnote?

How can I change font family (and size) for footnotes? Would be great to see a small example.
9
votes
2answers
338 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 \...
9
votes
3answers
17k 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 ...
9
votes
2answers
2k 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)
9
votes
1answer
150 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 ...
9
votes
4answers
8k 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 ...
9
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 ...
9
votes
1answer
5k 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
2k 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 ...
9
votes
3answers
8k views

How to change font size of longtable-lines without changing font size of caption?

I'd like to change the font size of all contents of a longtable to footnotesize. However the rest of the document and also the caption (!) shall be (stay) in normal size. (pdflatex is used) How can I ...
9
votes
2answers
6k views

Reduce font size of bibliography; overfull bibliography

I am using Biber (backend of biblatex) to make the bibliography. I have two questions about the bibliography. I want to use a reduced font ONLY for the bibliography (not the citation in the text, ...
9
votes
2answers
1k views

Change font inside document to specific point size

Although this question has a duplicate flavor to it, the question that allegedly provides the solution, LaTeX -- specify font point size?, is hard to use since neither the question nor the answer ...
9
votes
1answer
359 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 ...
9
votes
1answer
829 views

How can I raise an item symbol?

I don't like the appearance of standard \textbullet. It's too big. I decided to shrink it using \footnotesize{}. Unfortunately, the bullet is not at the center of a line (It's a little lower). How can ...
9
votes
1answer
2k views

Problems with URL's size

I would like to change the font size of the URLs in my latex document. I did: \begin{document} ... \usepackage{url} Figure 1: \scriptsize{\url{my url}}\\ Figure 2: \scriptsize{\url{my url}} ... ...
9
votes
1answer
902 views

Why \leaders and \mkern works strangely in different font size?

I can hardly determine a good title for this question, I'm sorry. Minimal test code: \documentclass{minimal} \usepackage{lipsum} \begin{document} foo {\fontsize{18}{18}\leaders\hbox{$\mkern 10000mu.\...
9
votes
1answer
597 views

Determine width of verbatim characters

I would like to determine how many characters of the verbatim font that fits on a text line. Consider: \documentclass{article} \usepackage{fancyvrb} \begin{document} \noindent\hrulefill \begin{...
9
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 ...
9
votes
2answers
1k views

Abbreviations for AM, PM (small caps) for use within \textbf

I have been using \textsc for the abbreviations for AM, PM, but it does not work within \textbf{}. As you can see in the image, within a \textbf{}, it reverts to the normal lower case letter. Ulrike ...
9
votes
1answer
671 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. ...
9
votes
2answers
34k views

How can I change the font size of the authors and the affiliation in Latex?

I have something like this: \documentclass[11pt,a4paper, twocolumn]{article} % 11pt for all the article \begin{document} \font\myfont=cmr12 at 16pt \title{{\myfont MY TITLE}}%Title in 16pt \author{MY ...
9
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 ...
9
votes
1answer
4k views

algpseudocode font size

I want to change the default font size of the algorithm in algpseudocode environment to small. This is because my algorithm is lengthy and i have page limitations. Please help
9
votes
1answer
16k 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 ...
9
votes
1answer
667 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
763 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
1answer
1k 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
4answers
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 \RequirePackage[vargreek-...