| 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
Re: Multiple options in single row
18/06/2013 08:07, tom
Multiple options in single row
18/06/2013 08:01, sachinrajsharma
font package can not be loaded
18/06/2013 07:08, lynnlee
Re: 3 Parralel text
18/06/2013 00:59, kaiserkarl13
Re: Custom Chapter Title
17/06/2013 22:25, ge0rge04
Re: Custom Chapter Title
17/06/2013 22:16, localghost
Custom Chapter Title
17/06/2013 22:00, ge0rge04
Re: Arrangement of three figures
17/06/2013 20:30, localghost
Arrangement of three figures
17/06/2013 19:52, tja
Overlapping Line Segments in Vector Arrow
17/06/2013 18:07, ghostanime2001











Comments