Section 11 Graphics
Some graphics languages require the
xelatex engine, which this document presumes.
Subsection 11.1 PSTricks
PSTricks is a LaTeX package for drawing diagrams and pictures, dating back to the days before PDF when PostScript (PS) was king. Given its history, it does not seem to work easily with the
pdflatex engine. But it will work easily with the xelatex engine. So we test and document this approach here.
For the following we add
\usepackage{pstricks-add}
to the
latex-image-preamble portion of docinfo. Your diagrams might be fine with simply the pstricks package. Following comes fromhttps://www.tug.org/PSTricks/main.cgi?file=Examples/polar#lemniscate
accessed on 2018-02-05.
Note that the
width attribute is respected for HTML output, but ignored for the LaTeX output. This situation could change.
