* m-bib and \onlinecite
@ 2006-05-09 13:42 Tobias Burnus
2006-05-09 14:37 ` Taco Hoekwater
0 siblings, 1 reply; 3+ messages in thread
From: Tobias Burnus @ 2006-05-09 13:42 UTC (permalink / raw)
Hello,
what is the recommended way to get the following:
as is written in Ref.~4.
Using Ref.~\cite[four] gives "Ref. [4]" with the superfluous brackets.
(\cite[ref] should remain unmodified, ie with brackets, as this is
mostly used in texts [1-5,7].)
APS' revtex offers \onlinecite (Ref.~\onlinecite{four}) to obtain the
reference number without the brackets.
Tobias
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: m-bib and \onlinecite
2006-05-09 13:42 m-bib and \onlinecite Tobias Burnus
@ 2006-05-09 14:37 ` Taco Hoekwater
2006-05-09 18:49 ` Tobias Burnus
0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2006-05-09 14:37 UTC (permalink / raw)
Tobias Burnus wrote:
> Hello,
>
> what is the recommended way to get the following:
>
> as is written in Ref.~4.
>
> Using Ref.~\cite[four] gives "Ref. [4]" with the superfluous brackets.
> (\cite[ref] should remain unmodified, ie with brackets, as this is
> mostly used in texts [1-5,7].)
\def\onlinecite#1{\cite[left=,right=][#1]}
But are you sure the macro should not be called \inlinecite ?
Cheers, Taco
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: m-bib and \onlinecite
2006-05-09 14:37 ` Taco Hoekwater
@ 2006-05-09 18:49 ` Tobias Burnus
0 siblings, 0 replies; 3+ messages in thread
From: Tobias Burnus @ 2006-05-09 18:49 UTC (permalink / raw)
Hi Taco,
Taco Hoekwater schrieb:
> \def\onlinecite#1{\cite[left=,right=][#1]}
> But are you sure the macro should not be called \inlinecite ?
>
I'm not sure how it should be called, however, in APS' RevTeX it is
called \onlinecite (as the number is not a superscript but on the line).
(Thanks for the reminder to use \cite[left=...][]. I was thinking only
of \setupcite[num][left=...]; now wikified)
Tobias
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-05-09 18:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-09 13:42 m-bib and \onlinecite Tobias Burnus
2006-05-09 14:37 ` Taco Hoekwater
2006-05-09 18:49 ` Tobias Burnus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).