Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [font-encodings]

{font-encodings} is about the various font or output code pages like T1 (for Latin) or T2*x* (for Cyrillic) which tell the compiler where to find a particular glyph (character) in a font file, hereby supporting correct hyphenation of words. A popular package for pdfLaTeX is fontenc.

0
votes
1answer
21 views

Using different fonts for multiple languages in Overleaf

I'm using Twenty Seconds Resume template in overleaf https://www.overleaf.com/latex/templates/twenty-seconds-resume-slash-cv/mhyfwrmwjkbc But I met a problem and I can't solve it after trying for ...
0
votes
1answer
21 views

Texmaker editor and others show incorrect cyrillic symbols

I'm trying to build a template from this russian journal. But no editor can recognize what encoding is used. It is supposed to be 'cp866' but it looks like this à ®æ¥áá ®ä®à ¬«¥­¨¨ ...
2
votes
0answers
10 views

How to use T2A with newtxtext? [duplicate]

The MWE below produces a warning LaTeX Font Warning: Font shape `T2A/ntxtlf/m/n' undefined (Font) using `T2A/cmr/m/n' instead on input line 4. I tried to locally change the font to CMR ...
0
votes
1answer
26 views

Operator font with lualatex not changing correctly

I'm using newpx as my document font. However I'm having some problems when compiling with lualatex because the font of math operators does not change to newpx and Computer Modern is shown instead. ...
6
votes
1answer
273 views

TikZ rotated text looks washed

I got that issue that a rotated text looks washed when you use the package: \usepackage[T1]{fontenc} Sadly I can't reject the fontenc-package because it has a lot of dependencies to the rest of the ...
0
votes
0answers
63 views

Texmaker does not import overleaf project

Can i import project(.zip) from overleaf on Texmaker? Every time i try to open the .zip, Texmaker ask me to choose a enconding and even if i choose utf8 (I'm using utf8 in overleaf) all my text turn ...
3
votes
2answers
60 views

Bold italic swashed z does not show up in mtpro2 complete

I am using the MathTime Professional 2 fonts from PCTeX. Unfortunately, my problem is testable only to those who have purchased the Complete version. The Lite version is available on CTAN, ...
2
votes
1answer
46 views

Incompatiblity of Adobe font and xpinyin package?

One of font package (i.e. Adobe Garamond Pro) is not compatible with vowels encoding using xpinyin package. Can I exclude these fonts? \documentclass[margin=10pt]{standalone} \usepackage{xeCJK,...
0
votes
0answers
35 views

What's the correct way to import a symbol from another font compatible with XeLaTeX/LuaLatex? [duplicate]

EDIT: Apparently I wasn't very clear since I linked the question this supposedly duplicates in the first sentence so I could ask about the robustness of that solution.. I want to know if the method ...
1
vote
2answers
84 views

How to convert all hyphenation patterns from Unicode to T1 in lualatex?

I'm trying to use lualatex with old, 8-bit, non-Unicode fonts: \documentclass[a4paper]{article} \usepackage[utf8]{luainputenc} \usepackage{t1enc} \usepackage{lmodern} \def\myhelvetica{\fontfamily{phv}...
1
vote
1answer
323 views

UTF-8 characters not rendered properly

I have a problem with some of the UTF-8 characters that are in my Tex file. Although I am saving the file in UTF-8 and my text editor (Atom) is displaying all of the characters properly, LaTeX throws ...
2
votes
1answer
44 views

\H{u} and \H{o} do not appear in the lualatex output PDF

The following .tex source file has been working fine for me for decades using pdflatex: \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{t1enc} \usepackage{lmodern} \def\...
4
votes
1answer
146 views

Equivalent of fontenc in LuaLaTex

I'm writing a paper, and have recently switched to LuaLaTex. In pdfLaTex I've used \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} now how should I replace these, ...
4
votes
1answer
180 views

How can I select one No-unicode symbol from one font?

I am using Asea font http://users.teilar.gr/~g1951d/Textfonts.zip From http://users.teilar.gr/~g1951d/ And I want to pick some characters that are not encoded in unicode, but are present in the font,...
0
votes
0answers
104 views

“Font T1/cmr/m/n/12=ecrm1200 at 12.0pt not loadable” error when compiling

I have problem in executing LaTeX files by terminal in Mac due to missing files and unknown modification of TeX directory. As I am new user, I don't want to make too changes in system files and ask ...
0
votes
1answer
91 views

\usepackage[T1]{fontenc} doesn't use cm-super or cm-super unicode despite being installed

Some Bitmap font is being used instead. Minimal working example: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lipsum} \begin{document} \lipsum \end{document} Expected output: Pretty ...
2
votes
1answer
99 views

