1

我正在尝试更改文档的基本字体大小。这是我的代码:

from pylatex import Document, Command

if __name__ == '__main__':
    doc = Document('basic')
    doc.documentclass = Command(
        'documentclass',
        options=['48pt'],
        arguments=['book'],
    )
    doc.append('Some regular text.')
    doc.generate_pdf('full', clean=True)

但是,文本不是 48 点文本,无论我更改什么,它都保持不变options。我怎样才能使它达到48分?

4

0 回答 0