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.

Filter by
Sorted by
Tagged with
2 votes
0 answers
49 views

Reducing Dissertation Page Count through Font and Formatting Adjustments [closed]

I need help with setting the appropriate font to reduce the overall page count. Context: I have been writing my dissertation (on and off) for 8 years now. Unfortunately, I am no longer fully aware of ...
devvok's user avatar
  • 23
1 vote
1 answer
220 views

Latex errors at special character

I have a special unicode character "𝌠" in LyX. When language is set to czech (as is the actual text) and encodung set to "standard for given language" and "standard" ...
Lukas's user avatar
  • 125
5 votes
3 answers
405 views

How to Invoke Roman Family Font After Calling in the Baskervald Package?

It is my understanding that when one calls in the basketvald package, the Roman family default is changed to baskervald. Hence, one can call in the baskervald font with the command \rmfamily. In the ...
DDS's user avatar
  • 8,796
0 votes
0 answers
18 views

Expex command \begingl not avalaible in encoding TU when running lualatex [duplicate]

When using the expex package for glossing examples with the \begingl enviroment and running the following document with lualatex the following error is obtained: Too many }'s. \egroup l.41 \xe The ...
Norberto's user avatar
2 votes
1 answer
46 views

Breve not displaying inside of table in Bulgarian

I have text in Bulgarian. If if is not inside of table it works fine but when it is inside of table it is missing the breve e.g. й changes to и. My Latex code: \documentclass{article} \usepackage[T2A]...
Pokrt's user avatar
  • 23
0 votes
1 answer
56 views

How to use both fontawesome and fontawesome5?

\documentclass[a4paper, 12pt, scheme = plain]{ctexart} \usepackage{amsmath,amssymb} \usepackage{fontawesome5} %% Virus / fancyAT \usepackage{fontawesome} %% faWechat \begin{document} \faIcon{virus} \...
CasperYC's user avatar
  • 671
2 votes
2 answers
218 views

\usepackage{newtxtext, newtxmath} does not work

