{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

6
votes
4answers
1k views

How to decrease the font size of a table in an \input file

I have: \documentclass[11pt]{article} \begin{document} This is the main tex document. \input{tables} \end{document} In the tables.tex file, I only have numerical tables. I want to decrease the ...
6
votes
1answer
467 views

How to get larger fonts than \Huge in nodes with tikz?

I need to write large fonts which are included in nodes of a tikzpicture. When I change scale, everything changes but not fonts. Here´s my code: \documentclass[10pt,a4paper]{book} \usepackage{tikz} ...
6
votes
1answer
93 views

Why is \Cline increasing the font size in my equations?

The Problem When I use \Cline to underline a symbol in my equation, it increases the font size of that symbol. Edit: I don't want this to happen, rather, I would like all of my subscripts to be the ...
6
votes
1answer
377 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 ...
6
votes
1answer
1k 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.
6
votes
2answers
4k views

Decrease font size in a listing

Hi I am trying to include a short code snippet into one of my beamer slides However one of the lines is not fitting into the slides. Please let me know how to decrease the font size to make the ...
6
votes
3answers
1k views

Reducing font size in equation

I wanted to type an equation in LaTeX. But it is too long to fit into one line. It involves big arrays with many columns so I cannot split it. I wanted to reduce the font size so that it can fit in ...
6
votes
1answer
1k 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 ...
6
votes
1answer
3k views

Reducing bibliography font size

I am using the thebibliography command in LaTeX to generate a bibliography under a "References" heading at the end of a paper. My bibliography is not stored in a separate TeX file, but rather is just ...
6
votes
1answer
293 views

fancyhdr plus fontsize 12pt causes varying vertical alignment of sections

Looking at the example provided in Different headers for different chapters, I noticed something strange: The vertical alignment of sections is varying. I was able to strip the effect down to the ...
6
votes
1answer
1k views

Specifying font sizes [duplicate]

I am trying to change the font size of my document to 8pt. However I can not get it to take effect. I am trying it in the \documentclass declaration. Should it be specified elsewhere? I am using ...
6
votes
1answer
72 views

Why do I get these warnings with 14pt scrartcl

This is what my file looks like: \documentclass[14pt]{scrartcl} \begin{document} \Huge Hi \end{document} This is the output: Font shape `OT1/cmr/m/n' in size <35.83> not available(Font) ...
6
votes
1answer
62 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 ...
6
votes
2answers
204 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 / ...
6
votes
1answer
166 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 ...
6
votes
3answers
160 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, ...
6
votes
1answer
440 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 ...
6
votes
3answers
1k 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?
6
votes
1answer
1k views

Changing the font size of a bibliography using BibTeX with the amsrefs package

I am using BibTeX with the amsrefs package to create a bibliography. The output of the bibliography looks to be of a slightly smaller font size that that of the ambient document, and it's imperative ...
6
votes
1answer
422 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 ...
6
votes
1answer
186 views

Control font size \part

I used a former question on TeX.SE to find the command \part*{}. I like everything about it but the font for it is huge. How can I tone down the size of the font for this command. ...
6
votes
1answer
4k 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...
6
votes
2answers
224 views

How do I display text at 60pt or even 600pt?

I am new to LaTeX. I am having a hard time creating a font past 40 points. Here is my code: \documentclass[letterpaper]{article} \begin{document} \fontsize{40}{48}\selectfont hi \end{document} ...
6
votes
2answers
688 views

How to increase the size of footnote counters used

I am writing a document in LaTeX for someone who is visually impaired, which means that I have to increase the font sizes for them. How do I increase the size of the font used for the footnote ...
6
votes
1answer
1k 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
6
votes
1answer
1k views

Changing the baselineskip in marginpar

I’m adding explanations for definitions in the margin paragraph. I have a macro which looks as follows (simplified): \newcommand*\define[2]{% \marginpar{{\sffamily\footnotesize\textbf{#1}: #2}}} ...
6
votes
1answer
257 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}} ... ...
6
votes
2answers
263 views

Specify font and font size for equations and math mode? [closed]

I am using a class file that defines commands to change the font and font sizes for normal text for different sections of the document, but it leaves the math mode and equation font and font sizes ...
6
votes
0answers
96 views

Change font size inside the document [duplicate]

Possible Duplicate: How to change font size mid document? This is my code: \documentclass[12pt,a4paper]{book} \renewcommand{\baselinestretch}{1.5} \begin{document} \include{Chapter1} ...
5
votes
3answers
646 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 ...
5
votes
3answers
783 views

Is there any way to make lowercase \chi bigger?

I was just wondering if it's possible to make lower case \chi bigger. Basically I want the equation \chi^2_0 = \frac{1}{2} to have more space between the 2 and 0 like all the textbooks have but the ...
5
votes
3answers
207 views

How do I enforce a font size on a newly-defined symbol while using it in math mode?

I've defined the following new commands: \newcommand{\atoi}{\mathrm{\rotatebox[origin=c]{180}{$\iotaup$}}} \newcommand{\scriptatoi}{{\scriptsize{\mathrm{\rotatebox[origin=c]{180}{$\iotaup$}}}}} to ...
5
votes
2answers
213 views

Making the font size smaller in this mdframed, and turning into a reusable environment

I am very close to getting the mdframed setting that I want: \documentclass[a4paper,10pt]{book} \usepackage[paper=a4paper,twoside=true,lmargin=4cm, rmargin=4cm,bindingoffset=0cm]{geometry} ...
5
votes
3answers
1k views

How to create a newcommand for fontsize?

I am trying to create a command to modify fontsize with one parameter, it seems that the paramater is not expanding properly: \newcommand{\mycfs}[1]{\fontsize{#1pt}{1.2*#1pt}}
5
votes
3answers
70 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] ...
5
votes
2answers
15k 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 ...
5
votes
1answer
7k 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 ...
5
votes
1answer
219 views

Section Counter: 0.1 steps, starting at 1.1

I'm using \part* and \section in order to formate my file. The problem is now, that \section just countrs from 1 to n. But what I actually need is the sections counting from 1.1 to 1.n, and then, ...
5
votes
1answer
558 views

Change font size of \Large etc.

After gaining some insight from How does font size work in TeX?, now I want to change my font size values according to my preference. As a follow up from the linked question, how can I set \Large = ...
5
votes
2answers
61 views

How to change font size of \ref

How can I change the fontsize of a reference mark? My reference is something like: this is a text \ref{figure1} When compiled I get this is a text 1 The "1" is in normal font size. How can I ...
5
votes
2answers
389 views

How to change the fontsize of the \part command

I am using the report style and I would just like to change the fontsize of the \part command. How do I do it ?
5
votes
2answers
207 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 ?
5
votes
2answers
2k views

How to get larger item symbols for some lists in a Beamer presentation?

I am writing a Beamer presentation that mixes normal-size font for some slides, and large-size font for other slides. When I use the itemize environment with a large font, the item symbol (a small ...
5
votes
2answers
105 views

Typesetting digraph with weighted edges, varying vertex size, multiple lines in vertex

I would like to draw the graph displayed in the following picture with TikZ and also do some modifications: Firstly I want to carry the labels of the nodes to the inside as a second line. For ...
5
votes
1answer
68 views

How much pt is headings=small?

I am using this code for my seminar paper: \documentclass[headings=small,fontsize=12pt,a4paper,oneside,]{scrreprt} but I was wondering: how many pt are headings=small? It looks like 14pt but I am ...
5
votes
1answer
246 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 ...
5
votes
1answer
923 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} ...
5
votes
1answer
1k 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 ...
5
votes
2answers
830 views

size of page number in footer

I set the size of the text using \fontsize, but this seems to have no effect on the page number. I want to keep the pagestyle as plain. How can I make the font used to print the page number "grow" in ...
5
votes
1answer
3k 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..., ...

1 2 3 4 5 9