0

I would like to do something similar to this:

enter image description here

Where the property and its name are in the same line (like for symmetry property) and between round brackets like here. How can I do it?

  • They're not all on the same line! – Bernard Oct 27 '16 at 8:49
  • Ok, supposing that there is enough space for doing so. – user6321 Oct 27 '16 at 8:50
2

It is possible to make the descriptions flush right by adding \hfill before, like this

\begin{enumerate}
    \item $ d(O_x,O_y) = d(O_y,O_x) $ \hfill (symmetry)
\end{enumerate}

With help of a new command:

\newcommand*{\itemtag}[1]{\hfill (\emph{#1})}
\begin{enumerate}
    \item $ d(O_x,O_y) = d(O_y,O_x) $ \itemtag{symmetry}
\end{enumerate}
| improve this answer | |
  • 1
    unfortunately, this doesn't work if the \itemtag doesn't fit on the same line. – barbara beeton Oct 28 '16 at 14:12

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.