Re: [sphinx-users] Typesetting \LaTeX

2018-10-27 Thread Komiya Takeshi
You can do it with raw directive and substitution:: .. |latex| raw:: latex \LaTeX hello |latex| world But the LaTeX is only shown on LaTeX output. If you want to see it on other outputs, any extension might be needed. Thanks, Takeshi KOMIYA 2018年10月27日(土) 6:03 John H Palmieri :

Re: [sphinx-users] Typesetting \LaTeX

2018-10-26 Thread Aaron Carlisle
You can probably code a custom directive, something like :latext:`LaTeX`. I won't be able to help much providing a code example but hopefully this is a possibility. On Fri, Oct 26, 2018 at 5:03 PM John H Palmieri wrote: > If I use the string "\LaTeX" in an reST document and run it through >

[sphinx-users] Typesetting \LaTeX

2018-10-26 Thread John H Palmieri
If I use the string "\LaTeX" in an reST document and run it through Sphinx's latex builder, it strips the leading backslash, so if I run it through Sphinx's pdf builder, I just get the text "LaTeX". I would instead like to use the command "\LaTeX", which produces a nicely typeset LateX symbol.