Environment

Environment (Command Scope) in LaTeX
To format special parts of a document, LaTeX provides many environments. An environment controls a specific layout or behavior, such as lists, paragraph alignment, quotations, verses, or displayed mathematics.
In general, an environment is written in this form:
\begin{environment-name}
...
\end{environment-name}Some of the most common environments are:
itemizefor unordered listsenumeratefor numbered listsdescriptionfor lists with keyword labelsquotefor short quotationsquotationfor longer quotations with multiple paragraphsversefor song lyrics or poetrydisplaymathfor displayed mathematical expressions
Item Lists
You can create lists with itemize, enumerate, and description.
\begin{itemize}
\item Apple
\item Orange
\item Mango
\end{itemize}
\begin{enumerate}
\item Wake up
\item Have breakfast
\item Go to school
\end{enumerate}
\begin{description}
\item[Triangle] A polygon with three sides.
\item[Square] A shape with four equal sides.
\end{description}The output looks like this.
Flushleft, Flushright, Center
Use flushleft, flushright, and center to align paragraphs.
\begin{flushleft}
This paragraph is left aligned.
\end{flushleft}
\begin{center}
This paragraph is centered.
\end{center}
\begin{flushright}
This paragraph is right aligned.
\end{flushright}The output looks like this.
Quotations and Verses
Use quote for short quotations and quotation for longer ones.
\begin{quote}
Learning a little every day is better than never starting.
\end{quote}
\begin{quotation}
Mathematics is not only about calculation, but also about thinking.
That is why steady practice matters.
\end{quotation}The output looks like this.
For poetry or lyrics, use verse.
\begin{verse}
Knowledge grows from day to day,\\
Small steps still can lead the way,\\
Keep on learning, keep on trying,\\
Good results will soon be showing.
\end{verse}The output looks like this.
Displayed math environments deserve a separate article because mathematical notation usually needs a longer and more focused explanation.
Closing
That is a short introduction to environments in LaTeX. Once you understand them, it becomes much easier to structure lists, align text, and format quotations cleanly.








