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
0 votes
1 answer
41 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{\...
mlchristians's user avatar
  • 7,522
0 votes
0 answers
48 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
87 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 ...
AlMa0's user avatar
  • 179
1 vote
1 answer
27 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,002
1 vote
0 answers
32 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
37 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
33 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
  • 13
0 votes
1 answer
34 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,421
0 votes
1 answer
105 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
38 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
52 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
110 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
  • 31
1 vote
1 answer
41 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
  • 58
4 votes
1 answer
138 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
117 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
40 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
57 views

using xelatex and keeping the other fonts

\documentclass[a4paper, 12pt, scheme = plain, twoside]{ctexart} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{amsmath,enumerate,amsfonts,amssymb} \...
CasperYC's user avatar
  • 587
0 votes
0 answers
81 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
  • 143
2 votes
2 answers
88 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
52 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
  • 137
0 votes
0 answers
41 views

Special Symbols/ fonts

I want to have commands to write symbols in some other font, for example the command \ArialA would give me a capital A in Arial font, or something like that, so that the rest of the text is the ...
Phasco's user avatar
  • 3
0 votes
1 answer
67 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
  • 267
0 votes
0 answers
29 views

How to produce searchable pdf via latex -> dvi->dvipdfm?

I need to create pdf-file using dvipdfm (not direct pdflatex) with LCY font encoding, and this pdf looks great but not searchable, and copy-paste of text also does not work. Packages cmapand mmap ...
Spectorsky's user avatar
1 vote
2 answers
85 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
46 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
84 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]{...
mlchristians's user avatar
  • 7,522
0 votes
0 answers
72 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
2 votes
2 answers
75 views

Loading two font packages for different languages creates spacing issue

I have a long text in English with one pages and one more word in Serbian. Originally, the package used was for typesetting is fourier. The package works well, except that it is missing fonts for the ...
Kolja's user avatar
  • 125
0 votes
1 answer
44 views

T1 Fontenc only changes text body font - not Koma Headlines

this is probably an easy and stupid question, but I can't find out how I get fontenc to change the font of my headlines. For the text Body it works. % Font settings \usepackage[scaled]{helvet} \...
hendrik m's user avatar
2 votes
1 answer
94 views

Accents characters are hidden in beamer mode

I am trying to use a beamer template that I a user shared with me. Unfortunately, I have an issue using accents (because I write in French) : It seems like characters using accents are ignored and not ...
Wiss's user avatar
  • 413
1 vote
0 answers
46 views

Installing enpassant fonts on mac

I am trying to create a simple chessboard with an a non-default font, such as "pirat" as described in the documentation of chessfss and have followed the instructions from the README of the ...
domoarigato's user avatar
2 votes
2 answers
151 views

LuaLaTeX with siunitx, luainputenc and T1 fontenc produces an error

Error I get the following error when compiling the MWE below with LuaLaTeX: ERROR: TeX capacity exceeded, sorry [input stack size=10000]. --- TeX said --- \curr@fontshape ->\f@encoding ...
Simon's user avatar
  • 163
1 vote
1 answer
72 views

On Overcoming the Conflict Between Lmodern and Bold Smallcaps When Compiling with Pdflatex

I am working on a document which invokes both fontenc and lmodern, and ran into a problem with producing bold smallcaps. I came across this post: How te get bold + small caps with latin modern or ...
mlchristians's user avatar
  • 7,522
1 vote
0 answers
99 views

Fontenc and tipa

I am layouting my PhD theses in linguistics and I am struggling with the layout of the linguistic examples. Thanks to StackExchange, I could solve the problem of font size (see here). Now, however, I ...
ahasse's user avatar
  • 81
4 votes
1 answer
144 views

Understanding how different TeX engines deal with fonts

I know very little about how TeX deals with fonts and I'm trying to learn more about it. I know that helper packages like fontspec exist in LaTeX, but I'm mainly interested in using and understanding ...
M0M0's user avatar
  • 423
0 votes
1 answer
25 views

How can I make font of first slide as 8pt and other slides as10pt in beamer?

I am trying to make presentation in beamer. I want my first slide in 8pt font and other slides in 10 pt fonts. But I can't make change in other slides as all slides becomes of 8 pt.
Ashok khanal's user avatar
1 vote
1 answer
80 views

How to access the long s from the gentium font?

The gentium font contains glyphs for the long s (U+017F) character and it works fine with XeLaTeX. But I'm using pdflatex and the gentium-tug package and I can't figure out how to access this glyph. ...
ronno's user avatar
  • 1,305
0 votes
0 answers
84 views

What are the fonts that support greek language?

I am typing a document which uses both english and greek language.However when I attempt to change the font of my document In the case of many fonts that I have tried the change affects only english ...
Kani Pen's user avatar
  • 177
0 votes
0 answers
108 views

Issues with unwanted ij ligature in NewTX

The issue in newtx bijection is bijection has re-emerged. Namely, compiling \documentclass{standalone}% 2018/03/26 v1.3a \usepackage[T1]{fontenc}% 2021/04/29 v2.0v \usepackage[dutch,ngerman,USenglish]{...
user avatar
2 votes
1 answer
192 views

euler fraktur variations

The eufm font family from AMS has certain lowercase variations, namely d, f, g, k, t, u, as shown in the second row of the table attached below. My question is: Using (La)TeX, how can one make (part ...
Martino's user avatar
  • 1,360
0 votes
3 answers
238 views

Writing Cyrillic letters in bold with CM-like fonts

I'm trying to write bold Cyrillic letters in my document but can't achieve a satisfactory solution. I found an example on CTAN.org with source code here using the substitutefont package. What I want ...
Nicryc's user avatar
  • 125
0 votes
1 answer
154 views

T4 Font encoding

This is an excerpt of a script I found and I have a question about the font. I think for this type you need the command \usepackage[T4]{fontenc} I tried applying this and the result was almost ...
calculatormathematical's user avatar
0 votes
0 answers
82 views

tableofcontents, chapter, etc. showing up in weird font

PROBLEM SOLVED, SEE EDITS 2 AND 3. so i have several files written in bulgarian that are set up to compile into one PDF however in the process of doing so, several errors popped up despite me ...
Reddimus's user avatar
1 vote
1 answer
95 views

package commercial fonts into custom latex package

For a corporate template I am building, I need to make the commercial fonts available, which our corporate design guide dictates. These fonts are availabe to me as truetype font files, which are ...
marc's user avatar
  • 484
1 vote
0 answers
53 views

Trying to Use Both Cabin and Baskerville Fonts in the Same Document

In the following code, I invoke both the cabin and baskervald packages. I am able to start off with the cabin font by simply specifying \cabin; however, when I want to begin using the baskervald font ...
jean-marie's user avatar
3 votes
0 answers
53 views

Why is this usage of the package MnSymbol raising an error?

Why does the following document raise an error? \documentclass{article} \newsavebox\aeaesigbox \savebox{\aeaesigbox}{$AE$AE} \usepackage{MnSymbol} \newsavebox\aebox \savebox\aebox{\fbox{$\...
A.Ellett's user avatar
  • 49.9k
1 vote
0 answers
131 views

Latin Modern under T1 encoding, "lighttt" setting, and "lmtt/m/sl" in place for italic: Error at apostrophe "\textquotesingle"

The MWE: \documentclass{article} \usepackage[lighttt]{lmodern} \usepackage[T1]{fontenc} \ttfamily \DeclareFontFamily{T1}{lmtt}{} \DeclareFontShape{T1}{lmtt}{m}{it}{ <-> ssub * lmtt/m/sl }{} ...
Yukai Qian's user avatar
1 vote
0 answers
90 views

What is the most up-to-date indicated/suggested way to typeset Greek?

I typically type on an English keyboard, but I use a Greek keyboard when it comes to typing Greek characters. I have my personal workaround through the pdfLaTeX engine, but as LaTeX evolves it seems (...
Jim's user avatar
  • 505
0 votes
0 answers
41 views

Math in compiled pdf has different encodings for different compiler. When are no unicode characters used?

When selecting and copying math in the compiled pdf I noticed it isn't always matching the original symbols. There are three different scenarios I can remember. Two of which I was able to reproduce: ...
Allanj's user avatar
  • 1

1
2 3 4 5
14