An environment is a segment of text that is managed differently
than 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 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}
or \begin{em}
: this command makes
text italicised, and is valid until the code comes across a \end{em}
,
\end{emph}
or another environment. To italicise one word in a sentence, you
can use the syntax: this is \em{my}
sentence.
\bfseries{I'm making this text inside the brackets bold}
: this
command makes your text bold. The bold command will continue until a close brace is found.
\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 itemised list.