io.write_and_show — Abjad v1.1.1 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »

# io.write_and_show

`abjad.tools.io.` `write_and_show`(expr, name, template=None, title=None, footer=None, lilytime=10, write=True)

  When `write = True` (default) call `write_ly(expr)` and `write_pdf(expr)` and then open the resulting PDF.

  When `write = False` call `show(expr)` only.

  The purpose of this function is to conditionally save named PDF and named `.ly` output corresponding to expr.

  New in version 1.1.1: Optional footer keyword.

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »