\fontsize{13}{12}\selectfont
, fontsize is not changed. Please help me ...Fonts & Character Sets ⇒ txfonts | Changing Font Size of Times New Roman
txfonts | Changing Font Size of Times New Roman
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
txfonts | Changing Font Size of Times New Roman
welcome to the board!
You should provide further information, what code you are using, because
\fontsize{13}{12}\selectfont
works. You can see it in this small example:Code: Select all
\documentclass{article}
\usepackage{txfonts}
\begin{document}
Text\fontsize{13}{12}\selectfont Text
\end{document}

Stefan
Re: txfonts | Changing Font Size of Times New Roman
I entered the command \fontsize in preamble. When I entered in body of the document, it displayed correctly.
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
txfonts | Changing Font Size of Times New Roman
\fontsize
or related commands within a redefinition of LaTeX commands such as \normalsize
, \large
, \small
etc. Or does the font size in your document never change, even for headings?If you directly change the font size in the preamble, it would not have effect in the document, a
\begin{document}
implicitly means calling \normalsize
.If you mean to adjust the base font size of the document, I would use a class option. With KOMA-Script classes, arbitrary sizes and units are possble, such as
Code: Select all
\documentclass[fontsize=13pt]{scrartcl}