[Tex/LaTex] Writing a partial differential in the text symbols Does anyone know how to write a partial differential symbol, but in the text not as part of an equation? Thanks Best Answer \documentclass{article} \begin{document} This is an inline $\partial$ \end{document} Related Solutions[Tex/LaTex] Partial derivative with rightleftarrow on top of it One option using \overset: \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \[ \partial_0\quad \overset{\leftrightarrow}{\partial_0} \] \end{document} [Tex/LaTex] How to add text after a forward slash The underscore _ is a special character that TeX interprets as an instruction. (In this case, it's a subscript instruction for use in math mode.) To actually make an underscore symbol appear you need to use \_ (or \textunderscore). For example: \documentclass{article} \begin{document} /camera/image\_raw \end{document} Or as Bernard mentioned, you can also use the \verb command: \documentclass{article} \begin{document} \verb+/camera/image_raw+ \end{document} However, be careful with \verb as you can't use it in the argument of a command. (See Why doesn’t verbatim work within …?.) If your text represents a path (which it seems to) you can also use the \path command provided by the url package: \documentclass{article} \usepackage{url} \begin{document} \path{/camera/image_raw} \end{document}
Best Answer