pylatex Change Font of one sting

by Dima20155yandexru   Last Updated August 13, 2019 21:23 PM

how to change the font of the column in the table or change the font of one

from pylatex import Document, Section, Subsection, Tabular, MultiColumn,\ MultiRow def genenerate_tabu(): doc = Document(page_numbers=True)

# Generate data table
with doc.create(Tabular("l l l", row_height=1.8)) as data_table:
        data_table.add_hline()
        data_table.add_row(( MultiRow(4, data='Description' ), MultiColumn(2, 
            data=MultiRow(2, data='Dealay(ns)'))))
        data_table.add_row(( '', MultiColumn(2, data='Tin=0.6737ns') ))
        data_table.add_row(( '', MultiRow(2, data='AND2D0_LU'), 
            MultiRow(2, data='AND2D1_LU') ))
        data_table.add_row(('', 'Cout=0.0334pF', 'Cout=0.0334pF' ))
        data_table.add_hline()
        data_table.add_row('A1 - Z', '0.679', '0.681'))
        data_table.add_hline()
        data_table.add_row(('A2 - Z', '0.572', '0.595'))
        data_table.add_hline()
doc.generate_pdf("table", clean_tex=False)

genenerate_tabu()

I want to change the font of this stirng 'Cout=0.0334pF'

Tags : python pylatex


Related Questions


pylatex Change Font

Updated September 23, 2018 11:23 AM

Multiple Page PDF Export Issue With pylatex

Updated September 24, 2018 11:23 AM

Multiple columns in pylatex

Updated August 08, 2019 09:23 AM

Options in documentclass in pylatex

Updated September 11, 2017 16:23 PM

how to print a data frame from pandas using pylatex

Updated September 11, 2017 17:23 PM