[OS X TeX] applemac \inputenc

Vamos, Peter P.Vamos at exeter.ac.uk
Sat Jun 23 02:12:13 CEST 2018


I found a solution/answer to my question/problem on the internet (stackexchange). See the example below. With the preamble as in this example one can type accented characters, in particular the Hungarian double acute ones like ő \H{o} and its kith and kin, from the (Hungarian) keyboard and these will typeset correctly.

Thanks to everyone who responded.

Peter

% !TEX encoding = UTF-8 Unicode

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\PassOptionsToPackage{defaults=hu-min,suggestions=no}{magyar.ldf}
\usepackage[magyar]{babel}

\begin{document}
Árvíztűrő tükörfúrógép.\\
öüóúőéáű\\
\uppercase{öüóúéá} ŐŰ
\end{document}

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list