Example LaTeX and Visio for introductory theoretical computer science

(Back to my home page).


Disclaimer: I am not a LaTeX or a Visio guru. But, the following files might be helpful if you're getting started with LaTeX and want to see some examples.

On this page is:

Other resources

For some other resources, a good list of LaTeX resources, a quick list of lots of symbols in LaTeX and Essential LaTeX, which has a great section on math stuff, and general text LaTeXing.

My example files

Files:

As usual, LaTeX will give tons of warnings and info, most of which baffle me. The one thing is that you'll have to run latex twice to make it figure out references (to figure numbers) correctly.

How to save Visio files for use with LaTeX (Procedure prior to Microsoft Visio 2002)

Visio allows you to save as Enscapsulated PostScript (which will make LaTeX happy), however its default parameters lead to something that LaTeX doesn't like. Here's a procedure that's worked for me (on Visio Technical 5.0):

How to save a Visio file for LaTeX in Microsoft Visio 2002

Amazingly, Visio's exporting to eps has gotten worse since Visio was incorporated into Microsoft Office.  Curses!  The resulting EPS looks amazingly crappy, with circles becomes polygons that have lines in random directions; I have no idea how this feature seemed to Microsoft to be functioning correctly.

Fortunately, it is still possible (though a hassle) to export using a print-to-file strategy.  Here's what I did:

Bug in Visio: changing fonts in a PostScript file

You can't change fonts or use Greek letters in Visio documents that you export to Encapsulated PostScript. That is, once you do, Visio will change everything to its standard font (and epsilons will become e's, sigmas will become s's, etc). This is a bug in Visio, and one that they apparently don't assign particularly high priority to. Oh well.

This just in: I'm cautiously optimistic that this will work if you produce the EPS files using the print-to-file strategy, above.