Skip to content

Line numbers in title section #47

@John02139

Description

@John02139

When using the lineno package with achemso.cls, we have found the following helpful in getting line-by-line numbering in the title section. (I'm not sure whether this counts as an enhancement or a bug fix!)

\usepackage{lineno} 

\usepackage{etoolbox}
\makeatletter
\patchcmd{\@maketitle}{
	\begin{minipage}{\acs@maketitle@width}
	}{
	\begin{minipage}{\acs@maketitle@width}\internallinenumbers
	}{\typeout{success patching achemso.cls 1}}{\typeout{failure}}
\patchcmd{\@maketitle}{
	\end{minipage}
	}{
	\end{minipage}\nolinenumbers\par
	}{\typeout{success patching achemso.cls 2}}{\typeout{failure}}
\patchcmd{\acs@contact@details}{
	\acs@email@list
	}{
	\acs@email@list\par
	}{\typeout{success patching achemso.cls 3}}{\typeout{failure}}
\makeatother

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions