8,477 reputation
135066
bio website
location Australia
age 33
visits member for 4 years, 5 months
seen Nov 4 at 3:43

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
comment Extra space added after equation when it is coloured
@cmhughes But gather doesn't provide alignment?! I want the first equation to be independent and not aligned with the set of equations that comes afterwards, which should in turn be aligned with each other. Gather does not allow one to put equation and align inside it, does it?
Jan
13
comment Extra space added after equation when it is coloured
@hpesoj626 Great! I believe this then qualifies my question as a duplicate, so feel free to close this one.
Jan
13
comment Extra space added after equation when it is coloured
@cmhughes I hadn't heard of gather before. I will check it out. I am also happy for this question to be closed given the related questions and the many suggestions given.
Jan
13
comment Extra space added after equation when it is coloured
@PeterGrill it puzzles me, too...
Jan
13
comment Extra space added after equation when it is coloured
@Kurt Thanks for that. I had tried enclosing the whole equation environment (not just the line with the equation) but that hadn't solved my problem...
Jan
13
comment Extra space added after equation when it is coloured
@PeterGrill It seems like too many manual corrections/workarounds, but it works. Cheers.
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.