<s> from pylatex import Document , Section , Subsection , Command <EOL> def test ( ) : <EOL> doc = Document ( ) <EOL> Subsection ( '<STR_LIT>' , data = '<STR_LIT>' ) <EOL> sec1 = Section ( '<STR_LIT>' , data = '<STR_LIT>' ) <EOL> sec2 = Section ( '<STR_LIT>' , data = Command ( '<STR_LIT>' , <EOL> '<STR_LIT>' ) ) <EOL> sec2 . append ( '<STR_LIT>' ) <EOL> doc . append ( sec1 ) <EOL> doc . append ( sec2 ) <EOL> doc . generate_pdf ( ) </s>
