Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect default formatting for \mciteSubRef{} #37

Open
tscmacdonald opened this issue Jun 11, 2021 · 2 comments
Open

Incorrect default formatting for \mciteSubRef{} #37

tscmacdonald opened this issue Jun 11, 2021 · 2 comments

Comments

@tscmacdonald
Copy link

I'm writing a manuscript in Overleaf, generated from the default achemso template and making use of group citations through mciteplus. When re-citing subentries of a grouped citation, by default the citation is no longer superscript and a full stop appears between the number and letter:
image

I believe that the correct formatting is superscript with no full stop. This can be corrected with \renewcommand{\mcitesubrefform}{\textsuperscript{\arabic{mcitebibitemcount}\alph{mcitesubitemcount}}}, which renders like this:
image

@josephwright
Copy link
Owner

Could you add a full example of your input?

@tscmacdonald
Copy link
Author

tscmacdonald commented Jun 15, 2021

MWE:

\documentclass[journal=jacsat]{achemso}
%\renewcommand{\mcitesubrefform}{\textsuperscript{\arabic{mcitebibitemcount}\alph{mcitesubitemcount}}}
\title{An \textsf{achemso} demo}
\begin{document}
\section{Introduction}
I like to cite in groups.\cite{Merrifield1968,*Merrifield1971} Sometimes I like to cite the subentries too, like this\mciteSubRef{Merrifield1968} or this.\mciteSubRef{Merrifield1971}
\bibliography{bibliography}
\end{document}

With the \renewcommand switch commented out, as above, it renders like this:
image

While this (with the \renewcommand uncommented) is my expected appearance:
image

As an aside: \mciteSubRef can only take one argument and doesn't compress cited subentries. There is a useful code snippet on StackExchange that allows subentry citation in a more natural way (which I use in my own documents) that you may wish to consider for improved functionality here, but I'm not sure if it's compatible with natbib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants