
Pseudo-Random Notes Generator
This is a disorganized collection of a few of my notes about $\LaTeX$. I put them here for easy reference in case I need them. If they help someone Googling their way out of a $\LaTeX$ problem so much the better.
Better LaTeX Sites
For comprehensive or specialized information on $\LaTeX$ you might try:
• LaTeX – A document preparation system (latex-project.org)
• The TeX Users Group (TUG) (tug.org)
• Text Processing using LaTeX (by the Cambridge University Engineering Dept.)
• LaTeX ("From Wikibooks, the open-content textbooks collection").
LaTeX and Wikidot
The Wikidot service is particularly suited to housing these notes since a lot of $\LaTeX$ code:
...since a lot of [[$\LaTeX$]] code...
may be used simply by surrounding it by [[$ and $]] for inline math, and [[math label1]] and [[/math]]:
[[math label1]]
E=mc^2.
[[/math]]
for display math:
(1)You might want to consult the official Wikidot syntax page.
Article Snippets
Bibliography
by Entropic 19 Mar 2009 02:18
A useful link is LaTeX tips: Bibliographies by A.J. Hildebrand.
Comment
by Entropic 01 Sep 2008 18:43
One line of LaTeX may be cancelled out by putting a % in front.
Contact
by Entropic 03 Aug 2008 02:39
Feel free to send me a private message to my Wikidot account or add a comment to any of the articles (use the discuss link at the bottom of its page).
Derivative
by Entropic 09 Nov 2008 00:50
One could try writing a derivative using \frac{df}{dx} but then all the characters would be in italics. One also could write a partial derivative as \frac{\partial f}{\partial x}.
Environment
by Entropic 12 Aug 2008 04:26
See a good explanation by Nicola L.C. Talbot, who gives as an example:
Footnote on Wrong Page
by Entropic 07 Oct 2009 21:36
Sometimes LaTeX positions footnotes on the wrong page.
Fraction
by Entropic 08 Nov 2008 22:41
Normally you'd use \frac{1}{2} to produce the symbol for one half in math mode. You can produce it in text mode (if the textcomp package is activated) with \textonehalf. In math mode you can produce inline-sized fractions through \tfrac{1}{2} or display-sized fractions with \dfrac{1}{2}. The amsmath package must be activated. (See examples at LaTeX tips and tricks.)
Garamond
by Entropic 25 Aug 2009 13:05
Here are some pages about adding and using the Garamond font.
General Notes
by Entropic 25 Oct 2008 04:11
This is a collection of some pretty unrelated notes all packed into one document, transferred to this article until I separate out the topics.
Interline Spacing
by Entropic 12 Aug 2008 00:21
Without loading any additional packages you can add this line in the preamble to increase interline spacing or “leading”:
Interword spacing
by Entropic 09 Nov 2008 07:14
If a line is too short or too long one can loosen LaTeX's interword standards:
Logic
by Entropic 28 Jan 2009 05:59
From Cambridge University Professor Peter Smith's LaTeX for Logicians:
Margins
by Entropic 15 Aug 2008 00:27
In the memoir class at least, and perhaps other classes, this command is vital to properly setting margins:
Math Fonts
by Entropic 10 Nov 2008 00:03
I want to typeset some math questions in one font and the answers in another. Although this is quite easy with regular text, there is no easy way to do this with the math fonts.
Modulo and Congruence
by Entropic 25 Jan 2009 02:28
This code (the math environment is for Wikidot use):
Multiple Columns
by Entropic 15 Aug 2008 01:26
[[code]]
\usepackage{multicol}
\setlength{\columnsep}{0.25in}
Preamble
by Entropic 25 Jan 2009 01:25
For my own reference I've collected some of the preambles I've used in various LaTeX documents.
Section Heading
by Entropic 01 Sep 2008 19:14
Adapted from TeXShop's preamble options for the memoir class:
Superscript
by Entropic 02 Sep 2008 04:21
One solution to the problem is to write
Welcome to the 21$^{st}$ century.
in order to bring Latex into math mode in order to write the superscript. But there's some problems with simply having text in math mode. For one, it is written in a different script (usually italic), and words are collated when they are offered to math mode with spaces. To solve this, we can ask math mode to go back to text mode and than write our text, i.e. with
Welcome to the 21$^{\textrm{st}}$ century.
It seems a bit weird, but we're in fact asking math mode to bring us in superscript mode, and then go back to text mode to write our text.
Table of Contents Depth
by Entropic 12 Aug 2008 04:14
You can choose how “deep” the table of contents goes. In other words, by selecting tocdepth you can have the table of contents show no units smaller than a subsection, for instance, or a subsubsubsection.









