| 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
Annotated bibliography (struggling)
26/05/2013 03:50, noolls
Re: Font Import into Illustrator
26/05/2013 03:47, mas
Re: Font Import into Illustrator
25/05/2013 22:54, ghostanime2001
Re: Misaligned Footnote in Resume
25/05/2013 14:26, localghost
Re: Misaligned Footnote in Resume
25/05/2013 13:32, ameydhar
Re: German Umlauts not displayed in Output
25/05/2013 13:05, cgnieder
Re: References in Presentation
25/05/2013 11:21, localghost
Re: Position of inscribed Angle Notation
25/05/2013 11:16, localghost
Re: Position of inscribed Angle Notation
25/05/2013 08:21, vejn
Re: German Umlauts not displayed in Output
25/05/2013 07:08, sommerfee











Comments