Format a string for screen printing. This removes some latex-type format codes.
(strng)
| 347 | |
| 348 | |
| 349 | def format_screen(strng): |
| 350 | """Format a string for screen printing. |
| 351 | |
| 352 | This removes some latex-type format codes.""" |
| 353 | # Paragraph continue |
| 354 | par_re = re.compile(r'\\$',re.MULTILINE) |
| 355 | strng = par_re.sub('',strng) |
| 356 | return strng |
| 357 | |
| 358 | |
| 359 | def dedent(text): |