1

I create an ornamented vector line using pgfornament. Suprisingly there appears second straight line beneath the ornamented vector line. How can I avoid it?

Minimum example:

 \documentclass[11pt]{book}
 \usepackage{pgfornament}
 \begin{document}
 \pagenumbering{gobble}
 \begin{center}
 \begin{tikzpicture}
 \node (A) at (0,0) {};\node (B) at (16,0) {};
 \draw [blue] (A)  to [ornament=89]   (B);\end{tikzpicture}
 \end{center}
 \clearpage
 \end{document} 
3
  • 2
    Try \path[blue] (A) to[ornament=89] (B);, this will not draw the path and just adds the ornament. This is a restriction of to path operation. – muzimuzhi Z Sep 18 '20 at 19:21
  • Thank you very much! I consider the question answered. – chejnik Sep 18 '20 at 19:25
  • 4
    I’m voting to close this question because answered in comment. – ferahfeza Sep 18 '20 at 20:14

Browse other questions tagged or ask your own question.