Hello Everyone,
I created Latex document on MAC, not I need to edit it on PC. It has both Russian and English fonts. Russia fonts is not displayed correctly on PC. I guess it has something to do with encoding, but cannot figure out what exactly. Please see attachment.
Regards,
TeXworks ⇒ Font issue in TexWorks (coming from MAC)
-
- Posts: 2
- Joined: Sat Apr 18, 2015 4:54 am
Font issue in TexWorks (coming from MAC)
- Attachments
-
- Capture.PNG (23.74 KiB) Viewed 7505 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10322
- Joined: Mon Mar 10, 2008 9:44 pm
Font issue in TexWorks (coming from MAC)
Welcome to the forum!
You need the correct encoding for the font and specify it to the
Here's a minimal example with T2A encoding:
Stefan
You need the correct encoding for the font and specify it to the
fontenc
package. It depends on the font. Which one are you using?Here's a minimal example with T2A encoding:
Code: Select all
\documentclass{article}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}
\begin{document}
Это вводный абзац.
Это формула:
\[
y = x^2 + 1
\]
\end{document}
LaTeX.org admin
-
- Posts: 2
- Joined: Sat Apr 18, 2015 4:54 am
Re: Font issue in TexWorks (coming from MAC)
Thank you, Stefan!
Changing encoding in editor to Windows 1251 worked. Too bad it requires restarting editor, it took me a while to figure out. Otherwise, TexWorks is awesome editor!
Regards,
Changing encoding in editor to Windows 1251 worked. Too bad it requires restarting editor, it took me a while to figure out. Otherwise, TexWorks is awesome editor!
Regards,