project_report/project_report_latex.py
def format_table_footer_line(definitions, superscript):
        """
        Take a footer rows as list of tuples. The tuple have two elements.
        The first element will be formatted as bold.

        :param superscript: superscripted text that appear at the beginning of the line
        :param definitions: lists of tuples containing the definitions to be added on that line
        :return: list of latex formatted rows
        """
        formatted_latex = []
        if superscript:
            formatted_latex.append(NoEscape(r'\textsuperscript{%s}' % superscript))
        for def_element in definitions:
            formatted_latex.append(bold(def_element[0]))
            formatted_latex.append(': ' + def_element[1])
            formatted_latex.append(', ')  # Separate the different entries with comma
        return formatted_latex[:-1]

        Take a footer rows as list of tuples. The tuple have two elements.
        The first element will be formatted as bold.

        :param superscript: superscripted text that appear at the beginning of the line
        :param definitions: lists of tuples containing the definitions to be added on that line
        :return: list of latex formatted rows
        
Take a footer rows as list of tuples. The tuple have two elements.
The first element will be formatted as bold.
Take a footer rows as list of tuples . The tuple have two elements . The first element will be formatted as bold .
def format_table_footer_line(definitions, superscript):
        formatted_latex = []
        if superscript:
            formatted_latex.append(NoEscape(r'\textsuperscript{%s}' % superscript))
        for def_element in definitions:
            formatted_latex.append(bold(def_element[0]))
            formatted_latex.append(': ' + def_element[1])
            formatted_latex.append(', ')  
        return formatted_latex[:-1]
def format_table_footer_line ( definitions , superscript ) : formatted_latex = [ ] if superscript : formatted_latex . append ( NoEscape ( r'\textsuperscript{%s}' % superscript ) ) for def_element in definitions : formatted_latex . append ( bold ( def_element [ 0 ] ) ) formatted_latex . append ( ': ' + def_element [ 1 ] ) formatted_latex . append ( ', ' ) return formatted_latex [ : - 1 ]
Take a footer rows as list of tuples.
Take a footer rows as list of tuples .
"""
        Take a footer rows as list of tuples. The tuple have two elements.
        The first element will be formatted as bold.

        :param superscript: superscripted text that appear at the beginning of the line
        :param definitions: lists of tuples containing the definitions to be added on that line
        :return: list of latex formatted rows
        """ # Separate the different entries with comma
list of latex formatted rows
list of latex formatted rows
definitions
lists of tuples containing the definitions to be added on that line
lists of tuples containing the definitions to be added on that line
superscript
superscripted text that appear at the beginning of the line
superscripted text that appear at the beginning of the line