Embedding native PostScript in a \markup block: Difference between revisions

Improve example to actually show three PostScript curves, also avoiding cropping in PDF output
m Mark some text for not being included in official documentation
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
PostScript code can be directly inserted inside a <code>\markup</code> block.
PostScript code can be directly inserted inside a <code>\markup</code> block.


For technical reasons, this doesn't show up in the Wiki because <code>\postscript</code> only works with LilyPond's PS backend and is neither supported in the SVG (used in this Wiki) or the Cairo backend.
<div class="nodoc">
For technical reasons, this doesn't show up in the Wiki because <code>\postscript</code> only works with LilyPond's PS backend and is neither supported in the SVG (used in this Wiki) nor in the Cairo backend.
</div>


In general it is recommended to use LilyPond's native graphical markup commands like <code>\polygon</code> instead, which can be used with all LilyPond backends.
In general it is recommended to use LilyPond's native graphical markup commands like <code>\polygon</code> instead, which can be used with all LilyPond backends.