LaTeX¶
General¶
- Use
\input{filename.tex}to include content of another latex file in the main tex file. - For making PPTs in Latex Beamer is very useful. For customization options refer Beamer appearance cheat sheet
Images¶
For creating publication ready images, I recommend the following 2 things * Dia (Available on both Ubuntu and OSX). On Mac, the controls are slightly different.
- Dia has some installation issues on OSX. This blog helps us fix it.
ctrl+x,ctrl+c,ctrl+v,ctrl+sfor cut, copy, paste and save (Don’t usecommandbutton)ctrl+efor viewing the entire image on a single page canvas.fn+deleteto delete an object.fn+left arrow,fn+right arrowfor jumping to beginning or ending of the text.Space + double clickon canvas to insert an image from system.fn+shift+clickto select multiple objects.
- Dia has the capability to export the diagram to
tikz/latexcode. One can use that functionality to further improve the diagram by editing thetikzcode.
Tables¶
If your table spans more space than the width of a page, you can use the command scriptsize to fit it exactly in 1 coloumn.
Spell Correction¶
- Use
aspell -t -c file.texfrom terminal to highlight the mis-spelled words in a latex file.