I have drawn a lattice in latex with tikz, successfully compiled it to a pdf and been able to include it in my document. However, the whole PDF (i.e. A4 page) is included and I only want to include the lattice I have drawn.
Is it possible to automatically only include that lattice and not all the "blank space" around it? (I know "crop" is an option, but if I want to change the lattice so that it changes size, it will be a bother to update the crop coordinates all the time.)
standalonedocument class and it will crop the picture automatically. You can search this site for lots of examples. – percusse Sep 14 '12 at 12:29