6,078 reputation
73857
bio website
location Australia
age 31
visits member for 2 years, 10 months
seen 2 days ago
stats profile views 2,021

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.


Feb
13
comment Consistently specify a Function and use it for computation and plotting
Jake, instead of using the \SpecialY construct, I find it easier to just include in the node {(2,{\FunctionF(-1.5)})}. As long as you enclose the \FunctionF() in curly brackets it should compile fine. Any other reason why you use the \SpecialY?
Feb
13
comment Consistently specify a Function and use it for computation and plotting
Don't you hate it when you spend 30 minutes writing up a question only to realise there is another one which gives you exactly what you need?
Jan
23
comment Use caption and long description for figure
The only problem for this is that the small text will be centred, and I prefer it justified. I used the package caption and I quite liked it.
Jan
20
comment Use whizzyTeX with emacs on Windows
Sorry, I deleted my comment. The instructions I had were for the Mac...
Jan
17
comment Justification error in report format
For your code to be a MWE you should exclude all packages that are irrelevant to replicate your problem.
Jan
16
comment How do I print '~' in LaTeX?
Karina, have a look at the question linked by Scott and let us know if it doesn't answer your question. If it does, your question will be closed to keep the place tidy.
Jan
13
comment Extra space added after equation when it is coloured
@HendrikVogt I will try that, thanks
Jan
13
comment Extra space added after equation when it is coloured
@cmhughes It seems to mess up with the alignment. I tried with the equations I am typesetting and look at the difference: dl.dropbox.com/u/1885087/cmhughes.png
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
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
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
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?