Latex Frequently used commands Part -2

1. How to add Bullets and numbering in Latex?

There are two ways: 1. Unordered Lists 2. Ordered Lists

Unordered Lists:

\begin{itemize}
\item{Text -1}
\item{Text-2}
\end{itemize}

Entires are indicated with a black - dot (Bullet))

Ordered Lists:

\begin{enumerate}
\item{Text-1}
\item{Text-2}
\end(enumerate}

Entries are labelled with numbers. These numbers start with 1.

2. How to type special characters in Latex?

The following below characters play a special role in Latex and hence called Special Characters.

# $ % & _ ^ \ { }

If you want to print any of these characters to be printed just as any other letter, include a \ in front of the character.

For example if you want print a % , then you have to type \%

But what about backslash(\).  In order to display this \ , you have to type \textbackslash


3. How to make each section to start in a new page?

We have to include titlesec package in the header and type the following command before you begin the document

\newcommand {\sectionbreak}{\clearpage}


4. How do I insert a right arrow in Latex?

$\Rightarrow or $rightarrow

5. How do I insert an image in Latex ?

\includegraphics[scale=0.65]{Image.png}

or

\includegraphics[height=4mm, width=8mm]{Image.png}

Comments

Popular posts from this blog

bb.utils.contains yocto

Difference between RDEPENDS and DEPENDS in Yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig