Hot answers tagged

4

The classic TeX double struck font you show in the first code block is not derived from Computer Modern at all it is the AMS symbol font msbm10 (and the first two rows are set in Computer Modern, not Latin Modern) The second block is using a consistent font for all three rows, Latin Modern Math Opentype. There are other Computer Modern inspired OpenType Math ...


3

One solution is to replace your font packages with \usepackage{unicode-math} and compile with LuaLaTeX or XeLateX. This supports all of Unicode. Another solution that’s compatible with any TeX engine is: \usepackage{newunicodechar} \newunicodechar{≤}{\ensuremath{\leq}}


3

Is there a particular reason for you to use XeLaTeX? If your document can compile with LuaLaTeX, then this can work (--pdf-engine=lualatex). Install Noto Color Emoji on your system. Modify your preamble.tex as follows: \usepackage[french]{babel} \usepackage{fontspec} \directlua{luaotfload.add_fallback ("emojifallback", { "...


3

You can compile the ☧ symbol as a standalone PDF, with LuaLaTeX or XeLaTeX, and include it. This embeds the Unicode font you used into your PDFTeX document. You can even copy and paste it. First, compile this to chiro.pdf with LuaLaTeX or XeLaTeX: Upload it with your project as a graphic. \documentclass{standalone} \tracinglostchars=2 \usepackage{...


2

You will find it easier to use such characters in xelatex or lualatex than pdflatex. My (windows firefox) browser used a font called Ebrima to show the symbol in your question (as shown by selecting the "inspect element" menu option in the browser) So I simply specified xelatex use the same font and the character "just worked" \...


1

The easiest way to write in multiple (non Latin) languages ​​is, in my opinion, to use LuaLaTeX. First of all, in this way you can use all the OpenType fonts available in TeX Live, without having to install them on the system (as you would with XeLaTeX). Furthermore, some microtype features not available for XeLaTeX can be used with LuaLaTeX. I prefer to ...


1

Do not use either inputenc or fontenc with xetex or luatex so start by removing them, then use fontspec and specify any font that has these characters (eg you could use whichever font your browser picks to display the character). I used the Windows Arial font here, as that has quite wide coverage. \documentclass{article} \usepackage{fontspec} \setmainfont{...


Only top voted, non community-wiki answers of a minimum length are eligible