New answers tagged


If you want to use xelatex + luatex and unicode chars above position 256 you must add them to the process letter list. See The 'listings' package and UTF-8. In the case of the lambda you should add ^^^^03bb: \documentclass{standalone} %\usepackage{luatex85} %needed with newer luatex % allow unicode characters in listings \RequirePackage{fontspec} \...


Line \documentclass[12pt,hyperref={unicode}]{beamer} does not work for me, I solve my problem with \usepackage{hyperref} insted of \usepackage[unicode]{hyperref}


So this does the trick: \documentclass{article} \usepackage{fontspec} \setmainfont{DejaVu Sans} \begin{document} \section{unicode test} Ꜣ \end{document} And then compiling it with xelatex. Thank you jon for the suggestions!


Using suggestions form various editors (thanks a lot!) I implemented this solution, which is ok for me #!/usr/bin/pythonw # -*- coding: utf-8 -*- import sys import re # NOTE: literals enclosing backckslash are forced to raw using prefix r'...' repldict = {'Ω':r'\Omega','?<8A><86>':r'\subseteq','?<8A><82>':r'\subset', '?<...


It's not clear why using LuaLaTeX, but here it is. \begin{filecontents*}{\jobname.bib} @article{test, author={Günter Frö}, title = {Wörter}, journal = {Wörter in Österreich}, year = {2013} } \end{filecontents*} \documentclass{article} \usepackage[utf8]{luainputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage[ backend=biber, ...


I just did this in PHP. You should be able to do something like this in Python: $string = "I want the Latex equivalent of Ω, Δ, etc."; $string = str_replace( array("Ω","Δ"), array("$\Omega$", "$\Delta$"), $string); string variable will now be: "I want the Latex equivalent of $\Omega$, $\Delta$, etc."


Find a font with the required glyph (not GFS Porson, which hasn't it) and use \newunicodechar for choosing it. \documentclass{scrartcl} \usepackage[no-math]{fontspec} \usepackage{polyglossia} \usepackage{newunicodechar} \setmainlanguage[variant=ancient]{greek} \setmainfont{GFS Porson} \newfontfamily{\greekfont}{GFS Porson} \newfontfamily\digammafont{...


If I compile the following example with LuaLaTeX from TeX Live 2015 \documentclass{beamer} \begin{document} \begin{frame} \begin{itemize} \item \'Angel \item Ángel \item Pedro Rodr\'{\i}guez \item Pedro Rodríguez \end{itemize} \end{frame} \end{document} I get which is expected. If I add also \usepackage[T1]{fontenc}, the output is but it is ...


I am using the following python script. The result required some small tweaking. #!/usr/bin/env python3 import sys import fileinput import unicode_tex excluded_chars = ['\\', '&', '$', '{', '}', '%', ' ', '_', '~', '\'', '`', '^', '*', '#'] tex_replacements = unicode_tex.unicode_to_tex_map.copy() for char in excluded_chars: tex_replacements.pop(...

Top 50 recent answers are included