TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a document with many description environments. I would like to change all these description environments to LaTeXdescription environments, without manually changing all the occurrences of description.

Is there a way to tell LaTeX that I want the description environment to be just a synonym for LaTeXdescription?

share|improve this question
up vote 5 down vote accepted

This should work:

    \end{LaTeXdescription}\ignorespacesafterend% as suggested above
share|improve this answer
You probably want to add \ignorespacesafterend as the last token in the end code if you define it that way as the nested environment form defeats LaTeX's white space handling. – David Carlisle Nov 15 '12 at 15:23
@DavidCarlisle Thanks, I will remember your advice. Is there a big difference between your solution and mine? – Lionel MANSUY Nov 15 '12 at 15:45
As always with newcommand and let the main difference is if the definition of LaTeXdescription is later changed. If it is changed then your definition will pick up the new version, mine will pick up the old. I suppose we will find out which one the OP wants by who gets the green tick. I +1 yours anyway as it is a perfectly valid answer. – David Carlisle Nov 15 '12 at 16:23

It depends a bit on how you define , specifically whether you define it in terms of the existing description but assuming LaTeXdescription is not defined to expand to something involving description you should be able to do

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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