Fonts & Character SetsDefault font for the article

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
vitaliy
Posts: 3
Joined: Mon Nov 03, 2014 1:29 pm

Default font for the article

Post by vitaliy »

I created a document having such kind of connected packages:

Code: Select all

\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
\usepackage[tbtags]{amsmath}
\usepackage{amsfonts,amssymb,mathrsfs,amscd}
The language of the document is russian. I had to use \footnotesize command before my table (tabular environment) to be able to put the information to it. After the table I used \normalsize command, but my font was not changed to default one which was used before \footnotesize command. The new font looks different concerning its family, size and line spacing. What is wrong and how can I go back to my default font?
Last edited by Stefan Kottwitz on Mon Nov 03, 2014 1:50 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Default font for the article

Post by Stefan Kottwitz »

Hi vitaliy,

welcome to the forum!

You could use \normalfont\normalsize, so you also reset the font family.

Stefan
LaTeX.org admin
vitaliy
Posts: 3
Joined: Mon Nov 03, 2014 1:29 pm

Default font for the article

Post by vitaliy »

Stefan_K wrote:Hi vitaliy,

welcome to the forum!

You could use \normalfont\normalsize, so you also reset the font family.

Stefan
Thank you I will try (unfortunately cannot try right now).
vitaliy
Posts: 3
Joined: Mon Nov 03, 2014 1:29 pm

Default font for the article

Post by vitaliy »

Unfortunatelly \normalfont\normalsize does not solve the problem.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Default font for the article

Post by Stefan Kottwitz »

Perhaps post a Infominimal working example, which shows the problem, so we would be able to verify the problem for solving it. It could be a reduced copy of your original document. Just follow the link to get to know more about such an approach.

Stefan
LaTeX.org admin
Post Reply