General ⇒ Citation format
Citation format
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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Citation format
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={}}
Re: Citation format
\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: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Citation format
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