# [OS X TeX] Detecting an option in documentclass [OT]

Themis Matsoukas tmatsoukas at me.com
Sat Aug 27 21:06:48 CEST 2011

On Aug 27, 2011, at 12:13 AM, Alan Munn wrote:

> I don't think there's a general way to do this.  In your specific case, memoir has a conditional \ifartopt which is set to true if the article option is chosen.  So you can do:
>
> \ifartopt
> ... (define article version of the macro)
> else
> ...  (define non-article version)
> \fi

Alan,

thanks, I got it to work.

Themis