Skip to main content

Questions tagged [fontsize]

{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.

2 votes
2 answers
215 views

Looking for an Optimal Way to Change the Font Size of Index Entries Only (Not Headings or Subheadings)

This post is a bit of an extension of the one posed in \indexsetup{othercode=\FONTSIZE} Not Changing Fontsize with Idxlayout When one specifies an index font size with idxlayout as such: \usepackage[...
DDS's user avatar
  • 9,768
1 vote
1 answer
159 views

\indexsetup{othercode=\FONTSIZE} Not Changing Fontsize with Idxlayout

Consider the code \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage{idxlayout} \usepackage{lipsum} %\usepackage[font=footnotesize]{idxlayout} \...
DDS's user avatar
  • 9,768
1 vote
0 answers
672 views

Why can't my LaTeX find bbm font other than some specific size?

So, I'm using bbm package to extend the original \mathbb{} from amssymb to the non-capital-alphabet region. This works fine in the ordinary part. But, when I try to change the size of the math mode, ...
Qi Tianluo's user avatar
1 vote
0 answers
124 views

Get size of sub/superscript

I would like to get the value of the font size of the selected text. For example, for an article with a global font size is 12pt, I want to know the font size of the corresponding sub/superscript (...
Nuec Tah's user avatar
  • 139
1 vote
1 answer
447 views

change font size of label of vertex in tkz-graph?

I am currently writing a tex-file in which I also need to create a graph and label the vertices. I am using the package tkz-graph. \documentclass{article} \usepackage{tikz} \usepackage{tkz-graph} \...
amhineoni's user avatar
5 votes
1 answer
107 views

On the strange 1.7 pt offset when positioning a + sign at (0,0) node with the lmr 13 fontsize

I get a strange 1.7 pt offset when positioning a + sign at (0,0) node with the lmr 13 fontsize. When using the default font and default font size no offset appears, red + shown below. Do you know how ...
Aria's user avatar
  • 1,523
0 votes
0 answers
36 views

Caption package, how to set font point size with other customizations in captionsetup (question updated, more specific now) [duplicate]

Edit: question updated to be more specific I am creating a chapter report template in LaTeX that will be used by others, mostly in Overleaf. There are requirements for fonts, indentations, etc. that ...
a11's user avatar
  • 158
2 votes
2 answers
345 views

Changing the font size of text along path using tikz within animation, leads to TeX capacity exceeded error

I'm trying to create an animation of a geometrical figure using Tikz and the animate package, in which I want to typeset the angles between lines frame by frame. I can actually achieve this, however ...
Charlie's user avatar
  • 1,135
1 vote
1 answer
164 views

Numbers in exponents appear stretched

When I typeset an equation such as $$\frac{1}{2}^{\frac{1}{123}}$$ Then the numbers, in this case "2" look stretched in the exponent. The "2" in the fraction 1/2 looks perfect, ...
itecMemory's user avatar
1 vote
2 answers
100 views

On the low quality of larger font sizes

I noticed the default font size 10 has a high quality meaning when we enlarge the resultant pdf we do not see the pixels. But unfortunately that is not the case for larger font sizes such as 12 and 20....
Aria's user avatar
  • 1,523
0 votes
1 answer
113 views

Issues with termcal and extarticle when using a large font

I am using the termcal package to create a calendar for a class I teach next semester. This calendar is embedded into the class syllabus, which needs to be typesetted in the 14pt size font. To achieve ...
Physicsworks's user avatar
  • 1,325
0 votes
0 answers
437 views

Change font size and style in custom environment

I am using a textbook template from tstextbook. This template has several custom environments (e.g. theorem, exercise etc.) which are outlined in a box and have title styling. \newenvironment{...
fractalflame's user avatar
1 vote
1 answer
5k views

The Fonts \large and \normalfont (not \normalsize) are Strikingly Similar. Is There a Difference?

I have noticed that the fonts \large and \normalfont seem to be strikingly similar. For instance, consider \documentclass{book} \usepackage{lipsum} \usepackage{xcolor} \begin{document} \large {\Huge{\...
DDS's user avatar
  • 9,768
1 vote
1 answer
115 views

Specifying Fonts sizes by numeric values instead of standard commands

I need to use a custom font called Calibri in order to mimic some word form. In that word form the font size changes repeatedly. I know of two ways to change the font size. Either at the beginning of ...
Till's user avatar
  • 133
2 votes
2 answers
253 views

Splitting a string with xstring and using command on separated string

I want to split a string into two parts, the first letter in the first part and the rest in the second part. Then I want to convert the whole string to uppercase and write the second part in \...
Masum's user avatar
  • 1,029
1 vote
0 answers
43 views

How to set the linespacing=2(doublespacing) using \fontsize{<size>}{<size>}\selectfont

I want to change the spacing to doublespacing using the \fontsize{<size>}{<size>}\selectfont to be more flexible for different font sizes. example one using 12pt font size \fontsize{12pt}{&...
e0238015's user avatar
  • 239
1 vote
0 answers
49 views

Looking for a Simple Way to Change Default Font Sizes in the TOC

Consider the MWE \documentclass{book} \usepackage{tocloft} \usepackage{xcolor} \let\cleardoublepage\clearpage % Clears all blank pages \renewcommand\cftchapafterpnum{\vspace*{5pt}} \renewcommand\...
DDS's user avatar
  • 9,768
0 votes
0 answers
82 views

Exclude inline math from \DeclareMathSizes

I am using \DeclareMathsizes to display equations with a larger font than the rest of the text. But this is also applicable to inline math. Is there a way to exclude inline math from this command? \...
Varad Kulkarni's user avatar
0 votes
2 answers
748 views

How to write the title of an article in Times New Roman 14 pt bold?

I need to write the title of my article in Times New Roman 14 pt bold. How do I write it? I don't know as I am new to latex.
Sangeeta Dey's user avatar
5 votes
2 answers
539 views

\Scalefont Not Scaling (Strictly) Monotonically

I have noticed that when using the command \scalefont{} (from the scalefnt package), a decrease in the scaling factor does not always produce a corresponding decrease in the displayed font size. To ...
DDS's user avatar
  • 9,768
1 vote
5 answers
1k views

How to fit a quote into a beamer's frame?

I have a long quote that I want to fit into a beamer's frame. Of course, I could just change the font size, but I would prefer a solution that works automatically and rescales different font sizes in ...
wiktoria's user avatar
3 votes
1 answer
86 views

Newly-Defined Scaled Bullet Point Not Being Scaled When Invoking New Definition

Consider the code \documentclass{book} \usepackage{xcolor} \usepackage{scalefnt} \usepackage{amssymb} \newcommand{\m}{\textcolor{blue}{{\scalefont{1.00}{\maltese}}}} \newcommand{\M}{\textcolor{blue}{...
DDS's user avatar
  • 9,768
1 vote
4 answers
469 views

How to make really big font size so that a tiny word covers the entire page?

Here is my attempt so far to create a LaTeX document with centered text that looks as large as it can be. Code: \documentclass{article} \usepackage[a4paper,landscape]{geometry} \pagenumbering{gobble} \...
Lone Learner's user avatar
  • 3,256
1 vote
2 answers
221 views

How to change the fontfamily of equations in environment

When we change fontfamily in an environment, the equations font does not change. It makes the whole environment is asynchronous. Please show me how to change the family font of the equation in this ...
Nam Tran Le's user avatar
0 votes
2 answers
29 views

Why does the linespacing apply only to the first line?

I am making my own title page(there are better ways), what I don't understand is for the line: {\fontsize{18pt}{25pt}\selectfont FOooo\\COOoooo\\Fooooo} Why only the first line respects the ...
Dhruv Thakkar's user avatar
1 vote
0 answers
1k views

Change font size in legend

I have the following tikz plot figure. I want the legend to have a smaller text. I would prefer to just scale it by 0.5. Is there any easy way to do that? Thanks in advance! \documentclass[10pt,...
paupau's user avatar
  • 11
4 votes
3 answers
711 views

Display equation in small size and keep the equation number in normal size

My question is: how can I make the equation number of the footnotesize equation desplayed in the normalsize? Currently, the equation number (2) appears too small in footnotesize. \documentclass[...
yufiP's user avatar
  • 107
4 votes
1 answer
530 views

Reduce font size within all proofs

I'm working on some notes with plenty of proofs. I'd like to reduce the font size of the proofs, while holding constant the size of the rest of the text. Here is some code that achieves this by ...
James's user avatar
  • 43
0 votes
1 answer
71 views

Enlarge width of part in book while using \Large

About this code \documentclass{book} \usepackage[utf8]{inputenc} \usepackage{tocbibind} \usepackage{color} \title{A book} \author{PUCK} \date{\today} \begin{document} \maketitle \Large \...
Puck's user avatar
  • 1,212
0 votes
0 answers
95 views

TeX in EPUB file is shrunk on e-reader

Here is what my EPUB file looks like in Calibre: and here is what I see on my newly purchased e-reader: As you can see, the LaTeX in math environments is shrunk to an unreadably small size. I would ...
There's Strange Stuff Out Here's user avatar
0 votes
0 answers
26 views

fonts, style, color, for a thesis writing [duplicate]

I am sorry to ask this as this may be difficult to know, but any idea what fonts, colour, or in general, what kind of set-up has been used to write this thesis? Thank you very much.
Myshkin's user avatar
  • 669
0 votes
2 answers
266 views

Scale tt font starting from current page

My goal is to scale the tt font down starting someplace in the document. I achieved it by using \fontsize{7pt}{11pt}\selectfont: \documentclass[parskip=half-]{scrreprt} \usepackage{lmodern} \...
Michael's user avatar
  • 197
1 vote
2 answers
775 views

How to resize font in align* environment

A similar question has been posted here about the align environment. However, the solution does not seem to work for align*. Preceding paragraph. {\small \begin{align*} a &< b \...
Adrian's user avatar
  • 471
2 votes
1 answer
68 views

How can I get the current subsection title font size?

I'm want to get the font size of a subsection title to use it manually in other parts of the same document as a title using \textbf. How can I do it?
Thesevs's user avatar
  • 75
1 vote
1 answer
63 views

Fontsize (14) Apparently Not Working in a Tikzpicture

Consider the code \documentclass{book} \usepackage{lipsum} \usepackage{tikz} \usetikzlibrary{decorations.pathmorphing} \definecolor{boysenberry}{rgb}{.529, .196, .376} \begin{document} \thispagestyle{...
DDS's user avatar
  • 9,768
1 vote
1 answer
158 views

Why does fontspec not handle setting the font size in points?

I would like to set the exact size, in points, of a font in my TeX document. Perusing through the fontspec documentation, I did not find a lot of information related to setting the font size. So I ...
user32882's user avatar
  • 1,594
2 votes
1 answer
215 views

changing the font size dynamically

For my document I have some commands that write a bit of text in a different font-size. This works fine until I want to set this text as subscript. The text generated by my command then has the same ...
Xoriun's user avatar
  • 161
2 votes
1 answer
731 views

Modify my tcolorbox

I am trying to make a color box in which I wish to add some words. How can I make the word "ap" centered? Even please suggest to me any other ways in order to make my box attractive. One ...
SandyM's user avatar
  • 2,881
0 votes
1 answer
363 views

Changing the title of an AMS article to small caps

This question shows how to remove the full capitalization of the title when using amsart.cls. However, I'd still like to have small capitalization (and bold font) in the title, so that the title ...
Pace Nielsen's user avatar
0 votes
0 answers
276 views

Ways to remove the horizontal stretching of smaller fonts?

I apologize if this is simple, but I am not really sure how to do this. Is there a way to make the smaller fonts not stretch horizontally so much? From what I read it is for readability, but in this ...
jfang5's user avatar
  • 59
2 votes
0 answers
34 views

How can I change font in Latex? [duplicate]

I would like to change the font size in LaTeX from 12 to 14 how can I do that? I am using the following code but it's not working: \documentclass[a4paper,12bp]{article}
Python's user avatar
  • 47
1 vote
1 answer
66 views

On the Use of Vstretch in a Minipage Environment

Consider the code: \documentclass[12pt]{book} \usepackage{scalefnt} \usepackage{scalerel} % For Vertical Stretch of Letters \usepackage{xcolor} \begin{document} \thispagestyle{empty} \begin{center} \...
DDS's user avatar
  • 9,768
0 votes
0 answers
112 views

Enumerate environment inside scalebox

I want to reduce the text below to a scale 0.5: \lipsum[1-1] \begin{enumerate} \item \lipsum[1-2] \item \lipsum[2] \end{enumerate} However, When I use \scalebox{0.5}{ \lipsum[1-1] \begin{...
Angelo Aliano Filho's user avatar
0 votes
2 answers
540 views

How to Declare Font Size Class Option

I am creating a class with options, and desire to be able to \DeclareOption with the font size... For example it would be nice to be able to write in the .tex file documentclass[12pt]{myclass} And in ...
jelt's user avatar
  • 11
0 votes
1 answer
188 views

How to increase the font in `paper` document class

I am using paper document class however the font defaults to a smaller size even if I mention explicitly any other sizes. How do I change it to a larger font size or override it ? Edit: I couldn't ...
user avatar
1 vote
0 answers
25 views

How to fix the font size or cells size in tables [duplicate]

i want to fix the font size or cell size to do the table looks better. My code is as follow: \begin{table} \centering \begin{tabular}{>{\centering}p{0.17\textwidth}p{0.18\textwidth}p{0.18\...
Sebastián Mena's user avatar
2 votes
1 answer
140 views

Different font for math character in TexStudio

While changing some syntax highlighting settings, something accidentally happened in the TexStudio editor that made the macros a different font. How to change back? It looks like this now.
Arvind's user avatar
  • 33
6 votes
4 answers
2k views

Why do Latex classes often have font size limitations?

I am a new user of Tex and am planning to just forget Latex and write raw Tex documents. One of the major reasons for this is that nearly all the common Latex classes I have seen have seemingly crazy ...
Tyler Durden's user avatar
6 votes
1 answer
486 views

Behavior of text character under subscript in math mode

I defined the following macro (thanks to this question) \font\maljapanese=dmjhira at 2.5ex \newcommand{\yo}{\textrm{\!\maljapanese\char"48}} which prints the Hiragana letter よ. This works fine ...
Lorenzo Riva's user avatar
0 votes
1 answer
111 views

change the size of the labels? [closed]

In the following code, I would like to make all the vertex and edge labels the same size. \documentclass \begin{figure}[H] \begin{center}\setlength\extrarowheight{7pt} \begin{...
Alfons's user avatar
  • 13

15 30 50 per page
1
4 5
6
7 8
41