[texhax] need name of variable containing value of documentclass

Fehd, Ronald J. (CDC/OCOO/ITSO) rjf2 at cdc.gov
Fri Sep 30 22:36:09 CEST 2011


I am using a file in two different documents: 
the first is a stand-alone doc which is a documentclass=article
and, after editing, proofreading, and reviewing, 
I will input that file in a larger doc with documentclass=book.

Q: which macro variable contains the value of documentclass?

I would like to add the chapter command to the beginning of the file
when the doc is being input in the documentclass=book

if documentclass=book {chapter[\docTitleShort]{\docTitle}}


Ron Fehd  {SAS} macro maven

More information about the texhax mailing list