Commits

Anonymous committed 4e9c91c

Added configuration option for how transitions are handled in latex

  • Participants
  • Parent commits 0cf79da

Comments (0)

Files changed (1)

File sphinx/writers/latex.py

         'tableofcontents': '\\tableofcontents',
         'footer':          '',
         'printindex':      '\\printindex',
+        'transition':      '\n\n\\bigskip\\hrule{}\\bigskip\n\n',
     }
 
     def __init__(self, document, builder):
         self.body.append('}\n')
 
     def visit_transition(self, node):
-        self.body.append('\n\n\\bigskip\\hrule{}\\bigskip\n\n')
+        self.body.append(self.elements['transition'])
     def depart_transition(self, node):
         pass