Posts

Showing posts with the label Latex

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 ...

Latex Frequently used commands Part -1

1. How to bold a particular text? \textbf{The text you want to Bold} 2. How to insert line breaks? a. \\ %{two backslashes} b. \newline c. \hfill \break 3. How to insert hyperlinks? Put \usepackage{hyperref} in your header, and when you want to link to a page, use the following command: \href{URL}{Anchor Text} 4. If you get *.sty not found in Windows? Method 1:  1. Win + R 2. Type mpm to start miketex package manager 3. Find the package you want to install , and install the corresponding package. The second method is used when you  manually download the file and install it. Method 2: 1. Create a folder named C:\tex-packages. 2. Copy the following files to the folder C:\tex-packages, http://mirrors.ctan.org/systems/win32/miktex/tm/packages/README.TXT     http://mirrors.ctan.org/systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma     http://mirrors.ctan.org/systems/win32/miktex/tm/...