0

Possible Duplicate:
Which documentclass is being used?

I want to make a style that would include some specific instructions if the document is using the memoir class, but I don't want those instructions to be included if the document is using another class. I've found some information about if-then statements in LaTeX, but not how to test the document class.

marked as duplicate by egreg, doncherry, Joseph Wright Oct 18 '11 at 18:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 3
    * Welcome to TeX.sx!. Have a look here: tex.stackexchange.com/questions/73/… – Roelof Spijker Oct 18 '11 at 15:37
  • If the question whlt3 pointed you to solves your problem, please let us now. In this case, we'd probably close this question as a duplicate just to keep the place tidy and to help people find answers quickly. Also, note that we don't usually put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. – doncherry Oct 18 '11 at 15:57
  • 2
    That post did solve my problem, and the advice on using SX will probably solver future problems :) – Scribblemacher Oct 18 '11 at 17:18