wdbibtex.LaTeX.packages#

property LaTeX.packages#

Returns used LaTeX packages.

Returns:
str

Multi-line LaTeX \usepackage[options]{package} string.

Examples

>>> import wdbibtex
>>> tx = wdbibtex.LaTeX()
>>> tx.add_package('cite')
>>> print(tx.packages)
\usepackage{cite}
>>> tx.add_package('graphicx', 'dvipdfmx')
>>> print(tx.packages)
\usepackage{cite}
\usepackage[dvipdfmx]{graphicx}