Ogonek rejected in bibilography

I am trying to compile a bibliography that will not accept someone's name that has an ogonek in it. I am not using \k, which I need for something else, so I did \let\ogonek\k and \newcommand{\eogonek}{...
1
vote
0answers
74 views

Error using a color box with xelatex

I have used this colorbox in a Document: \newtcolorbox{Titolo}[2][]{ enhanced before skip=2mm,after skip=2mm, colback=black!5,colframe=black!50,boxrule=0.2mm, attach boxed title to top left={xshift=...
0
votes
2answers
454 views

Use XeLaTeX in Mac OsX

I use Mac OSX 10.13 with MacTex. For editing I use VSCode and the extension LaTeX-workshop. I have been told that with XeLaTex you can use more fonts. But I can't find the docs of this package/...
1
vote
0answers
53 views

How to escape “->” (ASCII hyphen and greater than sign) in Latex [duplicate]

I have been trying to find a way to escape the "-" and ">" characters. I have looked at the \verbatim{} but this creates a new paragraph. As I have seen in other posts, my greater than sign shows up ...
5
votes
3answers
126 views

Is there a package to set the default font encoding of cyrillic to T2A?

Consider this for Greek \documentclass{article} \usepackage[LGR,T1]{fontenc} \usepackage{textalpha} \begin{document} φύσις \end{document As the default font supports LGR encoding, it renders ...
2
votes
0answers
73 views

Combining multiple diacritics in Linux Libertine [closed]

In several Native American languages, nasal vowels are marked with an ogonek and can take an acute accent. I'm using XeLaTeX to put together a proceedings volume, and for some reason, I cannot get a ...
0
votes
0answers
67 views

LaTeX fonts with math and utf8 support [duplicate]

Although I like Computer Modern font families I'd like to be able to make documents look like they were made by "normal person" and still be able to benefit from the TeX powers*. In short the solution ...
1
vote
1answer
20 views

Biblatex: Two bibliographies with different styles and sortings II Part 2

The approach of gusbrs to my question Biblatex: Two bibliographies with different styles and sortings II, which is based on the solution of Biblatex: Two bibliographies with different styles and ...
2
votes
1answer
83 views

fontspec: Defining a new font family using TeX Gyre Pagella causes error [closed]

I just updated my packages through the MikTeX console, and when I try to define a new font family with TeX Gyre Pagella, I get a mysterious error (below). Just defining the new font family leads to ...
0
votes
1answer
61 views

Font became rasterized after reinstall

The following code produces a rasterized font: \documentclass{beamer} \usepackage[OT2,OT1]{fontenc} \newcommand{\cyr}{% \renewcommand\encodingdefault{OT2}% \normalfont\selectfont} \newcommand{\lat}{...
1
vote
1answer
121 views

XeLaTeX + cleveref + cyrillic fonts = Command unavailable

I'm trying to write a document in Ukrainian, but somehow I can't use cleveref package anymore. Here is my example: \documentclass[twocolumn]{article} \usepackage{fontspec} \usepackage{polyglossia} \...
2
votes
1answer
336 views

Error: Command \texteuro unavailable in encoding OT1. However, \texteuro or € is never used in my text

I recently begun getting the following error during my thesis writing: ! LaTeX Error: Command \texteuro unavailable in encoding OT1. See the LaTeX manual or LaTeX Companion for explanation. Type H &...
0
votes
1answer
59 views

How to use mtpro2 together with other math-font?

for example, load mtpro2 and XITS-Math for different paragraph But it seems, mtpro2 und unicode-math can not be loaded together Error like: LaTeX error: "kernel/command-already-defined" ! ! ...
2
votes
1answer
438 views

Getting fontspec Fonts with pdfLaTeX

I have to make a document, which was originally written in LuaLaTeX, compatible for both pdfLaTeX and LuaLaTeX. Everything works except that the fonts differ. How can I force pdfLaTeX/fontenc to use ...
1
vote
1answer
196 views

Font \bodyfont=Calibri at 10.0pt not loadable: Metric (TFM) file or installed font not found. \begin{document}

I am getting the error shown in the title five times in a row at the beginning of the logs when trying to compile my document with XeLaTex through TexStudio (command used: xelatex -synctex=1 -...
1
vote
0answers
99 views

xelatex could not find MinionPro.sty

I have installed Minion Pro fonts followed this post https://kieranhealy.org/blog/archives/2012/11/10/installing-minion-pro/. And I ended up compiling mnsymbol-test.tex and minionpro-test.tex ...
1
vote
0answers
67 views

Broken German Umlaut ü [closed]

I worte a letter in scrlttr2 but finally had to write an email. Thus I copied the text from the PDF I already got. The spell checker of the mail client complained on some words – the ones containing ...
2
votes
1answer
286 views

Font markup issues (\textbf \emph \textit not working)

I seem to have an issue in using many of text markings in my document (\textbf{} \emph{} \textit{} don't add any effect to text, but i.e. \sout works). There's a few relevant compile warning messages,...
1
vote
1answer
30 views

How to set a language for a column of table in a multi-language document?

I want to make a table contains both English and Bengali text. Using \setlanguage{english} I can ensure the computer modern font for English text. But, each time using this command is boring as I ...
2
votes
2answers
434 views

fontenc vs fontspec with XeLaTeX

I have encountered something I fail to understand. I have read that I should use fontspec and not fontenc when I use XeLaTeX, but this causes some problems for me when I use the cochineal font package....
1
vote
1answer
53 views

\fontseries{b} does not work in math mode

The file is typeset in LaTeX, encoding T2A: \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[greek,english]{babel} Everything works perfect, excepting bold in some formulae. I tried ...
0
votes
1answer
48 views

Why is MnSymbol not loading Type 1 fonts?

I am trying to typeset a document with only Type 1 fonts in the resulting PDF. I'm using the MinionPro package, which calls MnSymbol for math fonts. Even though the Type 1 MnSymbol fonts are installed ...
6
votes
3answers
187 views

Issue with Bera font and fontenc package

I'm using \usepackage[T1]{fontenc} to typeset an article in LaTeX. Using the default font, the input Erd\H{o}s produces the desired Erdős in the output, which I can copy and paste properly. Based ...
1
vote
2answers
205 views

How can I set a font from PSNFSS distribution families as the main math font?

The declaration \DeclareMathAlphabet{cmd}{encoding}{family}{series}{shape} works to create a new command whose argument would be a font as specified in the declaration. PSNFSS distribution families ...
6
votes
2answers
431 views

XeLaTeX compiles too slow

See poker package here. This is the slowest stage. It takes about 2 minutes to compile... to go from2 to [3] and etc \documentclass[a4paper,12pt]{article} \usepackage{pst-plot} \usepackage{auto-...
0
votes
0answers
108 views

Command \m unavailable in encoding TU [duplicate]

I use XeLaTeX and normally do not use the fontenc package. But now I want to use a specific symbol which according to the symbols-a4.pdf needs T4 encoding which is provided by the fc package. ...
1
vote
1answer
97 views

Using Minion Pro's Ornaments in pdflatex

I am having some trouble with getting Minion Pro's ornaments (with pifont) to work in pdflatex. When I compile the PDF all I see is a box with an "X" in it. Although I have taken a look at at several ...
0
votes
1answer
73 views

Using \dot{x} produces a bar below the letter (new case)

I have been using a poster template (please, click here to see it) that I found on overleaf based on baposter.cls (you can find it here). In such environment, \dot{x} produces a bar below the letter, ...
2
votes
1answer
69 views

Character mapping

I have to write my paper using some slovene letters (čČšŠžŽ), but i'm having a hard time using the slovene keyboard layout as i mostly use the EN/US one and it's killing my production.. I remember i ...
1
vote
0answers
159 views

spell checker Excalibur fails to save changes

I just tested Excalibur, an interactive, TeX aware spell checker, to correct typos of a TeX-file. However, when I was finished assessing the suggestions and attempted to save the file, a popup ...
0
votes
1answer
74 views

How to use tfm font with “LAE” encoding with xelatex & lualatex

I have this example of writing arabic with tfm font which work fine with pdflatex, the font is provided from arabi package. https://ctan.org/tex-archive/language/arabic/arabi \documentclass{...
0
votes
2answers
327 views

Mix cyrillic characters and latin in XeLaTeX

I would like to mix cyrillic and latin characters in my document using XeLaTeX. It compiles, but the cyrillic characters do not show up in the pdf. Also, I would like to use the default LaTeX font for ...
3
votes
0answers
80 views

Chessboard and LuaLaTeX/OTF fonts

I haven't used chessboard for a long time. I'm wondering how I can use it with LuaLaTeX and my own chess fonts. Can someone help me with an example file? I'm having especially troubles how to let ...
0
votes
0answers
89 views

How to restore font via \usefont command? (or in other ways)

I'm triyng to use webomints package with Hebrew Here is the simple file: % Preview source code %% LyX 2.2.3 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you ...