wdbibtex.LaTeX.citeleft#
- property LaTeX.citeleft#
Left delimiter of list. Default ‘[‘.
- Returns:
- str
Left delimiter of list.
Examples
>>> import wdbibtex >>> tx = wdbibtex.LaTeX() >>> tx.citation_labels = {'key1': 1, 'key2': 2, 'key3': 3} >>> tx.citeleft '[' >>> tx.cite('\\cite{key1}') '[1]' >>> tx.cite('\\cite{key2,key3}') '[2,3]' >>> tx.cite('\\cite{key3,key2,key1}') '[3,2,1]' >>> tx.citeleft = '(' >>> tx.citeleft '(' >>> tx.cite('\\cite{key1}') '(1]' >>> tx.cite('\\cite{key2,key3}') '(2,3]' >>> tx.cite('\\cite{key3,key2,key1}') '(3,2,1]'