I need to insert a text with ⮀character (u+2b80), in a document. Is there any way?
I've tried: \literate {⮀}{{???}}1 but can't find what to write instead of ???.
Any suggestions?
I need to insert a text with ⮀character (u+2b80), in a document. Is there any way?
I've tried: \literate {⮀}{{???}}1 but can't find what to write instead of ???.
Any suggestions?
Yes it's possible, as long as the font you're using has the character.
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Symbola}
\begin{document}
\char"2B80
\end{document}
Look up a suitable symbol http://mirrors.ctan.org/info/symbols/comprehensive/symbols-a4.pdf and then use it:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{listings,amssymb}
\lstset{literate ={⮀}{$\leftrightarrows$}1}
\begin{document}
\begin{lstlisting}
a listing with ⮀ symbol
\end{lstlisting}
Add the following package
\usepackage{listingsutf8}
Or provide an MWE that the community can try to solve your problem.
\begin{document} I can't write ⮀ - \char"2B80
\begin{lstlisting} a listing with ⮀ symbol \end{lstlisting}
\end{document}
only cross in squares appear
– yeKcim Oct 30 '15 at 19:04
\begin{document} I can't write ⮀ - \char"2B80
\begin{lstlisting} a listing with ⮀ symbol \end{lstlisting}
\end{document}
only cross in squares appear nothing like http://graphemica.com/%E2%AE%80 what i need (not leftrightarrows but leftwards triangle-headed arrow over rightwards triangle-headed arrow (U+2B80)
– yeKcim Oct 30 '15 at 19:05