Friday, July 9, 2010

Latex Notes

Bounding Box / Image
The primary and nasty problem I face with inserting jpg or png images into latex is related to "boundary box" (I do not recall the specific error messages as the last time I inserted a jpg image was long back). I have tried many things before but they have not worked for me. Here I am writing about another way to insert images without headaches, which might work (still untested):
  • Find the image size. On unix, use the imagemagick "identify" command. 
identify a.jpg
a.jpg JPEG 133x100 133x100+0+0 8-bit DirectClass 35KiB 0.000u 0:00.000
  • Use the size to specify the bounding box:
 \includegraphics[bb=0 0 133 100,scale=0.5]{a.jpg}  
Bibliography Style for Website

@misc{stroustrup10,
author = "Bjarne Stroustrup",
title = {C++ Applications},
howpublished = "Website",
year = {2010},
note = {\url{http://www2.research.att.com/~bs/applications.html}. Accessed July 2010.}
}



Font/Itemize Labels


Tips: http://www.schneeflocke.net/index.php?section=latex/index#latexsrclst


Header/Footer

Tips: http://www.schneeflocke.net/index.php?section=latex/index#latexsrclst

Presentation Effects
 
Tips: http://www.schneeflocke.net/index.php?section=latex/index#latexsrclst

Latex Symbols

http://www.artofproblemsolving.com/Wiki/index.php/LaTeX:Symbols
http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf


Building Latex

Rubber: A single-point output builder from latex document: http://www.pps.jussieu.fr/~beffara/soft/rubber/
Comparison with other latex build systems: http://stackoverflow.com/questions/1240037/recommended-build-system-for-latex/


References

Not too short Introduction: http://mirror.math.ku.edu/tex-archive/info/lshort/english/lshort.pdf
Latex in Inkscape: http://jblevins.org/log/latex-in-inkscape

No comments: