## Sunday, July 08, 2007

### JPicEdt -- Picture drawing for LaTeX and PSTricks: Part 1

JPicEdt is an open source, multi-platform and interactive picture editor for LaTeX and PSTricks. You use a GUI to draw your pictures and the pictures are saved as tex source code, so you just paste the code into your latex document.

Installation. The webpage has installation instructions. Basically: download and launch the installer and follow the on-screen instructions.

Configuration. You must configure the program to point to the location of latex and friends. But I have already done this, so just copy the contents in the box below to the file ~/.jpicedt/preferences, and change USERNAME to your username.

Use. Use the TeX button to compile the image, the DviPS button to convert the image to PostScript, and the PS button to view the PostScript file. When completed, save it as a TeX file, then copy and paste it into your LaTeX document.

Comparison withBoth have their strengths. It seems JPicEdt implements more drawing functions, but that is something that can easily change with some development. I like that one can see the PSTricks code generated by LaTeXDraw as one draws. I also prefer the look of the LaTeXDraw interface.
#jPicEdt Preferences#Sun Jul 08 11:55:29 EDT 2007view.page-format=170 100 5 5command.user2=command.user1=latex.max-emulated-line-slope=1000latex.max-circle-diameter=14latex.file-wrapper-prolog=\\documentclass{article} \n\\thispagestyle{empty}\n\\begin{document} \ndirectory.files=/home/USERNAMEui.dockable-panel.Toolkit.y=7grid.snap-on=trueui.dockable-panel.Toolkit.x=651ui.dockable-panel.Toolkit.visible=trueeepic.thicklines=0.3ui.desktop-color=-9803313rendering.render=speedpstricks.file-wrapper-epilog=\\end{document}command.ghostview={i}/unix/tetex/ext_proc.sh {p} evince {f}.psui.dockable-panel.Toolkit.width=165canvas.zoom=100%canvas.max-undoable-steps=100app.language=enui.dockable-panel.Attributes.width=128eepic.file-wrapper-prolog=\\documentclass{article} \n\\usepackage{epic,eepic} \n\\thispagestyle{empty}\n\\begin{document}\ncommand.dvips={i}/unix/tetex/ext_proc.sh {p} dvips {f}eepic.thinlines=0.15latex.max-emulated-circle-segment-length=1ui.dockable-panel.Attributes.y=0latex.file-wrapper-epilog=\\end{document}ui.dockable-panel.Attributes.x=0ui.dockable-panel.Attributes.height=0command.dvi={i}/unix/tetex/ext_proc.sh {p} xdvi {f}view.text-font=SansSerif-10grid.color=-4144960latex.emulated-line-length=0.12app.tmpdir=/tmpgrid.visible=trueui.mdimgr=child-framesui.dockable-panel.Toolkit.height=343menu.recent-file.1=/tmp/foo.texrendering.antialiasing=offgrid.snap-step=5.0ui.look-and-feel=Metalgrid.line-style=solidui.geometry.height=720eepic.file-wrapper-epilog=\\end{document}ui.dockable-panel.Attributes.visible=falserendering.fractional-metrics=offpstricks.file-wrapper-prolog=\\documentclass{article} \n\\usepackage{pst-all} \n\\thispagestyle{empty}\n\\begin{document} \nui.geometry.y=0ui.geometry.x=53grid.display-step=10.0rendering.text-antialiasing=offui.geometry.width=823command.latex={i}/unix/tetex/ext_proc.sh {p} latex {f}latex.max-disk-diameter=5.4rendering.dither=offcanvas.content-type=jpicedt.format.output.latex.LatexContentType