Source code for pyexlatex.texgen.packages.columntypes


from pyexlatex.models.package import Package
from pyexlatex.table.models.texgen.newcolumntype import NewColumnTypes

[docs]class ColumnTypesPackage(Package): """ New column types are created by importing the dcolumn package then adding the column type definition lines """
[docs] def __init__(self): super().__init__('dcolumn')
def __str__(self): from pyexlatex.logic.builder import _build package_import = super().__str__() return _build([ package_import, NewColumnTypes() ])