Tag Info

New answers tagged input-encodings

2

Package pifont contains the characters (\ding{51} and \ding{55}) and package newunicodefont helps in assigning them to the Unicode slots: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pifont} \usepackage{newunicodechar} \newunicodechar{✓}{\ding{51}} \newunicodechar{✗}{\ding{55}} \begin{document} Check mark: ✓, ballot x: ✗ \end{document} ...

0

I don't know if it was mentioned before but you might try LuaLaTex or XeLaTeX which have genuine support for UTF8, means you can write äöüß how you want and all other characters too and don't have to worry about it normally. They have other advantages, too, like embedding other fonts easily etc. Just ensure you save the TEX files in UTF8 encoding.

1

If you want to write text in math mode use \text{æ,ø,å}. See also Umlauts in math mode and utf-8 characters in latex math mode

1

(I'm pretty new to LaTeX, so I apologise If I use incorrect terms) This is pretty old, but in case someone else has this problem on OSX I found a different solution when trying to use input for a regression table I got from Stata: Just type the following at the top of the secondary file you want to input and run your main file under XeLaTeX: !TEX ...

6

Use the right packages, in this case textalpha; note that ε is U+03B5 GREEK SMALL LETTER EPSILON. Since we're dealing with the name of a star, the Greek letter is to be used. I also fixed the BibTeX entry for the paper, which had a few errors. \begin{filecontents*}{\jobname.bib} @ARTICLE{1937ApJ....86..570K, author = {Kuiper, G. P. and Struve, O. and ...

6

Using UTF-8 text input and rather basic math approximations we get: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \DeclareUnicodeCharacter{025B}{\ensuremath{\varepsilon}} \DeclareUnicodeCharacter{03F5}{\ensuremath{\epsilon}} \DeclareUnicodeCharacter{03B5}{\ensuremath{\varepsilon}} \begin{document} latin open e U+025b [ɛ] ...

Top 50 recent answers are included