LatexCheatSheets
Module that generates Cheat Sheets.
A cheat sheet is a synthetic view of something, of objects with a lots of properties. In this case, for example PlateMinimumAreaCS show input data, calculations and output in synthetic manner.
Classes list:
1. BeamMinimumAreaCS
2. ConcreteMaterialCS
3. PlateMinimumAreaCS
4. RebarMaterialCS
PlateMinimumAreaCS
Bases: FragmentsBuilder
The class builds a fragment report starting from PlateMinimumArea class
The class needs a Reporter class in Report module to build real pdf file.
Examples:
fragBuilder = latexCheatSheets.PlateMinimumAreaCS(
latexTemplatePath=latexTemplatePath,
data=data
)
frag_title = Fragment()
frag_title.add(line=r"\section{Area minima delle piastre secondo EC2}")
frag = fragBuilder.buildFragment()
reporter = Reporter(latexTemplatePath)
reporter.buildPDF(ReportDriverEnum.PDFLATEX, ReportTemplateEnum.TEX_ENG_CAL, [frag_title,frag])
reporter.makePDF(path=str(tmp_path), fileName="TEX_ENG_CAL")