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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10397
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: 10397
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