Browsed by
Category: LaTeX

Software for Creating Documents Using LaTeX

Software for Creating Documents Using LaTeX

Creating Documents Using LaTeX Texmaker  http://www.xm1math.net/texmaker/ Texmaker is a front-end editor for LaTeX documents.  MiKTeX  http://miktex.org/ MiKTex (Windows) is a compiler, for building documents written in LaTeX

Row Spacing in Tables

Row Spacing in Tables

The vertical distance between rows in a table can be modified by using the following command:  \renewcommand{\arraystretch}{//value//} …where value is the factor of the default value. So, for example,  \renewcommand{\arraystretch}{1.5} …would result in the row spacing being 1.5 times the normal value. You can reset the value back to normal with following command:  \renewcommand{\arraystretch}{1}.

Special Characters

Special Characters

Underscore To create the underscore character, use the command: \textunderscore. For example:  Words\textunderscore linked\textunderscore together Produces:  Words_linked_together

Spacing Between List Items

Spacing Between List Items

To change the default space between each item in a list, add the command \itemsepXu after the list environment begin statement, where X is the value, and u is the units. For example, to change the spacing between items to -5 points: \begin{description}\itemsep-5pt \item [Term 1] – blah blah \item [Term 2] – blah blah \end{decription}

Text Formatting

Text Formatting

Emphasized Text Keyboard Shortcut: Ctrl-Shift-E (in Texmaker) Use the \emph{•} Command. Framed Text The command \fbox is used to place a visible “box” around text. For example:  \fbox{This text is boxed.}   However, if the length of the text is longer than the page linewidth, then the fbox will just run off the page. To address that, use the \parbox command to create a paragraph box within the framebox. The \parbox command is \parbox{width}{text to display}. For example:  \fbox{ \parbox{1\linewidth}{The quick brown foxed jumped over…

Read More Read More

Changebars

Changebars

Change bar functionality (using \cbstart and \cbend) requires the “changebar” package: Package Requirements \usepackage[leftbars]{changebar} The leftbars attribute causes the change bars to be placed always on the left-hand side of the page. cbstart and cbend “cbstart” begins the change bar line, and “cbend” marks the ending point. Example:  \cbstart This text will have a change bar \cbend Produces: Note: You will have to build 3 times to see the change bar.  Once to place the start Once to place the end Once to…

Read More Read More