In LaTeX, by default, tables are numbered Table 1, Table 2, Table 3 an so on (or Table 1.1, Table 1.2, Table 2.1, etc if you’re using chapters). Sometimes you may want to change the way these are numbered. The solution is very similar to changing list numbering styles using different keywords. Like enumeration lists, [...]
Posts Tagged ‘style’
LaTeX table and figure numbering style
Posted: 18th July 2011 by Tim in LaTeXTags: alph, arabic, document, figure, layout, number, numbering, roman, style, styles, table, tabular
Namespace aliases in C++
Posted: 9th September 2010 by Tim in C++Tags: alias, C, coding, namespace, programming, style
In C++, it’s good practice to explicitly specify the namespace of a class instead of using the using syntax. This makes your code more readable, more explicit and is generally just good style. Sometimes these namespaces can get unconveniently long. This is where namespace aliases come in. Imagine you have a person class in the [...]
Bold and Italic font in LaTeX
Posted: 16th August 2009 by Tim in LaTeXTags: bold, document, font, italic, italics, LaTeX, layout, page, style, text
There are two ways to make text italic in LaTeX. The first and most common method is the \emph{text here} tag. This is used for emphasizing words within a block of text. For example: The cake was \emph{huge} for a cup cake If you’re looking to italicize a whole block of text, then use the [...]
Math summation symbol in LaTeX
Posted: 15th August 2009 by Tim in LaTeXTags: document, LaTeX, layout, math, page, sigma, style, sum, summation
LaTeX is great in that it can display all those strange math symbols for you. Summation is a common symbol in math and really useful to know how to display in LaTeX. There are two ways of displaying the symbol: compressed to fit onto one line (useful when printing long equations or proofs) or in [...]