Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to use the fleqn option to amsmath package. However, my document class gets in the way:

Writing

 \documentclass[fleqn]{acm_proc_article-sp}

I am warned that the global option is ignored. But, writing,

 \usepackage[fleqn]{amsmath}

I get an option clash warning.

Is there a way to go around this limitation? I suppose I could hack the class file, but I would prefer not to.

share|improve this question
    
i know how to check a class file to see if an option is passed on to a package, but i don't know where to find this class file -- it's not on ctan or on the acm web site that i could find. ??? –  barbara beeton Apr 1 '11 at 19:28
    
@barbara beeton: you can find the document class here: acm.org/sigs/publications/acm_proc_article-sp.cls/view –  Gonzalo Medina Apr 2 '11 at 1:20
add comment

1 Answer

up vote 2 down vote accepted

You can pass the fleqn option to the amsmath package before declaring the document class:

\PassOptionsToPackage{fleqn}{amsmath}
\documentclass{acm_proc_article-sp}
share|improve this answer
    
also works for \documentclass{sig-alternate} –  flamingpenguin Apr 19 '13 at 0:54
add comment

Your Answer

 
discard

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.