Writing text in smallcaps in LaTeX is quite easy – just wrap your text in the \textsc{<text>} tag. For example: \textsc{This text is in small caps} Will create This text is in small caps
Posts Tagged ‘text’
Small caps in LaTeX
Posted: 21st January 2012 by Tim in LaTeXTags: document, LaTeX, layout, small caps, smallcaps, text
Adding text in math mode in LaTeX
Posted: 4th December 2011 by Tim in LaTeXTags: document, equation, LaTeX, layout, math, mode, text
Occasionally you’ll want to add some text to a maths equation in LaTeX. By default, any text is written in italics, and white space is ignored. The solution is quite simple; put the text in a \text{…} block like so: $$x = \sqrt{x^2} \text{ : where $x$ is positive}$$ As you can see, you can [...]
Drawing pictures in LaTeX
Posted: 20th August 2010 by Tim in LaTeXTags: canvas, circle, dashbox, document, draw, environment, frame, framebox, grid, LaTeX, layout, line, maxebox, oval, picture, shape, text, tutorial, vector
LaTeX has the ability to draw images out of the box. The drawing functionality is pretty basic — lines, circles, boxes and the like — but perfect for most simple diagrams. This tutorial will be split into three sections: configuring the environment, different ways of drawing shapes, and a description of the shapes themselves. Configuring [...]
My second LaTeX document
Posted: 16th May 2010 by Tim in LaTeXTags: bold, document, emphasis, font, italic, LaTeX, layout, lines, new line, paragraph, section, strong, subsection, subsubsection, text, underline
This tutorial is for those who have gone through the first tutorial. Here we will cover new lines and paragraphs, comments, font decoration (bold, italic and underline) and sections. Fun. New lines and paragraphs First we will look at paragraphs. In LaTeX, having a new line in your .tex file (which we will refer to [...]
Underline text in LaTeX
Posted: 13th April 2010 by Tim in LaTeXTags: decoration, document, LaTeX, layout, text, underline
Underlining text in LaTeX is very easy – simply wrap the text with \underline{text}. For example, The cake was \underline{huge}. will produce: The cake was huge.
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 [...]