Feb. 5th, 2004

compilerbitch: That's me, that is! (f_working)
I managed to get dot to draw a diagram where the boxes contained LaTeX formulae today:



A Haas diagram showing the lattice of values of my 15-value logic with respect to subset membership


The trick was to fire up LaTeX once for each bubble, with only the content of the bubble on the page (i.e. no headings/page numbers/etc.), then to use dvips -E to generate EPS with a tight bounding box. Getting dot to use these images was easy -- for each node, set the shape to epsf and specify the relevant EPS file. I then made dot export the whole diagram as an EPS, which allowed me to integrate it into a big LaTeX document. (As a slight aside, the whole document, diagrams and all is built by a single 500 line ML program).

I am such a geek. Someone slap me.
compilerbitch: That's me, that is! (Default)
LiveJournal Haiku!
Your name:compilerbitch
Your haiku:was presented with
a tight bounding box getting
dot to use dvips e
Username:
Created by Grahame

Profile

compilerbitch: That's me, that is! (Default)
compilerbitch

January 2016

S M T W T F S
     12
3 45 6789
10111213 141516
17181920212223
24 252627282930
31      
Page generated Aug. 12th, 2025 02:29 pm

Style Credit

Expand Cut Tags

No cut tags