0

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

johzi
  • 3

1 Answers1

1

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

enter image description here

\documentclass{article}
% 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.

\newcommand{\myReStTe}{\textit{\textrm{re}}\texttt{Structured}\textit{\textrm{Text}}}
% 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).

\begin{document}

\myReStTe

\end{document}

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.