{unicode} is for questions about Unicode (an international standard for character encoding) and its implementations. For questions about input encodings in general, use {encodings}. For questions specifically about the `inputenc` package, use {inputenc}.
0
votes
1answer
127 views
using unicode-math with math keyboard or hotkeys?
Here is more information about the unicode math-package:
http://ctan.mackichan.com/macros/latex/contrib/unicode-math/unicode-math.pdf
A great pro for using unicode math, is that your code is much ...
10
votes
3answers
2k views
Unicode degree symbol ° in math formulas: \textdegree invalid in math mode
I'd like to be able to simply input a degree symbol as ° in my source code. German keyboards have a key for this, and it makes the source so much more readable. I'm using pdflatex from TeXLive 2012, ...
7
votes
1answer
137 views
Is it correct to use RequirePackage[utf8]{inputenc}?
If I create a package, is it correct to use \RequirePackage[utf8]{inputenc} to support utf8. I guess not, but how do I state that this package must (should) be used with inputenc utf8?
3
votes
0answers
64 views
How to apply the star (*) to only a few of the literates in listings environment?
I have a problem with the definition of literate:
\lstset{
numbers=left, numberstyle=\footnotesize, stepnumber=1, numbersep=12pt,
frame=none, framesep=7pt,
breaklines=true,
...
12
votes
2answers
7k views
inputenc Error: Unicode char \u8: not set up for use with LaTeX
This is with ref to my previous question Package clash in multilingual report.
\documentclass[11pt,table,a4paper]{article}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
...
1
vote
1answer
149 views
Indic special characters on XeLaTeX
I am using XeLaTeX (XeTeX, Version 3.1415926-2.4-0.9998 on TeX Live 2012/W32TeX). There are some special Indic unicode characters which XeLaTeX does not seem to support. I am trying to produce ...
3
votes
2answers
137 views
How do you write aspirated consonants?
I am working on a linguistic topic and need to be able to describe phones with aspiration. As described in wikipedias article on Aspirated consonants there is a UTF8 character for the diacritic of ...
4
votes
1answer
240 views
Unicode emoticons with pdflatex
Following this answer, I tried to use Unicode emoticons with pdflatex like so:
{\fontfamily{DejaVuSans-TLF}\selectfont 😎}
The font is selected but the emoticon does not show.
There are some TTF ...
0
votes
0answers
96 views
Problem with TeXShop and UTF-8 when cloning from git [closed]
My team has the following worflow: we host a git repository on Assembla.com. In that repository, there is a .tex file with the following enconding set: \usepackage[utf8x]{inputenc}.
The problem is I ...
4
votes
1answer
215 views
Problem with ẽ tilde and UTF8
I have a problem with the following character
ẽ: e with tilde
I am using UTF-8 encoding and I get the following error
! Package inputenc Error: Unicode char \u8:ẽ not set up for use with ...
4
votes
1answer
153 views
inserting png introduces inputenc error
I want to write an article in Chinese, which needs to insert pictures.
It's fine when I insert pictures as .pdf but the following problem occurs if .png is inserted:
! Package inputenc Error: ...
2
votes
0answers
236 views
How to display non-printable Unicode characters in Emacs/AucTeX?
I would like to see the non-printable Unicode bidi characters PDF (202C), LRO (202D), RLO (202E) in the emacs editor (but not the pdf output). How can i do this?
EDIT: Here's a minimal working ...
4
votes
2answers
267 views
Unicode characters changing order in listings (XeTeX)
I am trying to input code listings with unicode characters and everything seems to work (more or less) except some unicode characters being displayed out of order. For example instead of
służąca ...
4
votes
1answer
158 views
Non-ascii characters are not displayed in hyperref's pdftitle: bug in the 'unicode' option?
I'm trying to make pdflatex display non-ascii (cyrillic) characters in PDF metadata using hyperref's pdftitle and pdfauthor options. Here is my document:
\documentclass{article}
...
9
votes
1answer
200 views
Is there a way to get pdflatex to accept Unicode combining accents?
I typeset my work with pdflatex and UTF-8 input files with lots of Unicode characters. Most of them work with a simple \usepackage[utf8]{inputenc} in my preamble, and for the others I simply maintain ...
4
votes
2answers
92 views
Modifying another checkmark, or adding another one?
I should explain beforehand, that I use XeLaTeX, so I have access to all kinds of fonts, and Unicode support.
Now, I'm using the "BALLOT BOX" (U+2610) and "BALLOT BOX WITH CHECK" (U+2611) quite often ...
0
votes
1answer
196 views
\texttt converts apostrophe to Unicode quotation mark [duplicate]
Possible Duplicate:
How to make a real apostrophe or single-quote in LaTeX
I'm building a Python Regex cheat sheet using Latex, which has the following line:
...
4
votes
1answer
160 views
utf8 math characters from source code file with minted in XeLaTeX
I want XeLaTeX/minted to display all my mathematical characters from my .java source file.
More detailed: I file my programming homework in PDF documents in my university. I have been using LaTeX and ...
9
votes
1answer
255 views
Is direct utf8 input of combining diacritics in math mode possible with lualatex?
I am trying to typeset a document with combining diacritics directly input in it. I use LuaLaTex. Here is a minimal example illustrating the original issue:
\documentclass{minimal}
...
9
votes
1answer
93 views
How to write the € symbol into a file, when using Package [utf8]{inputenc}
With the following MWE, I can write the € symbol into the file euro.txt
\documentclass{article}
\newwrite\tempfile
\immediate\openout\tempfile="euro.txt"
\begin{document}
Write Euro symbol into a ...
2
votes
1answer
175 views
Special characters stopped appearing in text
I have a unicode text (XeLaTeX) in which I use vowels with umlaut, like ü and ö, which worked but suddenly stoped working. These give an error message:
! Package inputenc Error: Keyboard character ...
15
votes
2answers
222 views
“Namethatchar” macro
I am searching for a macro/package that would give the name of characters. Here are a few examples of a possible behaviour:
\namethatchar{A} → A
\namethatchar{À} → Agrave
\namethatchar{a} → a
...
4
votes
2answers
301 views
Why can't I use 𝔽?
I can't figure out why LaTeX won't let me use the 𝔽 symbol (U+1D53D, mathematical double-stuck capital F). When I try, I get the error Package inputenc Error: Unicode char \u8:𝔽 not set up for use ...
6
votes
1answer
1k views
«» resemble too much \ll \gg
I am typesetting a translation of some ancient poetry book from another language (namely Finnish). In the text there are several quotes which uses the Guillemets (« and »).
Since I am using a UTF-8 ...
1
vote
1answer
393 views
encoding problem
I'm trying to write a program in Python that exports data into PDF. Unfortunately, the well known reportlab module is not available on Python 3. (What a shame.) So I have decided to generate TEX files ...
1
vote
0answers
348 views
biblatex biber non-latin (cyrillic) UTF-8 names [closed]
I am back where I was when I switched from stock bibtex to biblatex-biber: (cyrillic) non-latin UTF-8 names in the bibliography. It's why I started using biber in the first place, the same would ...
2
votes
1answer
182 views
a way to use bibliography utf8 @string entry keys
Any suggestions how to allow UTF-8 @string macros in the mwe.bib file? [lines 537-539]
@string{ Uà = {Università} #. }
@string{ Uàdi = Uà#di ...
1
vote
0answers
115 views
Internationalization in LaTeX [closed]
I am working on auto report generation but this time iIneed to generate report for different language only. Text could be anything like Chinese, French, Russian. Can LaTeX handle all those text ...
7
votes
3answers
3k views
Error: Unicode char \u8:φ not set up for use with LaTeX
I have the following LaTeX document:
\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{document}
φΔδ汉
\end{document}
But I get the following error:
$ latex foo
This is pdfTeX, Version ...
2
votes
1answer
186 views
utf8, newcommand and umlaut
In my document, which is encoded as utf8 throughout (hopefully), umlaute etc. in the document body are put out correctly, but those defined in a \newcommand are not. I have tried some alternatives to ...
12
votes
1answer
246 views
Hyphens at end of line disappear upon pasting, even if they were present in the input
When I paste text from pdflatex output, there are two things about hyphens that I would like to change:
Hyphens paste as "hyphen-minus" (U+002D, "-"), but I would prefer the newer Unicode character ...
5
votes
1answer
364 views
How to make slash (/) paste with correct Unicode codepoint depending on context?
Unicode offers different characters for the slash:
U+002F (/) for the ordinary slash
U+2215 (∕) for the mathematical division operator
U+2044 (⁄) to designate vulgar fractions
How can I have these ...
2
votes
0answers
265 views
Getting unicode characters with TeXnicCenter [closed]
I would like to display some korean characters in the output of a tex file. I am using LaTeX with TeXnicCenter. I am envisioning something like
\documentclass{article}
\usepackage{...}
...
0
votes
0answers
116 views
What are the required packages that goes with fontspec [closed]
I am want to use the fontspec so I can use unicode and word fonts. The problem is I cannot compile the LaTeX file and if I comment the package fontspec, it compiles with the default font.
MWE:
...
0
votes
0answers
91 views
ecrm1095 and ecbx1095 not loadable [closed]
Hi i am using an old vesion of WinEdt (5.4) and MikTeX 2.5 (I am not able to update an y cause its a company computer, very restricted!). Anyway, I am swedish and want to write with swedish letters so ...
9
votes
2answers
348 views
Redefine apostrophes to prevent bad kerning
The apostrophe in Adobe’s Minion Pro font has a kerning that is much too tight for typesetting French, where sequences of letters like l’a or d’e or j'a are common.
One solution I found is to wrap ...
5
votes
2answers
101 views
UFT8 inside the formula?
Is there a way I can use UFT8 (say greek chars) inside the formula?
For example I want latex to render:
$α$
as
$\alpha$
(actually the question comes from mathjax -- there You can do it, but ...
14
votes
1answer
186 views
Prevent LuaLaTeX from splitting umlauts
Here's a minimal example:
\documentclass{minimal}
\usepackage{fontspec}\setmainfont{Cambria}
\begin{document}aöz\end{document}
Compiling this into a PDF using lualatex and extracting the text using ...
9
votes
1answer
128 views
Wrong spacing around guillemets
I use UTF-8 encoding to type a document in French, with the following definitions for guillemets:
\DeclareUnicodeCharacter{AB}{\og}
\DeclareUnicodeCharacter{BB}{\fg\xspace}
and the Babel package:
...
5
votes
1answer
137 views
pasting small circled (\textcircled) letters leads to incorrect (reversed) Unicode codepoint sequence for combining circle
When I try to circle a small letter, compile (using glyphtounicode.tex), and then paste the resulting text, the combining circle (U+20DD) appears before the letter (here: "b") even though it, being a ...
1
vote
1answer
118 views
How do I paste codepoints outside of the basic multilingual plane with accsupp or \pdfglyphtounicode?
As described in the answers to this question, the accsupp package can be used to have symbols paste as arbitrary Unicode codepoints. For example you might want to write something like the following, ...
2
votes
1answer
1k views
miktex, ucs, uni-global.def and empty unicode directory
I'm trying to compile a cv with LaTeX and the europecv class.
Compilation fails because a file named uni-global.def is missing.
After a Google search, I found that file should be into the ...
8
votes
2answers
282 views
How to get devanagari numerals in latex or xetex
How to get devanagari numerals in xetex or latex - especially in enumerate environment?
I can use unicode to write devanagari text but I am unable to get devenagari numerals in section numbers, ...
9
votes
2answers
470 views
How can I get utf8 character
I want to make cross references for sections to be symbols but after using the description given I got error report saying keyboard character used is undefined in inputencoding 'utf8'. What might be ...
7
votes
2answers
485 views
Pi, Kappa, Latin Small Letter Long S: problems with UTF8
I'm using Springers svmono for a book with many mathematical symbols and special characters.
There are quite a few problems with characters that are simply not printed (using pdfLatex), so I tried ...
8
votes
4answers
510 views
Fun unicode characters with pandoc
Silly question: I want to use a heart (♥) character in my presentation.
I'm already using xelatex as engine so it doesn't complain for the character itself but it doesn't render it. Just a blank ...
3
votes
1answer
176 views
Including a .bib file with \input does not work
In the following simple document, the bibliography does not work :
\documentclass{article}
\usepackage[numbers]{natbib}
\usepackage{inputenc}
\inputencoding{utf8}
\begin{filecontents}{\jobname.bib}
...
8
votes
2answers
144 views
Polish, Russian and Greek in one file
Is there any way to use these three languages in one file? I've been trying to do this for several hours, and all I got are some cryptic errors. Could you provide me with a simplest possible working ...
3
votes
3answers
2k views
How to convert UTF-8 to latin-1 on the fly?
I have my whole latex document which is encoded in latin-1. Also, the documentclass provided by my institution is designed to use latin-1. I write in french.
I wish to use .bib files created by ...
6
votes
3answers
191 views
Why does xelatex need fontspec to output non-ASCII characters?
I thought the point of XeTeX was to allow Unicode to work out of the box (in addition to leveraging system fonts). So how come the following does not output anything unless I use the fontspec package?
...
