User Tools

Site Tools


faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
faq [18/03/2020 13:44]
admin [git repos]
faq [06/08/2020 09:41] (current)
admin [FAQ]
Line 1: Line 1:
 ====== FAQ ====== ====== FAQ ======
 +
 +===== LaTeX =====
 +
 +При использовании русского, PDF файл генерится в неправильной кодировке. Для исправления ситуации надоиспользовать пакет **cmap**:
 +<code>
 +\documentclass[a4paper,11pt]{article}
 +\usepackage{cmap}
 +%\usepackage[utf8]{inputenc}
 +\usepackage[english,russian]{babel}
 +%\usepackage{graphicx}
 +%\usepackage{url}
 +%\usepackage{xcolor}
 +%\usepackage{ulem}
 +
 +%%%%%%%%%%%%%%%%%%%%%%%
 +\begin{document}
 +%%%%%%%%%%%%%%%%%%%%%%%
 +
 +Это русский.
 +
 +This is English.
 +
 +PDF генерится в правильной кодировке (UTF8, пакет cmap)
 +
 +%%%%%%%%%%%%%%%%%%%%%%%
 +\end{document}
 +%%%%%%%%%%%%%%%%%%%%%%%
 +</code>
  
 ===== git repos ===== ===== git repos =====
faq.txt · Last modified: 06/08/2020 09:41 by admin