Search found 3 matches

by titus
Wed Jun 09, 2010 10:18 pm
Forum: Text Formatting
Topic: equivalent onlinecite for non-revtex document-class
Replies: 4
Views: 23756

Re: equivalent onlinecite for non-revtex document-class

\citenum{refx} gives an error in the case that refx has not been cited (by "\cite{refx}") before the citenum-command
by titus
Tue May 25, 2010 2:35 pm
Forum: Text Formatting
Topic: equivalent onlinecite for non-revtex document-class
Replies: 4
Views: 23756

Re: equivalent onlinecite for non-revtex document-class

Despite the achemso package using natbib, citetext, citealp etc do not work. I found a way around defining
a new command
\newcommand{\onlinecite}[1]{\hspace{-1 ex} \nocite{#1}\citenum{#1}}
This gives pretty the same result as \onlinecite in revtex. Only multiple citation like "...in Refs. [1-4]"
I ...
by titus
Sun May 23, 2010 10:55 am
Forum: Text Formatting
Topic: equivalent onlinecite for non-revtex document-class
Replies: 4
Views: 23756

equivalent onlinecite for non-revtex document-class

Hi,
I am writing an article in the ACS latex format, documentclass=achemso. Citations are in superscript, but sometimes it is handy to have in-text citations such as "It was shown in Ref. [..]..".
Revtex has the command \onlinecite{..} for this. Anybody knows how to do this in another documentclass ...