Posts Tagged ‘inline’

Verbatim in LaTeX

Posted: 5th November 2009 by Tim in LaTeX
Tags: , , , , , ,

If you’re adding a section to a LaTeX document which has a lot of special characters (such as code, HTML, etc), you can add it verbatim. This means that special characters (<, >, {, }, $, etc) will not be processed and will be displayed as they are. There are two ways of printing verbatim. […]

Inline IF and CASE statements in MySQL

Posted: 13th August 2009 by Tim in MySQL
Tags: , , , , , ,

There are times where running IF statements inside a query can be useful. MySQL provides a simple way to do this through the use of IF and CASE statements. The IF statement takes three arguments; the conditional, the true value and the false value. False and true values may be static values or column values. […]