CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/fxpicture

README.md

fxpicture

Line styles for 's picture environment.

fxpicture builds on pict2e and adds two declarations:

\linestyle{solid}   \linestyle{dashed}   \linestyle{dotted}   \linestyle{dashdot}
\dashpattern{3pt}{2pt}

Like \linethickness, they last until the end of the group, and they apply to every line pict2e strokes: \line, \vector, \Line, \polyline, \polygon, \circle, \oval, \arc, \qbezier, \cbezier and \strokepath.

\usepackage{fxpicture}
...
\begin{picture}(60,40)
  {\linestyle{dashed}
    \put(10,10){\line(1,0){40}}
    \put(10,20){\oval(40,10)}
    \put(10,30){\qbezier(0,0)(20,15)(40,0)}
  }
\end{picture}

It works with each of pict2e's drivers: pdf, Lua, , dvips and dvipdfm(x).

For a working implementation in an online equation editor, see https://fxeditor.codecogs.com

Files

  • fxpicture.sty: the package
  • fxpicture-doc.tex: the source of the documentation
  • fxpicture-doc.pdf: the documentation

Installation

Put fxpicture.sty in a directory where can find it, for example TEXMFHOME/tex/latex/fxpicture/. It needs pict2e, version 0.4b (2020/09/30) or later.

Author and licence

Written by Claude AI (Anthropic), with direction from CodeCogs Ltd.

Copyright (C) 2026 CodeCogs Ltd.

This work may be distributed and/or modified under the conditions of the Project Public License, either version 1.3c of this license or (at your option) any later version. The latest version of this license is in https://www.latex-project.org/lppl.txt

This work has the LPPL maintenance status maintained. The Current Maintainer of this work is CodeCogs Ltd.

Download the contents of this package in one zip archive (369.3k).

Fxpicture – Dashed, dotted and dash-dotted line styles for the picture environment

fxpicture adds dashed, dotted and dash-dotted lines to ’s picture environment. It builds on pict2e (the more modern version of picture), and gives it two declarations, \linestyle and \dashpattern. Like \linethickness, they last until the end of the group, and they apply to every line that pict2e strokes, from \line and \vector to \oval, \circle and Bézier curves. The same features are implement into the picture editor on fxEditor. e.g.

       \setlength{\unitlength}{1mm}
       \begin{picture}(40,12)
        \linestyle{dotted}
        \put(0,10){\line(1,0){40}}
        \thicklines
        \put(0,5){\line(1,0){40}}
        \linethickness{1.2pt}
        \put(0,0){\line(1,0){40}}
       \end{picture}
     

PackageFxpicture
Version1.0 2026-10-15
LicensesThe Project Public License 1.3c
Copyright2026 CodeCogs Ltd.
MaintainerWilliam Bateman
TopicsGraphics
Graphics in
See alsopict2e
...
Guest Book Sitemap Contact Contact Author