Tag Info

New answers tagged


Playing a bit with tikz, this is what I got: \documentclass[margin=3pt]{standalone} \usepackage{tikz} \newcommand{\shrug}[1][]{% \begin{tikzpicture}[baseline,x=0.8\ht\strutbox,y=0.8\ht\strutbox,line width=0.125ex,#1] \def\arm{(-2.5,0.95) to (-2,0.95) (-1.9,1) to (-1.5,0) (-1.35,0) to (-0.8,0)}; \draw \arm; \draw[xscale=-1] \arm; \def\headpart{(0.6,0) ...


Free version with the default font and pdflatex: \documentclass[12pt]{article} \usepackage{graphicx,rotate} \begin{document} \rule[1.3ex]{.25em}{1pt}\kern-.1em% \reflectbox{\small\ttfamily/}% \kern-.1em\rule[-.2ex]{.4em}{1pt}% \makebox{{\raisebox{.15em}{{\large\textcircled{ \ttfamily\kern-.35em% ...


This works with pdflatex. \documentclass{article} \usepackage{CJKutf8} \newcommand{\textoverline}{$\overline{\mbox{\phantom{L}}}$} \begin{document} \begin{CJK}{UTF8}{min} \textoverline\verb|\_(ツ)_/|\textoverline \end{CJK} \end{document} And for XeLaTeX, an alternative to David's answer \documentclass{article} \usepackage{fontspec} ...


I used xelatex here, and specified the font that firefox used on my system to display your title. But switched to Arial for the arms as MS PGothic has a Yen in the backslash slot (long story:-) \documentclass{article} \usepackage{fontspec} \setmainfont{MS Gothic} \setsansfont{Arial} \begin{document} \textsf{¯\char92\string_}(ツ)\textsf{\string_/¯ } ...


I had to put \setactivedoublequote in the preamble. I'm not sure why I never had to use it, but whatever, now it works.


One possibility is to approximate it using math mode. That character looks a lot like $^{\mathsf{L}}$, so it's possible to just use that in the literate option: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{listings} \lstset{ basicstyle=\large\ttfamily, breaklines=true, breakatwhitespace=true, literate=% ...


That's the chi in the Symbol Adobe font. \documentclass{article} \usepackage{mathptmx} \usepackage{amsmath} \newcommand{\upchi}{\text{\usefont{U}{psy}{m}{n}\symbol{'143}}} \begin{document} X\upchi $\upchi+X_{\upchi}$ \end{document}


One possibility is to use my technique at How are big operators defined? to define \varsum, which takes the \Sigma glyph from the same font family and scales it to the size of \sum. This approach has the advantage of using a glyph already in that font family. However, you may find the weight too heavy is the downside. Note that I don't have the neo Euler ...


You can use one of helpers4ht packages, alternative4ht. It isn't on CTAN yet, but installation is easy. This method is described in a tutorial, your document needs only small changes: \documentclass{article} \usepackage{import} \usepackage{alternative4ht} %\nonstopmode \usepackage{makeidx} \usepackage{appendix} \usepackage{verbatim} \usepackage{graphicx} ...


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}


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}


Add the following package \usepackage{listingsutf8} Or provide an MWE that the community can try to solve your problem.

Top 50 recent answers are included