Hi all,
I am going to submit a paper to American Journal of Human Genetics. I understand the AJHG recently change the format. I've tried the latest ajhg.bst provided by Amy L. Williams from MIT.
I follow the instructions from http://www-lecb.ncifcrf.gov/~toms/latex.html
\documentclass[12pt,manuscript]{aastex}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{nature}
\usepackage{citesupernumber}
\usepackage{citecollapse}
\bibliography{ref}
%ref is the reference database
\bibliographystyle{ajhg}
I use JabRef to manage my references. In the latex, I use \cite{Bibtexkey} to cite references.
Then the pdf file has the following format, for example:
1) "Many tests have been developed for identifying ..... (1; 2; 3; 4)".
I hope to make it "1-4" in superscript instead of 1;2;3;4 and no
parentheses. It seems citecollapse and citesupernumber are not
effective here.
2) "The patient from the (5) study is indicated......" I hope to have
"Schwarzmeier et al." (author's information) appear in the text
instead of (5) there.
I very appreciate if you have any suggestion.
General ⇒ Citation format
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Citation format
Hi genechip,
welcome to the board!
Stefan
welcome to the board!
You could use natbib-features instead:genechip wrote: I hope to make it "1-4" in superscript instead of 1;2;3;4 and no parentheses. It seems citecollapse and citesupernumber are not effective here.
Code: Select all
\documentclass[12pt,manuscript,compress]{aastex}
\setcitestyle{super,open={},close={}}
LaTeX.org admin
Re: Citation format
I tried
\documentclass[12pt,manuscript,compress]{aastex}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{natbib}
\usepackage{nature}
\usepackage{citesupernumber}
\usepackage{citecollapse}
\setcitestyle{super,open={},close={}}
Situation is not changed and \setcitestyle{super,open={},close={}} makes error like Undefined control sequence.
\documentclass[12pt,manuscript,compress]{aastex}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{natbib}
\usepackage{nature}
\usepackage{citesupernumber}
\usepackage{citecollapse}
\setcitestyle{super,open={},close={}}
Situation is not changed and \setcitestyle{super,open={},close={}} makes error like Undefined control sequence.
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Citation format
aastex already loads natbib. nature, citesupernumber and citecollapse are not needed.
The following example is compilable on my system and produces the desired result:
Try this with your own references, if errors are produced tell them to us.
Stefan
The following example is compilable on my system and produces the desired result:
Code: Select all
\documentclass[12pt,manuscript,compress]{aastex}
\setcitestyle{super,open={},close={}}
\begin{document}
See \cite{texbytopic,texbook,latexbook}.
\bibliographystyle{ajhg}
\bibliography{myrefs}
\end{document}
Stefan
LaTeX.org admin