Environments

An environment is a segment of text that is managed differently from the rest of the document. For example, you create a report with font size 12, but you need to change your font size for a few sentences. The commands \begin{environment}, \huge and \end{environment} will let you temporarily alter the text inside the environment commands to be size huge.

Changes are only effective from \begin{environment} to \end{environment}. There are no limits as to how many changes you can make inside an environment.

There are many features you can add to your document that will make it more readable and user-friendly. You can add features such as specific fonts, bold, italics, underline etc. to your document, and these commands will end with either an \end command, or at the end of your environment.

  • \begin{emph}: this command makes text italicized, and is valid until the code comes across a \end{emph}, or another environment. To italicize one word in a sentence, you can use the syntax: this is \emph{my} sentence.

  • \textbf{I am making this text inside the brackets bold}: this command makes your text bold.

  • \quote: to create a quote inside your document; begin your quote with \begin{quote} and end it with \end{quote}.

  • \center: centers the text.

  • \verse: creates offset text for poems.

  • \itemize: makes an itemized list.