i'm using the theorem environment to write edition notes or commentaries in an article.

    name={\ding{46} Note },

Is there a way to tell latex to ignore this type of theorem and print nothing in the final pdf file? I want to avoid deleting note by note. Thanks!

  • 2
    Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Commented May 22, 2016 at 22:10
  • 1
    Please turn your code into a complete, minimal example we can copy-paste-compile.
    – cfr
    Commented May 22, 2016 at 22:38

1 Answer 1


You can use the comment package to ignore an environment as follows:


    name={\ding{46} Note },

\excludecomment{note} % comment or uncomment this line


some text

Some text outside a note.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .