{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

1
vote
1answer
44 views

How to scale a box based on the font size of another piece of text?

I'm trying to make a chapter style in a memoir document. This is the current code: \documentclass[11pt]{memoir} \usepackage[oldstyle]{libertine} \usepackage{lipsum} ...
2
votes
1answer
28 views

Control header position and font size

I need to: place the page header 1 inch from the top of the page. change font size for the page header to be the same font size (\normalsize) as in the table of contents. I've used geometry as ...
3
votes
1answer
54 views

Change font size of item number on left of itemize list

Considering the following TeX code: \documentclass{article} \begin{document} \begin{itemize} \item[1] abc \item[2] def \end{itemize} \end{document} How one can change the font size of ...
5
votes
1answer
85 views

Spurious whitespace wrapping display math in \small

I can put display math in the middle of a paragraph of text using \[...\], but I would like the math to use font size small. If I wrap the display block in {\small...} the second half of the ...
0
votes
0answers
49 views

Problems with font size and font family

I have a document in book class and have two problems: Font size in math mode and text mode is not the same. I want all but headings in the same font size for all the document, for example, 12pt. ...
0
votes
1answer
28 views

Change the size of a particular piece of text [duplicate]

I want to increase the size of a particular text. Suppose I want to write the following: "I am a hungry cat I want to drink the rains I am not thirsty" I want the middle line to be written in big ...
0
votes
1answer
80 views

Change fontsize for CJK characters?

I have the following example: \documentclass[10pt, a4paper, parskip=full]{article} % twoside can be added if two sided margin layout is desired \usepackage[a4paper,vmargin={30mm, 20mm},hmargin={30mm, ...
0
votes
1answer
44 views

xpinyin change font

I am using the package xpinyin for displaying pinyin, a Chinese phonetic script above Chinese characters. This seems to work well, but I want to change the font of the phonetic script. I found some ...
3
votes
1answer
56 views

Help with formatting headers

People. I am new person to LaTeX. I wasted a lot of time for these easy things... I am sorry to interrupt all of you. oh, I am trying my best to find solution to these problems. But everytime ...
2
votes
0answers
25 views

Why are the axis labels too large when using tikzDevice and lattice?

I'm working on a paper that is to be submitted to an Elsevier journal. The official guidelines state that: As a general rule, the lettering on the artwork should have a finished, printed size of ...
2
votes
0answers
22 views

How to change font of bibliography with no extra text appeared before it?

I want to change font of bibliography (using package natbib). I found some solutions here. They worked for me, but the text size (e.g.: \small or 10pt) started to appear as text before bibliography. I ...
2
votes
1answer
42 views

Change fontsize of an array within an align environment

I am trying to label several lines at once in a very long equation. From this question I have come up with the following minimal example: \documentclass{report} \usepackage[onehalfspacing]{setspace} ...
1
vote
1answer
35 views

How do I get the font sizes I need when they are in between the defaults? SAE Class progress

I don't really know much about hacking together a class file, but as I have mentioned elsewhere on the forum, I am trying to do one for SAE. My current class file only supports a 10pt font size as the ...
1
vote
2answers
64 views

How to make the same font size?

I have a question, why it's a difference font size of "name" and "name of department"? And how to make it the same? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} ...
3
votes
1answer
41 views

how to change font-size of a tikz tree

Is there a possibility to change the font size of the text right on the line of the following tree? I would like to reduce it, so that the tree does not appear such big. I hope someone may help me. ...
1
vote
1answer
91 views

Make small caps the same size as lowercase

Letters in small caps (\scshape) are larger (height and width) than lower case letters. How can you make them the same size? Minimal example: \documentclass{article} \begin{document} Default: ...
1
vote
0answers
46 views

Section, figure, table numbers are in smaller font size [closed]

I have used \include{resultsanddiscussion} to import certain chapter results and discussion. I have used \fontsize{16pt}{18pt}\selectfont to determine heading size 16 pt and spacing 18 pt. the code of ...
3
votes
1answer
70 views

Beamer: how to change the font size in math mode?

The first image is what I have at the moment, the second image is what I would like to get. As you can see, in the second image the formula font size is a little bit bigger than in the first image. I ...
4
votes
4answers
197 views

Identifying and writing the font size

I am trying to identify whether the current font size is small. So here is a MWE of what I am trying to do \documentclass{article} \usepackage{ifthen} \begin{document} \makeatletter ...
2
votes
2answers
228 views

Is there any second way to change font size!

I am using a specific latex template for my thesis. But I cannot change the font size, that I want to have 14pt. Here is my code: \documentclass[MACS,english]{gucthesis} \usepackage{geometry} ...
2
votes
1answer
134 views

Increasing the size of the navigation sidebar text in Beamer (Berkeley theme)

How can I increase the size of the navigation sidebar in Beamer? I'm using the Berkeley theme. I'd only like to change the size of the sections and subsections, keeping the subsection size smaller ...
1
vote
1answer
140 views

change font size of moderncv

How can I increase the font size in moderncv? The font size in \documentclass is currently ignored. I only found solutions to change \namefont, \titlefont, \addressfont, \quotefont, \sectionfont, ...
1
vote
1answer
64 views

Matlab2tikz breaks major tick weight

matlab2tikz breaks my tick weights on both x-and-y axis. The figure in MATLAB looks like following. After running it through matlab2tikz with all possible known options of ExtraAxisOptions, I ...
0
votes
1answer
75 views

How to change section spacing article class

I want all my section headings and body text to be spaced as per below rule. I use article class. Space before: 0pt Space after: 50–100% of text size Line spread = 135% of text size How can this ...
3
votes
1answer
120 views

How can I expand the font size within a heading (section, subsection, etc.)?

I'd like to make a list of headings with their font sizes: I envision something like the following: \documentclass{article} \begin{document} \section{{\textbackslash}section \makeatletter\f@size ...
1
vote
1answer
49 views

Changing font size inside table [duplicate]

\documentclass[a4paper,12pt]{article} \usepackage{amsmath,amssymb} \usepackage[hang,perpage,symbol*]{footmisc} \usepackage{array} \usepackage{enumitem} \usepackage{scrextend} \usepackage{url} \title{} ...
2
votes
1answer
24 views

Incorrect vertical line spacing after changing font size in table

I would like to change the font size of a parragraph in a table cell. If I do not put \par at the end of the parragraph it does not do the correct line spacing. However, if I put it, I get an anoying ...
2
votes
2answers
153 views

Reduce section, subsection font size in beamer sidebar

I have the same problem listed here: Reduce fontsize beamer sidebar Except the given answer there does not work. Thanks to the rules here at Stack Exchange, I am not allowed to post any comments ...
2
votes
0answers
73 views

latex \fontsize{12}{18} equals to MS Word 12pt and its linespace 1.5?

I use \fontsize{12}{18} in latex for 12pt and its linespace 1.5 in MS Word. But I think not equals. Why? And what is correct option in \fontsize{?}{?} ?
1
vote
1answer
96 views

Writing in OCR-B, size 1

I have a specification stating that I need to write in OCR-B, size 1. I am currently using the package ocr, but using the macro \ocr{0123} results in a font way to large, compared with a test PDF I ...
4
votes
3answers
375 views

What are compact fonts for which I can easily set the font size to 11.75?

As the title already says, I am looking for a nice font, which is also appropriate to write formulas in. It would be nice to be able to set the font size to 11.75 (I am a little bit short of space).
2
votes
1answer
221 views

How can I use Times New Roman in size 11.5?

I always get the following warning: LaTeX Font Warning: Font shape `OMS/cmsy/m/n' in size <11.5> not available
4
votes
0answers
59 views

Is font size in latex comparable to font size in word? [duplicate]

I need to hand in my master thesis soon and the guidelines state that it's highly recommended to take font size 12. However, when I use \documentclass[10pt,a4paper,fleqn]{article} \usepackage{times} ...
4
votes
1answer
46 views

How to adjust the font size of bera sans?

I am using the Utopia font in my document, and it works perfectly well. As I want to put chemical formulas in sans-serif font, I was now looking for a suitable sans serif font to match the Utopia ...
3
votes
2answers
103 views

Issue with KOMA fontsize=10.5pt option and onehalfspacing setting for setspace

My document isn't compiling anymore as soon as I use a fraction as fontsize in \documentclass[fontsize=10.5pt]{scrartcl}. Compilation breaks at \usepackage[onehalfspacing]{setspace} with the error ...
4
votes
1answer
107 views

Fonts in (AMS)TeX

The source files I am playing with are in ordinary (AMS)TeX, not LaTeX. I find TeX fontography (is this a word?) to be rather confusing. In other document processing (like OpenOffice or MSWord, or ...
1
vote
1answer
262 views

Different font sizes for Figure and Subfigure Captions

That's what I use \usepackage{caption} \usepackage{subcaption} The template I'm using is from a university and uses the Koma Script When adding figures or graphs I do this: \begin{figure}[h!] ...
8
votes
2answers
57 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} ...
10
votes
1answer
202 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 ...
7
votes
1answer
115 views

How can I have my ordinary delimiters come from the same font but 1 pt larger?

This question is general, but arises because I am using Times fonts; in CM, I would not make these changes. In CM, delimiters have a height that is larger than that of a capital letter, whereas in ...
2
votes
1answer
127 views

Setting fontsize in scrbook class

I currently use the scrbook class with a custom TrueType font that I included manually. The font is called GARA (a Garamond variant), and I have written an .fd file etc. for it. The font is scalable, ...
1
vote
0answers
43 views

How to change font size of headdings without impacting TOC

I am a relatively new to LaTex and I am using a template provided by my university to write my thesis. The current headings for my chapters are in very large font and when I adjust them using the ...
1
vote
2answers
108 views

Relative text size in TikZ

I'm trying to design an academic poster for a conference. I have a very specific layout that I'd like to implement. Unfortunately, as this layout is bespoke, no templates will allow me to achieve this ...
4
votes
2answers
134 views

Text is smaller in fractions in multiline equations?

The text size shrinks in a multiline equation when I use fractions. How can I keep it the same as the non-multiline equation size? \begin{equation} \begin{cases} p = ...
0
votes
0answers
22 views

Set numeric subscripts to be the same height as alphabetic subscripts

In regular math mode, the height of a numeric character is twice the height of an alphabetic character. But when using both as subscripts, I'd like to reduce the size of my numeric subscripts. In ...
0
votes
0answers
13 views

Remove the slight indentation after using small font size - AAAI format

When using the small font size to change some parts of the file locally, such as: \documentclass[letterpaper]{article} ..... \begin{small} \[\begin{array}{l} Some formulas \end{array}\] ...
1
vote
2answers
79 views

Fonts from custom math command does not get resized in subscripts and superscripts

I have a particular type of symbol in my document that I want to typeset in a different font. Hence, I defined a macro \tn to make this shorter. After several attempts, I ended up with the definition ...
2
votes
1answer
73 views

Answer environment should give different font and different size I want. How can I do?

I am working with this codes for my Question paper. \documentclass[10.5pt,a4paper,addpoints]{exam} \newbox\allanswers \setbox\allanswers=\vbox{} \newenvironment{answer} {% ...
4
votes
2answers
74 views

How do I change font in array environment inside an equation?

I have the following code to define a piece-wise equation as shown in the following figure: \begin{equation} \label{xput_vc} Throughput_{VC} = \begin{array}{cc} 1 & N_{VC} \leq N_{slave} \\ ...
4
votes
1answer
207 views

Changing font size in forest decision tree

I want to change the font size of the following forest decision tree to \footnotesize. When I add font=\footnotesize to for tree, it only the size of the "Name"s get changed, but not the edge labels ...