# Tag Info

0

The easiest way might be using XeLaTeX like in this answer by Bernhard. I will just copy his MWE (use UTF-8 as character encoding when saving this as a new file): \documentclass[12pt,a4paper]{article} \usepackage{fontspec} \setmainfont{Linux Libertine O} \begin{document} Pythagoras and Euclid Πυθαγόρας και Ευκλείδης. \end{document} You can adjust ...

1

The options greekfont and defaultgreek are for pdflatex, whereas you're apparently using XeLaTeX. You have to use a font supporting Greek, for instance EBGaramond, as the default font Latin Modern doesn't fully support the Greek alphabet. \documentclass[ documentstructure=article, tocstyle=dotted, ]{suftesi} \usepackage[suftesi]{frontespizio} ...

0

Herea are two possibilities, if the vertical separation of the first attempt is not acceptable. \documentclass[fontsize=12pt]{scrartcl} \usepackage{stackengine} \usepackage{fontspec} \setmainfont[SmallCapsFont={Latin Modern Roman Caps},SlantedFont={Latin Modern Roman Slanted}]{Latin Modern Roman} \def\rla{\stackengine{5.8pt}{\r ...

2


2

Your example doesn't work even with pdflatex, so it isn't really surprise that it doesn't work with tex4ht as well. Easiest solution to get non-european scripts working with tex4ht is to use helpers4ht bundle, in particular emulation of fonstspec package. helpers4ht aren't on CTAN yet, you need to install it yourself. Now back to your example, it is little ...

0

I found it. Instead of \usepackage[utf8]{inputenc} I need to use \usepackage[utf8x]{inputenc} UPDATE! Too hasty. That handles the one-half character and the degree symbol, it does not handle Japanese Katakana.

12

∞ is U+221E so you want, for (pdf)teX \DeclareUnicodeCharacter{221E}{\ensuremath{\infty}}

Top 50 recent answers are included