parameters: (latex)
docstring: Adds page breaks and page layout to our pygments file. Blah.
docstring_summary: Adds page breaks and page layout to our pygments file. Blah.
docstring_tokens: Adds page breaks and page layout to our pygments file . Blah .
function: def yield_altered_lines(latex):
      """
      Adds page breaks and page layout to our pygments file. Blah.
      """
      for line in latex.splitlines():
          if line == r'\documentclass{article}':
              yield line
              yield r'\usepackage{geometry}'
              yield r'\geometry{letterpaper,landscape,margin=0.25in}'
          elif line == r'\begin{document}':
              yield line
              yield r'\large'
          elif header_pat.search(line):
              yield r'\end{Verbatim}'
              yield r'\pagebreak'
              yield r'\begin{Verbatim}[commandchars=\\\{\}]'
              yield line
          else:
              yield line
function_tokens: def yield_altered_lines ( latex ) : for line in latex . splitlines ( ) : if line == r'\documentclass{article}' : yield line yield r'\usepackage{geometry}' yield r'\geometry{letterpaper,landscape,margin=0.25in}' elif line == r'\begin{document}' : yield line yield r'\large' elif header_pat . search ( line ) : yield r'\end{Verbatim}' yield r'\pagebreak' yield r'\begin{Verbatim}[commandchars=\\\{\}]' yield line else : yield line