7,942 reputation
114963
bio website
location Australia
age 33
visits member for 4 years
seen May 22 at 3:48

I love LaTeX, and I especially enjoy drawing diagrams in tikz.

Here is a stripped down version of my preamble with some of my most used packages:

\usepackage{amsmath,amssymb,amsthm,amsfonts,bm}
\usepackage{array} % for better arrays (eg matrices) in maths
\usepackage{color}
\usepackage{graphicx}
\usepackage{float} % To get the placement H for figures
\usepackage{tikz,pgfplots}
\usetikzlibrary{positioning,shapes,shadows,arrows,fit, decorations}
\usepackage[a4paper,top=1.75truecm,bottom=1.75truecm,left=1.75truecm,right=1.75truecm]{geometry}
\usepackage[parfill]{parskip}
\usepackage[bookmarks]{hyperref}
\hypersetup{colorlinks=true, pagebackref=page, citecolor=blue, menucolor=red}
\usepackage{natbib} 
\usepackage{hypernat} 

Another package I find really useful but that is not there is standalone.


Jan
13
revised Extra space added after equation when it is coloured
More info
Jan
13
comment Extra space added after equation when it is coloured
True, but then it creates problem if used with align. I will add an example to show that.
Jan
13
asked Extra space added after equation when it is coloured
Jan
12
revised Inserting/Numbering/Labelling/Referencing several times the same equation written in various form
it's -> its
Jan
11
revised Including XML file into LaTeX
Formatting
Jan
11
comment Character “1” with long serif
I am really sorry. Your reputation was high enough that I though you would have come across this before. MWE stands for "minimal working example" and it means a compilable code starting from \begin{document} and ending in \end{document}, including all packages you may need. Of course, your code wouldn't be compilable per se since it would have an error! For more on MWE see this meta answer.
Jan
11
comment Character “1” with long serif
I think you could improve your question by including a MWE illustrating your failed attempt with \scalebox (probably not necessary, but I think it would be nice!)
Jan
10
revised What's the quickest way to write “2nd” “3rd” etc in LaTeX?
Typos
Jan
9
comment How to do the 'curvy L' for Lagrangian or Laplace Transforms?
You misspelled the name of the package (should be mathrsfs, not mathsrsf). It took me a while to figure it out...
Jan
8
comment Help on adjusting histogram plot created by TikZ
Also, it would be a good idea to include the image of the compile tikzpicture you created...
Jan
8
comment Help on adjusting histogram plot created by TikZ
Not an answer to your question, but have you heard of matlab2tikz?
Jan
7
comment Shortcuts for code in latex
I think it would be nice if you explained in your answer why it is a good idea to use ensuremath.
Jan
6
comment Save tikz picture to disk
Archival, I am updating my packages and saw this new package called tikzinclude. Perhaps it will be useful to you? (@MartinScharrer maybe you will also be interested?)
Jan
5
comment strange behaviour same code but in different chapters
Could you please try to rewrite your heading to be more informative? It would also be greatly appreciated if you looked back into some of your older questions and accepted an answer if you feel there is one which solves your problem.
Jan
5
comment Plots not perfectly aligned vertically
The problem is due to the fact that the labels of the y axis (the numbers) are longer in the first subplot. With pgfplots this is easily solvable with a global setting (one of my questions is about that), but in your case you could solve this by including an invisible node on the left of your figure to shift it to the right. For a more elegant solution it would help to see a stripped down version of your code.
Jan
5
comment Plots not perfectly aligned vertically
How did you manage to extract the data from the figure in the end?
Jan
4
comment Save tikz picture to disk
My next suggestion, which may or may not help you, is for you to try and construct a complete reproducible example so that the real tex-hackers can play with your code and maybe find a solution.
Jan
4
comment Save tikz picture to disk
@Archival You can include the tikz pictures in the main file either by including the pdf generated by standalone or by using an \include{} in the main file (using \usepackage{standalone}). I don't think it would be that difficult, and I believe it would save you a lot of time in the future. Anyway, food for thought :)
Jan
4
comment Save tikz picture to disk
One way would be to have the tikz pictures in separate files using the standalone class, and have a make file which compiles everything. For more on creating tikzpictures using standalone, see this answer.
Jan
4
comment How to rearrange a tikzpicture in a page that uses the class suftesi
It may seem like too much to ask, but you will notice that if you do that you will get help much faster since it will be easier for those reading your question to see what the problem is and adjust your code (without having to create one of their own).