Text FormattingShow Commands in Document

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
srengam
Posts: 33
Joined: Fri May 20, 2011 12:55 am

Show Commands in Document

Post by srengam »

Hi,

I'm going to create myself a small two or three page document to keep next to my computer to refer to as I'm creating documents on LaTaX.

I'm going to put things on it such as:

The bold command is :
\textbf{write the bold text here}

etc.

Then I'm gonna print it off to use as a quick help for the things I'm using so far.

How can I get LaTeX to put command text in the actual document though?

Ie, how can I create a line in my output pdf that says

The bold command is :
\textbf{write the bold text here}

Many thanks.
Last edited by srengam on Wed Jul 06, 2011 10:42 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

srengam
Posts: 33
Joined: Fri May 20, 2011 12:55 am

Re: Show Commands in Document

Post by srengam »

I have found an example of the sort of thing I want to create:

http://cs.wellesley.edu/user-info/hando ... exInst.pdf

notice how her guide shows the commands in the documents itself.

How is this done?

Regards.
srengam
Posts: 33
Joined: Fri May 20, 2011 12:55 am

Re: Show Commands in Document

Post by srengam »

Got it, the verbatim enviroment.

(I'm so impressed with this program!)
Post Reply