A noob is again in need. I was told to use \usepackage{newtxtext, newtxmath} instead of \setmainfont{Times New Roman} (I assume I will still have the font in Times New Roman. Also, use \usepackage[T1]{...
DGuys's user avatar
  • 57
0 votes
1 answer
42 views

draftwatermark picks up italics from the top of the next page and produces Postscript, and no large smallcaps italics fonts are available in fix-cm

Feeding latex with \RequirePackage{fix-cm} \documentclass{article} \usepackage[T1]{fontenc} \usepackage{amsthm} \usepackage[text={\textsc{Confidential \ Draft}}, angle=53.2, fontsize={92.4pt}]{...
user avatar
0 votes
0 answers
41 views

LaTeX - How to make generated pdf properly copyable and keep the newlines?

The situation: I'm trying to generate my resume with Latex, and get a pdf with all the text - no problems here. When I copy all of this text into a plain .txt file though, the formatting transforms ...
terrortinus's user avatar
0 votes
0 answers
41 views

A MWE of Santakku that doesn't work

I have aksed a similar question elsewhere, but now I have a MWE of my problem and I've also installed Santakku.ttf on my system. The MWE is here and the error I'm still getting is here: (d:/BitDownlD/...
user2925716's user avatar
  • 1,940
0 votes
1 answer
110 views

Issue with detecting Persian characters in TeXstudio

Why is LaTeX not detecting Persian characters when I'm using TeXstudio? I have already included the necessary packages and set the encoding to UTF-8. What could be causing this problem?
tstt's user avatar
  • 187
0 votes
0 answers
59 views

Replace Chars in String with Tengwar Font / Modi

I wanted to make a Tengwar font, that automatically translates german text to Tengwar using this mapping. My first approach was to make a command, which translates everything of the argument: \...
Titanlord's user avatar
  • 541
0 votes
0 answers
88 views

I can't copy and paste underscore

I have a problem that I have not been able to solve. When I generate my PDF document and want to copy the text to a terminal or a WORD document, the underscores are not copied. In the PDF it does ...
Oscar Ancco's user avatar
2 votes
1 answer
82 views

Using system installed font alongside with font package

I'm trying to create a template for my lecture handout. I'm using Segoe UI as the main font for the presentation and I want to use BaskervilleF (https://tug.org/FontCatalogue/baskervillef/) for the ...
bahaksekldhi's user avatar
7 votes
1 answer
147 views

Unexpected side effect of font encoding

It is often recommended to include \usepackage[T1]{fontenc}, but I have been hit by the following difference: \documentclass{article} \usepackage[T1]{fontenc} \begin{document} texttt: \texttt{-->} ...
false's user avatar
  • 289
0 votes
1 answer
37 views

Installing the exercise package: issues with font and encoding

I am trying to install the exercise package. I have downloaded the source (https://www.ctan.org/pkg/exercise) and I am now following the README to install it. I first executed latex exercise.ins, ...
banban's user avatar
  • 33
2 votes
1 answer
132 views

How to set monofont to Source Code Pro Light

I would like to know how to go about setting the monofont to Source Code Pro Light. With the code given below, the ttfamily gives this result: This is the code that I currently have: \documentclass{...
Joe's user avatar
  • 9,060
0 votes
0 answers
38 views

Where can I find omxenc.def?

I've been trying to locate the files needed to convert OTF files into Type 1, using OT1, T1, TS1, LGR, OML, OMS and OMX encodings. I located ot1enc.def, t1enc.def, ts1enc.def, omlenc.def and omsenc....
Pertrecho's user avatar
0 votes
2 answers
63 views

! Missing \endcsname inserted error when using \seq_map_pairwise_function:ccN

This question is related to Execute list of commands generated by pairing elements from two \clist s or \seq s. I am trying to perform a sequence of commands of the form \def\alpha {^^^^03b1} ...
Mike Pugh's user avatar
0 votes
2 answers
119 views

garamond-libre and small caps

I want to use the Garamond font provided by the garamondlibre package. Unfortunately, it appears that the small caps cause some issues: One minor issue is that \textsc{ff} produces an ff-ligature that ...
FKranhold's user avatar
  • 381
1 vote
2 answers
130 views

Using ANY Stix Two Math OTF character in text and math modes without loading it as math font

First a little background. I am using MathTime Pro II (which is not an OpenType Font) as my math font and do not want to replace it. I think this precludes my loading unicode-math if I want to use ...
Mike Pugh's user avatar
0 votes
1 answer
135 views

How to support Є in a LaTeX document

I am writing an article introducing TeX. The sentence may look like: … the name of the system named TeX, which is original from Greece words ΤЄΧ. When I am using this symbol in my LaTeX document: ...
Dolphin's user avatar
  • 843
2 votes
2 answers
45 views

TIPA package clashes with [T2A] for Cyrillic signs

It appears that the TIPA package and the Cyrillic T2A fontenc-package cancel themselves out, only ever allowing the first defined package in the preamble to spell out in the document. A friend needs ...
Iris's user avatar
  • 41
3 votes
1 answer
156 views

Unusual characters in bibliography with T1 encoding

I'm using biblatex to handle my bibliography, and there are certain names in my .bib file that contain unusual characters. Normally, biblatex handles this just fine. Unfortunately, the journal I'm ...
Draconis's user avatar
  • 900
0 votes
1 answer
45 views

Including an Enumerate Environment within a "Fancy" Quote

Consider the code \documentclass[12pt]{book} \usepackage[T1]{fontenc} \newcommand{\longemdash}{{\fontfamily{cmss}\selectfont---}} \newcommand{\emdash}{\nobreak---\nobreak\hskip0pt} \newcommand{\...
DDS's user avatar
  • 8,796
0 votes
0 answers
63 views

pdfjam corrupting libreoffice pdf file

Running a simple pdf file containing unicode(non-Latin) characters of the Libertinus Serif font though pdfjam produces a corrupted file in which the unicode characters are not encoded correctly. The ...
Bernard's user avatar
  • 21
3 votes
1 answer
159 views

T1 font encoding, newtxtext, and microtype result in “Package microtype Info: Character `029' is missing”

Feeding \documentclass{article} \usepackage[T1]{fontenc} \usepackage{newtxtext} \usepackage{microtype} \begin{document} \textsc{}% doesn't matter what text we enter here \end{document} to pdflatex ...
user avatar
1 vote
1 answer
36 views

Why does textcomp not load the glyph from my font but replaces it?

I converted a font some time ago and now there is an update to this font. As the new font files are provided by a different company, there are slight differences, especially with symbols. However I ...
TobiBS's user avatar
  • 5,230
1 vote
0 answers
69 views

How to redefine \hbar and still get the correct unicode character when copying it?

I'm using Garamond Math on a document, but I don't like the way its \hbar looks. I find it too difficult to discern from a regular h when on a fraction or on small fonts in general, which could lead ...
Níckolas Alves's user avatar
0 votes
1 answer
45 views

How can in tex4ebook special characters be managed, like german Umlaute?

Thank you Micha for reminding me to this new question. I followed the first steps for tex4ebook this weekend for the first time and got close to the finish. I follow a discussion here some years after ...
Thomkrates's user avatar
1 vote
1 answer
89 views

Sans Serif and Roman Sigma with Source Sans Pro and Charter

Consider the following MWE: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} %------------------------------ % FONTS %------------------------------ \...
KennyH's user avatar
  • 15
0 votes
1 answer
36 views

TextMate + fontenc + hyphenation and accented characters = parsing error?

LaTeX compilation in TextMate sometimes throws a parsing error. Others have experienced the same problem, but AFAIK, no solution has been found yet (see https://stackoverflow.com/questions/74837558/pb-...
Bibi's user avatar
  • 1,532
1 vote
1 answer
259 views

Unicode and Scientific Word/Workplace

I am working in a group whose leader uses Scientific Workplace (SWP) 5.5. Most other people in the group do not use this software and since MacKichan (spelling?) went bankrupt, there is no way to ...
Bence Racskó's user avatar
1 vote
1 answer
54 views

How can I redefine normal font as semi-bold in xetex?

Here is the Latex code: \documentclass[12 pt]{extarticle} \usepackage{fouriernc} \usepackage[T1]{fontenc} \usepackage[svgnames]{xcolor} \begin{document} \color{...
Rustam Mamin's user avatar
0 votes
1 answer
78 views

Problems with the German letter sharp S

I am using the extra package lstcustom (https://github.com/markroyer/latex-syllabus/blob/master/lstcustom.sty) and have the problem, that the German letter 'ß' is not rendered properly. My MWE is \...
mrbela's user avatar
  • 1,129
3 votes
1 answer
166 views

Typesetting Non-Latin Unicode Characters with LaTeX

I am writing a package in LaTeX, and would like to have basic macros (e.g. \vulture) for printing almost all the Egyptian hieroglyphs (e.g. U+13150 𓅐 - Egyptian Hieroglyph G14 - Vulture). As far as I ...
aralto's user avatar
  • 71
1 vote
1 answer
84 views

Bold or slanted tipa characters with mathpazo package in pdfLaTeX

When using TIPA with package mathpazo/pxfonts, bold and slanted IPA characters are not generated. In the MWE below, excluding mathpazo will generate bold/itlaics/slanted characters. \documentclass{...
Navi's user avatar
  • 68
4 votes
1 answer
226 views

Cyrillic words when using polyglossia and lualatex

Consider the following example where I've added the font settings that I use (I know it's not completely minimal but I have all the code in case it is important): % lualatex test.tex \...
Svend Tveskæg's user avatar
1 vote
1 answer
138 views

How to display nice vectors using T1 encoding?

There seem to be a clash between two things I usually do but had never done simultaneously: using the T1 font encoding and using \overrightarrow for vectors. Indeed, I find the \vec arrow's fixed size ...
Romain Bricout's user avatar
0 votes
0 answers
63 views

How to make my non-latin pdflatex document more copy-paste friendly?

I write and typeset articles in languages that do not use the latin alphabet using pdflatex. I have received requests from foreigners to make it easier to run the document in Google Translator. ...
anly25786's user avatar
0 votes
0 answers
81 views

using xelatex and keeping the other fonts

\documentclass[a4paper, 12pt, scheme = plain, twoside]{ctexart} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{amsmath,enumerate,amsfonts,amssymb} \...
CasperYC's user avatar
  • 671
0 votes
0 answers
104 views

How to make font style

I liked the typeface of this book (scan of paper below) : And would like to use it. I use WhatTheFont app and I think the font name is Hand Scribble Sketch Times Reg. Does anyone know how I can do ...
B612's user avatar
  • 153
2 votes
2 answers
127 views

Redefine latin letters slots for X2 font encoding

My task is to typeset Ukrainian/English documents in LaTeX, getting searchable pdf output. The task is almost solved using \fontenc[X2] for Ukrainian language, switching to English via \fontencoding{...
Spectorsky's user avatar
1 vote
1 answer
59 views

how to disable fontenc in texlive/lualatex

I'm building a cloud system to which people will upload their LaTeX sources and it will compile them. This is not a general purpose system - it is tied to a specific .cls file for a journal. The ...
mccurley's user avatar
  • 139
1 vote
1 answer
116 views

LuaLaTeX: \usepackage[T1]{fontenc} messes up siunitx's mu letter and shows ţ

I have a document containing a lot of TikZ images with pgfplots (See MWE below). Because some of these plots deal with a lot of data, I had to switch from pdflatex to lualatex. I use the siunitx ...
GNA's user avatar
  • 277
1 vote
2 answers
116 views

Creating a PDF/A file with a pounds symbol in it

I am currently trying to compile a TeX file as a PDF/A document using \usepackage[a-1b]{pdfx}. However, I have included the \pounds symbol therein, which produces the following error: LaTeX Error: ...
Le_Petit_Prince's user avatar
0 votes
2 answers
68 views

Using different encodings at the same time

I need to write a letter which looks like the small greek epsilon but in large (like a capital). I found on page 17 of this document the possibility of using \m{E} for it, which comes close enough. ...
Phasco's user avatar
  • 3
0 votes
0 answers
65 views

Why do control characters appear when I copy sentences from a PDF file created via LaTeX? [duplicate]

When I drag and copy text from PDF file that was compiled by LaTeX, often the content is not fully preserved. Diacritics are separated from characters, some math symbols change into other symbols and ...
ayelt1652's user avatar
1 vote
3 answers
133 views

Defining an Em Dash with Length Greater Than the Cabin Default

I have noticed that the length of an em dash is not always uniform, depending upon the font being used. Consider the following code which defines an em dash: \documentclass{book} \usepackage[T1]{...
DDS's user avatar
  • 8,796
0 votes
0 answers
110 views

interrobang symbol in jadetex

I need to use an interrobang ‽ in a document that ultimately goes through jadetex, but that gives me an error: Warning: Unknown character 8253, at 9956 I think this is because that character isn't ...
Chris Moller's user avatar

1
2 3 4 5
14