Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
18 views

latexsym and url with tikzposter: warning about size

When including latexsym, using the \url command from the url package in a tikzposter document results in a warning: “Font shape `U/lasy/m/n' in size <29.86> not available size <24.88> ...
4
votes
1answer
30 views

mathscr with tikzposter?

I like to load mathrsfs in order to access supplementary letter shapes: the ones provided by mathscr are noticeably different than the ones produced by mathcal. But it doesn’t work well with ...
3
votes
1answer
49 views

fontsize does affect only part of the text

I use scrbookand want to set the font for some part of the text with fontsize. The effect is that the text in the normal font is in the normal font size and only special fonts are scaled by fontsize. ...
0
votes
1answer
16 views

Tex4ht (htlatex) html output in sans serif typeface and narrow textwidth

Using the htlatex myfile.tex command which invokes tex4ht, I learned that a rather nice text for web pages can be obtained by simply using the \sf command for an entire web article. Using the helvet ...
0
votes
0answers
19 views

Change figure caption font size individualy

Is it possible to change the caption font size of figures? I know i can declare \captionsetup[figure]{font=...,labelfont=...} But is there a way for one particular figure to deviate from this?
4
votes
1answer
38 views

Why do \large and \textbf require different usage of braces?

\large and other font size commands need to be placed inside a group: In this text {\large some part} is large. Whereas \textbf and other styling commands receive a parameter: In this text \textbf{...
0
votes
1answer
40 views

change book fontsize

My supervisor asked me to change my thesis fontsize, ONLY the fontsize, not the font type. I don't know why nothing work. I tried: \documentclass[13pt, twoside, openright]{book} but it seems to ...
5
votes
2answers
61 views

It possible to have subscript and super script that does not shrink the font size?

It possible to have subscript and super script that does not shrink the font size? Usually the font size becomes smaller: e.g. Is it possible to have the subscript and superscript in normal font ...
0
votes
2answers
37 views

Making equation fit on one beamer slide

I'm doing a presentation and one of the slides has a particularly long equation, which I want to fit on the page. What's the best way to fit this on the page without altering the size of the other ...
2
votes
3answers
52 views

Fixed font size for table with variable columns

I am constructing a table consisting of three different \tabular environments. Each environment consists of a different amount of columns. I want the three tables to be all at textwidth so I used \...
3
votes
3answers
70 views

Reduce size of sum sub/superscript?

I have a text with lots of sums where the sub/superscripts are pretty long, as in $\displaystyle\sum_{ k=1+min\{a-1,b-1\}}^{ max\{a-1,b-1\} } i_k$ and when I compile the text gets very ugly, since ...
1
vote
1answer
31 views

Decreasing font size and space in verbatimInput{data.txt}

How to decrease the text size and reduce space in VerbatimInput{data.txt}. Also text goes out of page both horizontally and vertically. \begin{figure} \fbox{\begin{minipage}{16.7em} \...
0
votes
1answer
24 views

How to automatically shrink lines in align block to fit hbox?

I have written the following latex \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \renewcommand{\P}{\mathcal{P}} \date{May 2019} \begin{document} \begin{align*} &...
4
votes
3answers
156 views

How to make the same font size for both numerator and denominator?

As you can see below, the 3/2 looks so weird in which the font size of the numerator is bigger than that of the denominator. How to make it get balanced? \documentclass[pstricks,border=0pt,12pt]{...
0
votes
0answers
15 views

Having problems to set size of font in my document [duplicate]

I am experiencing some issues when I want to set the font size of my document to 14pt. If I set a number different than 12 the size of the font becomes smaller. Honestly I am kinda new using LaTeX so ...
0
votes
0answers
36 views

How to increase the font size of a big wide table?

Recently I had a major revision from a journal and the reviewer complained that "Table 4 is difficult to read". The snapshot of the table in PDF version is given below... Also the latex code for the ...
1
vote
1answer
39 views

How to dynamically adjust font size for variable content to fit a page?

I am in a situation, where some content is dynamic in nature. Sometimes it fits exactly one page, but sometimes there are more texts and it takes more than one page. If it fits exactly one page, or ...
1
vote
1answer
26 views

Change font size of thebibliography environment for article documentclass

I would like to use a smaller font size for thebibliography environment. After reading the answers to the question What font size is used in the 'thebibliography' environment? I learned that the font ...
3
votes
2answers
92 views

Bigger equation in text-mode math

I want to write a "big" equation, not in display-math mode -- as given by the equation environment -- but in inline-math mode, say $E=mc^2$ How can I enlarge it?
0
votes
1answer
93 views

How can I adjust the font size of this arxiv template?

I am submitting a paper for a small project and really like the arxiv template found here on Overleaf. Unfortunately, the font size is a bit too small for my professor's eyes when printed. The only ...
1
vote
1answer
53 views

How to change the fontsize of equation for the entire book in one command line not to do it for every equation

I have a book with the font size of equation smaller than that of text. Please look at how small $\pi$ compared to the rest: \documentclass[openany]{book} \usepackage{amsbsy} \usepackage{changepage} \...
1
vote
1answer
35 views

Resize the text and keep the color box the same size

Hi I have a gray box that contains my python code, I want to reduce the size of the code, but keep the grey box the same size. This is my latex code: \lstset { %Formatting for code in appendix ...
2
votes
2answers
35 views

How to generate row vector command from this code

I found following code at Matrix in small size \documentclass{article} \usepackage{graphicx,amsmath} \newcommand{\colvec}[2][.8]{% \scalebox{#1}{% \renewcommand{\arraystretch}{.8}% $\begin{...
0
votes
0answers
39 views

Changing size for inline math and for math environments separately

I am writing my thesis in the memoir class, and had to change the general font size for the document to 12pt. Because I use a lot of align environments with long formulas, I changed the size of these ...
2
votes
1answer
26 views

How to get the font size parameter passed to the main standard classes?

For complex length manipulation (see here), I would need to get the font size that was passed as an option to the document class: \documentclass[12pt]{article} \newlength{\mainfontsize} \setlength{\...
2
votes
1answer
51 views

How to scale MetaPost drawings with consistent line width and label text size in ConTeXt?

I am using MetaPost to create some simple drawings in a ConTeXt document. In this example, I have a row of 14 boxes: \startMPcode draw (0,0)--(100,0)--(100,100)--(0,100)--(0,0); draw (100,0)--...
0
votes
1answer
34 views

Write in several sizes in multilingual documents with polyglossia

I have to write, in the front page of a document, and in other pages, sentences written in english, in the font "Times new roman", and sentences written in Arabic, in the font "Traditional Arabic", in ...
3
votes
1answer
53 views

Changing fontsize within osx-presentation

This question is based on the second answer from Is there a nice solution to get a "presenter mode" for Latex presentations? where the author of the answer wrote a tool called osx-...
2
votes
3answers
78 views

Resize font size in Latex table when using \resizebox{\textwidth}{!}

I am trying to increase the font size of the text in this Latex table to make it easier to read, while also fitting it to the page using \resizebox. How do I proceed? Here is what I have already ...
3
votes
1answer
55 views

Change font size in Table

How do I change the font size in my table? I have tried the \normalsize and \small commands, but it doesnt make any difference. I needed to specify column length to get the design I wanted, does ...
0
votes
2answers
43 views

Changing font size of a specific portion of the overall document

I have to write a paper for one of my classes and I have what I'm sure is a very basic question that I can't seem to find the answer for. Basically, I just want to be able to increase the font size ...
1
vote
1answer
23 views

Strange listing alignment behaviour with and without a frame

Consider the following code which does an alignment experiment with listings. We are interested in the behaviour aboveskip and belowskip with and without a frame. % -----------------------------------...
0
votes
0answers
36 views

Trouble changing font size - using documentclass article

Writing a paper, trouble with fonts. The font seems small to me - so I have tried a) changing it from 10 to 12 or 14 (see below), and b) trying to use extra larger font size (also below). I'm focusing ...
0
votes
1answer
137 views

How to change overall font size of minted? [duplicate]

While using minted I can change font size (Change font size in minted) on each individual place using the fontsize=\footnotesize: \begin{listing} \inputminted[fontsize=\footnotesize]{javascript}{file....
1
vote
1answer
53 views

Adjusting font size

Currently using a template from my university that uses this to define font: \def\titlefont{\rmfamily} AND \setsansfont[ Path = fonts/, Extension = .ttf, BoldFont = *-Bold, ...
1
vote
1answer
35 views

How do I make a term more proportionate?

The following code: In order to find $A_{0}^1$: \begin{equation} A_{0}^{1} = \lim_{z \rightarrow -1}\dfrac{d^0}{dz^0}\Bigg[\dfrac{(z+1)z}{(z+1)(z-2)}\Bigg]=\lim_{z \rightarrow -1}\dfrac{z}{(z-2)}=\...
0
votes
0answers
25 views

Create a template for thesis report with custom fonts

I want to write my thesis report using latex. I want to create a template for this so anybody in my class can use this easily. I these font sizes 11 [Chapter Body] 12 14 16 [Chapter Title] 18 What ...
2
votes
3answers
112 views

Characters won't fit in table

I'm using Overleaf to make a uni work and I need to make a table which at first was too long, and now the characters won't fit in the cells. As I see it's demanded in other posts, I'll paste the ...
0
votes
0answers
168 views

lstlisting basicstyle with color and fontsize

I have a setting of lstlisting as shown below. I would like to change to font size of the listing. I know that I can do that with basicstyle=\tiny or similar, but that loses the basicstyle=\color{...
1
vote
1answer
84 views

glossaries: how to typeset the list of page numbers in \textsmaller and reduce the vertical gap

I use glossaries-extra to typeset the list of symbols in a book I edit. Since the book is large, the list of page numbers for each entry is long, making the whole glossary occupy too much space. I ...
2
votes
1answer
36 views

How to change fonts while keeping the contents of each page?

How can I change the fonts and possibly margins of a document, while keeping the contents of each page the same? An example is this site(https://econtheory.org), which provides “view” and “print” for ...
1
vote
1answer
46 views

Environment to get degressive text size like optic’s chat-like text

The goal is to get with the following MWE \documentclass{book} \begin{document} \begin{degressive} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus ...
3
votes
3answers
36 views

Fontsize not affecting some bbm symbols

Stemming from a very similar question I asked previously, I was surprised to see the following symbol from the bbm package is not being scaled correctly. The offending symbol MWE Based on this ...
0
votes
2answers
73 views

Change font size of section title in document without messing table of contents and headers

I know this is technically wrong and I shouldn't even be attempting to do it... Nevertheless, I have a document which has section header sizes set up as Large and works fine everywhere except for one ...
1
vote
1answer
52 views

Searching for a specific font size for titles

I must write an article with a specific size for titles: 14 pt and 12pt for the text. How could I do that? This is my MWE : \documentclass[12pt,twoside,openany]{article} \usepackage[utf8]{inputenc} \...
0
votes
0answers
37 views

How to accurately set the font size for different lines?

I need to create the cover page for my thesis. The university provides the specifications like this: ‐ Univerity logo. ‐ Faculty name: Palatino Lynotipe, 16pt, capitalized. ‐ Department: Palatino ...
2
votes
1answer
22 views

How change the size the title 'Dedicatory'

i have this code, and want change the size the title 'dedicatory' 20pts \documentclass{article} \usepackage{ragged2e} \newenvironment{dedication} {\clearpage % we want a new page \...
0
votes
1answer
34 views

How to access `\ninerm` (and some others) font in pdfTeX?

I can only use \tenrm\, \sevenrm, and \fiverm fonts; there are no \ninerm or \sixrm. I would appreciate if you share how to make ALL of those font sequences work.
1
vote
1answer
86 views

How to keep font size in document and table same [duplicate]

I am writing a paper in acmart (ACM SIGCOMM provided style). In the paper there is few tables. But font inside the tables are of variable size. Sometime they are large sometimes small. Is there any ...
1
vote
2answers
44 views

How can I get a table to exceed left and right margin equally without changing its font size?

When I use adjustbox to modify the width of a table, even the font size changes. How can I increase the table width but let it exceed both margins equally? My MWE \documentclass{elsarticle} \...