| Pic for expressive LaTeX diagrams |
|
|
|
| LaTeX - Graphics, Figures & Tables |
| Written by Allan Espinosa |
| Thursday, 21 June 2012 15:47 |
|
In my graduate work, I draw a lot of system diagrams which basically involves drawing a bunch of shapes with arrows. When typesetting my figures, I like using the Pic preprocessor because of its expressiveness. In the following post I will show how to use it. - A contribution to the LaTeX and Graphics contest - This article is an updated version of a post from my my personal blog. Take a look at the code below:
This will generate the following figure: Below is my workflow when writing Pic diagrams:
My first encounter with Pic was when I was looking for ways to typeset my Electrical Engineering reports during undergrad. That time, I found the Circuit_macros package, also by J. Aplevich. Circuit_macros provides a set of M4 macros to draw circuit components. Using it is the same as working with normal Pic figures but you have to pre-process the figures through
Here is an example figure I made during my undergraduate year:
There are a lot of better resources on GNU pic/ Dpic and Circuit_macros than this introductory post:
|
Latest Forum Posts
Extra spacing below top-placed figures
19/06/2013 00:50, jaykemper
Re: Correct Header for Nomenclature
18/06/2013 21:35, magical marshmallow
Re: Equation Number with additional Symbol
18/06/2013 19:59, localghost
Re: TeX Live Releases
18/06/2013 19:48, localghost
Equation Number with additional Symbol
18/06/2013 19:30, symbol
Prevent Cursor Placement at first Error
18/06/2013 19:13, blueberry
Re: Distortion of included pdf images in Mac Preview only?
18/06/2013 19:01, localghost
Re: Different Space before and after Equations
18/06/2013 18:44, localghost
Different Space before and after Equations
18/06/2013 18:25, Hermano
Re: Inclusion of Font Package fails
18/06/2013 13:13, lynnlee











Comments