<commit_before>class LaTeX:

    def preamble(self, typeface):
        return """
\\documentclass[a4paper,12pt]{{article}}

\\usepackage{{fontspec}}
\\usepackage{{dblfnote}}
\\usepackage{{pfnote}}

\\setromanfont{{{typeface}}}

\\linespread{{1.5}}
\\spaceskip 0.5em

\\begin{{document}}
""".format(typeface=typeface)

    def chapter_verse(self, chapter, verse):
        return "\\textbf{{\Large {}.{}}}".format(chapter, verse)

    def verse(self, verse):
        return "\\textbf{{{}}}".format(verse)

    def word(self, text, headword=None, parse=None, gloss=None):
        if headword is None and parse is None and gloss is None:
            return text
        else:<commit_msg>fix linespacing in footnotes (part of #3)<commit_after>class LaTeX:

    def preamble(self, typeface):
        return """
\\documentclass[a4paper,12pt]{{article}}

\\usepackage{{setspace}}
\\usepackage{{fontspec}}
\\usepackage{{dblfnote}}
\\usepackage{{pfnote}}

\\setromanfont{{{typeface}}}

\\linespread{{1.5}}
\\onehalfspacing

\\begin{{document}}
""".format(typeface=typeface)

    def chapter_verse(self, chapter, verse):
        return "\\textbf{{\Large {}.{}}}".format(chapter, verse)

    def verse(self, verse):
        return "\\textbf{{{}}}".format(verse)

    def word(self, text, headword=None, parse=None, gloss=None):
        if headword is None and parse is None and gloss is None:
            return text
        else:
{'fraction_non_alphanumeric': 0.1763046544428773, 'fraction_numerical': 0.009167842031029619, 'mean_word_length': 3.5191082802547773, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7074386', 'n_tokens_mistral': 478, 'n_tokens_neox': 439, 'n_words': 105}