1

How do I represent and use some of the characters in the snippet below in Winedt 10.3 ? I just want this for fun. I want a way how to create some of these characters in a pdflatex compiler in WinEdt 10.3. Can someone give me a MWE of LaTeX file how to use them ? This a general question about how to use Unicode in WinEdt. Please note that I'm a complete beginner to LaTeX and Unicode especially. I need a MWE of the character 12110, not some lengthy answer.

enter image description here

user2925716
  • 1,940
  • Check this out: https://tex.stackexchange.com/q/34604/10898 – azetina Sep 28 '19 at 18:22
  • Is there any particular reason why you don't use LuaTeX or XeTeX? – Skillmon Sep 28 '19 at 18:29
  • @Skillmon Yes, for some reasons I need LaTeX. – user2925716 Sep 28 '19 at 18:36
  • 1
    @user2925716 LuaTeX and XeTeX are just engines, they can compile LaTeX documents (by calling lualatex <filename> or xelatex <filename> just as you would with pdflatex, which's engine is called pdfTeX). – Skillmon Sep 28 '19 at 18:39
  • What's wrong with this MWE? : \documentclass{article}

    \usepackage[utf8]{inputenc} \DeclareUnicodeCharacter{2014}{\dash}

    \begin{document}

    $\dash$

    \end{document}

    – user2925716 Sep 28 '19 at 18:45
  • It is the wrong way around. \DeclareUnicodeCharacter declares what to output if the Unicode character is read in the sources, not which macro to replace with a Unicode character. If you really want to use pdflatex you'd first have to find a font which has those symbols available and is usable under pdflatex. If you'd use lualatex instead, you'd just load a system font (provided by your OS) and input the Unicode character directly into the sources. As long as the used font has the glyph it'll work. – Skillmon Sep 28 '19 at 19:06
  • @user2925716 correct would be \documentclass{article}\DeclareUnicodeCharacter{2014}{\dash}\newcommand*\dash{\textemdash}\begin{document}—\end{document}. – Skillmon Sep 28 '19 at 19:16
  • For unicode, compiling with xelatex/lualatex and fontspec package is very easy: \documentclass{article} \usepackage{fontspec} \newfontface{\cuneiform}{Noto Sans Cuneiform} \begin{document} Cuneiform \cuneiform \end{document} – Cicada Sep 28 '19 at 22:49

0 Answers0