I would like to refer to reStructuredText in my LaTeX documents my using an equivalent of the \LaTeX{} command. Has anybody perhaps created one?

| improve this question | | | | |

Based on Torbjørn T.'s commend (http://docutils.sourceforge.net/rst.html).

enter image description here

% Quick and Dirty
% I do not know enough about kerning to make it (even) prettier :).
% See https://tex.stackexchange.com/questions/313527 for example or https://ctan.org/pkg/metalogo.

% Maybe use \providecommand if you plan to use a more plain macro name which is more likely to be alreday taken by another package or document class (https://tex.stackexchange.com/questions/36175).




enter image description here

Hint: Maybe have a look at the xspace package to avoid needing the {} after the command, as in Before \LaTeX{} After.

| improve this answer | | | | |
  • Why the \textrm, which does nothing? – Torbjørn T. Jun 9 '18 at 9:46
  • @TorbjørnT. In case the command is used in a sans serif context. – Dr. Manuel Kuehner Jun 9 '18 at 9:47
  • 1
    Ah, I see. Sorry for the noise. – Torbjørn T. Jun 9 '18 at 9:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.