Document ClassesACS meeting preprints using achemso

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
hypotheticalme
Posts: 7
Joined: Sat Dec 13, 2008 1:36 am

ACS meeting preprints using achemso

Post by hypotheticalme »

Does anyone know of an easy way to modify the achemso class to un-suppress section headings within the JACS communication style? I'm trying to format a preprint for an ACS national meeting and the Division of Polymer Chemistry (and maybe others) require a format very similar to JACS communications but with section headings still present.
Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

ACS meeting preprints using achemso

Post by josephwright »

Try:

Code: Select all

\makeatletter
\acs@restsecnums
\makeatother
somewhere before \begin{docunment}
Joseph Wright
hypotheticalme
Posts: 7
Joined: Sat Dec 13, 2008 1:36 am

ACS meeting preprints using achemso

Post by hypotheticalme »

josephwright wrote:Try:

Code: Select all

\makeatletter
\acs@restsecnums
\makeatother
somewhere before \begin{docunment}
I tried this, but I still get a warning saying sections are not allowed for this manuscript type and it compiles without the section headings.
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

ACS meeting preprints using achemso

Post by josephwright »

Oops, thinking of something else. Try:

Code: Select all

\makeatletter
\let\section\acs@section
\let\subsection\acs@subsection
\makeatother
Joseph Wright
hypotheticalme
Posts: 7
Joined: Sat Dec 13, 2008 1:36 am

Re: ACS meeting preprints using achemso

Post by hypotheticalme »

That does the trick, thanks! Now my only issue is the font size is too large in the section headings, and I'm not sure how to go about changing it. I tried using the sectsty package but it didn't seem to change anything.
Katie
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: ACS meeting preprints using achemso

Post by josephwright »

I tend to use titlesec (you'll need it after the hack I've posted).
Joseph Wright
hypotheticalme
Posts: 7
Joined: Sat Dec 13, 2008 1:36 am

Re: ACS meeting preprints using achemso

Post by hypotheticalme »

Yep the placement was the problem. Thanks so much for your help!
Katie
Post Reply