##// END OF EJS Templates
Needspace for the output regardless of output style.
Jonathan Frederic -
Show More
@@ -288,11 +288,12 b' Note: For best display, use latex syntax highlighting. =))'
288 %==============================================================================
288 %==============================================================================
289 ((* block output_group *))
289 ((* block output_group *))
290 ((* if cell.outputs.__len__() > 0 *))
290 ((* if cell.outputs.__len__() > 0 *))
291 ((* if resources.sphinx.outputstyle == 'simple' *))
292
291
293 % If the first block is an image, minipage the image. Else
292 % If the first block is an image, minipage the image. Else
294 % request a certain amount of space for the input text.
293 % request a certain amount of space for the input text.
295 ((( iff_figure(cell.outputs[0], "\\begin{minipage}{1.0\\textwidth}", "\\needspace{" ~ min_header_lines ~ "\\baselineskip}") )))
294 ((( iff_figure(cell.outputs[0], "\\begin{minipage}{1.0\\textwidth}", "\\needspace{" ~ min_header_lines ~ "\\baselineskip}") )))
295
296 ((* if resources.sphinx.outputstyle == 'simple' *))
296
297
297 % Add a horizantal break, along with break title.
298 % Add a horizantal break, along with break title.
298 \vspace{10pt}
299 \vspace{10pt}
General Comments 0
You need to be logged in to leave comments. Login now