[NTG-context] Fine-tuning of aps style

Alan Braslau braslau.list at comcast.net
Mon Apr 15 00:04:07 CEST 2019


On Sun, 14 Apr 2019 18:30:11 +0300
Dmitry Starostin <starostin.dmitry at gmail.com> wrote:

> To cite like [1, p. 101]
> 
> \cite[righttext={\nbsp p.~101}][Hankins:2014]
> 
> works, but has no comma
> 
> \cite[righttext={, p.~101}][Hankins:2014]
> 
> produces no page
> 
> \cite[righttext={,\nbsp p.~101}][Hankins:2014]
> 
> gives no page at all
> 
> \cite[righttext={\nbsp, p.~101}][Hankins:2014]
> 
> gives no page at all.
> 
> righttext seems to be reluctant over the initial comma right after the
> reference number.

As you can have multiple references:

\cite[righttext={p.~101,p.301}[Hankins2014,Starostin2019]

If one wants an explicit comma in the text for each citation,
one needs to add extra grouping:

\cite[righttext={{, p.~101}}][Hankins:2014]

Alan


More information about the ntg-context mailing list