wdbibtex.LaTeX.citeright#

property LaTeX.citeright#

Right delimiter of list. Default ‘]’.

Returns:
str

Right delimiter of list.

Examples

>>> import wdbibtex
>>> tx = wdbibtex.LaTeX()
>>> tx.citation_labels = {'key1': 1, 'key2': 2, 'key3': 3}
>>> tx.citeright
']'
>>> tx.cite('\\cite{key1}')
'[1]'
>>> tx.cite('\\cite{key2,key3}')
'[2,3]'
>>> tx.cite('\\cite{key3,key2,key1}')
'[3,2,1]'
>>> tx.citeright = ')'
>>> tx.citeright
')'
>>> tx.cite('\\cite{key1}')
'[1)'
>>> tx.cite('\\cite{key2,key3}')
'[2,3)'
>>> tx.cite('\\cite{key3,key2,key1}')
'[3,2,1)'