{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
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 ...
8
votes
2answers
684 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
53 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
6k 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?
8
votes
1answer
154 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
4answers
7k 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
2answers
985 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
195 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
7k 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 ...
8
votes
2answers
160 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
169 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
851 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
346 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
2k 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
956 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
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
26k 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 ...
8
votes
2answers
773 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
347 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
2answers
429 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
407 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
4answers
446 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
211 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
13k 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
317 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
987 views

Scrbook: Using fallback calculation to setup font sizes

When using the class scrbook and customizing the font size prior the usage of \printbibliography I got these warning (and in big documents I got them several times): Class scrbook Warning: Using ...
7
votes
2answers
737 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
2answers
537 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
178 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
17k 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 ...
7
votes
1answer
3k 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

Is there an easy way to change the font and size for Chapter Heading in Memoir?

I'm a total TeX newb - please be nice! :-) How can I change the font and size of Chapter headings? I don't mind where it's placed on the page - but would like it to be a sans-serif font and perhaps ...
7
votes
1answer
4k views

Beamer \institute text size change to small

I am using beamer with the \institute command. I have several institutes and just want to change the font size of the institutes and not the whole document. I would like the institutes to be much ...
7
votes
2answers
16k views

Reduce pseudocode font size (not global)

In this example I would like to reduce the pseudocode font size, but only for this slide while keeping the others in the default font size. How can I do that?
7
votes
1answer
7k views

Custom font size for itemize

I am making a checklist to print, where users can check their answers on a printed paper. For this I am using itemize and \renewcommand{\labelitemi}{\Box}, \renewcommand{\labelitemii}{\Box} etc..., ...
7
votes
2answers
4k 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, ...
7
votes
1answer
18k views

Setting font size for caption package

I wish to set the font size for caption package, how should I do it, now I have this in my preamble \usepackage[skip=2pt]{caption}
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: ...
7
votes
2answers
127 views

Environment that applies sizeN.clo

My document has a base font size of 12pt, but I want the figures to be typeset as if the base font size were 10pt (some of the figures use graphics packages that hardwire font size commands rather ...
7
votes
2answers
253 views

possible memoir bug with font sizes and \tightlists

It looks to me like memoir is not honoring \tightlists for certain font sizes (nor firmlists, btw). A picture is worth a thousand words: The source code for the screenshot is included below. You ...
7
votes
1answer
3k views

Setting math font size

MATLAB has the ability to "publish" code as an html document. It can include math by taking equations keyed in LaTeX notation, processing it with latex and embedding a bitmap image into the html. An ...