Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ciit [2021/02/07 16:39] – created - external edit 127.0.0.1ciit [2022/10/10 16:53] (current) – removed Dr. Atiq ur Rehman
Line 1: Line 1:
-~~DISCUSSION~~ 
-====== Mathematics CIIT: LaTeX Resources ====== 
  
-{{ :ciit-atk.jpg?nolink |Department of Mathematics, CIIT}} 
- 
-This page contains LaTeX template of CIIT Mathematics, MSc Project and MS Thesis templates. 
- 
-=====Templates===== 
-Download a zip file given below and extract it by right clicking on the file. 
- 
-<wrap hi>The latest templates are available at http://www.mathcity.org/cui</wrap> 
- 
-=====Installing latex===== 
- 
-Three separte software and installation are needed to run the LaTeX on windows. 
-  * MikTeX: Available at http://www.miktex.org/download 
-  * PDF Viewer (especially [[:software:Sumatra PDF|Sumatra PDF]], it works best with LaTeX) 
-  * LaTeX Editor (especially [[http://www.texstudio.org/|TeXstudio]], its our choice, you can choose any other) 
- 
-After installing above software, configure Sumatra PDF and TeXstudio for forward and inverse search. 
- 
-===== Tip & Tricks ===== 
-To activate forward and inverse search, go in TeXstudio and Option > Configure TeXstudio > Commands > External PDF viewer 
- 
-{{ :tex_1.png?nolink |}} 
- 
- 
-{{ :tex_2.png?600 |}} 
- 
-Replace it with following code: 
- 
-**For 32bit Operating System** 
-<code> 
-"C:\PROGRA~1\SumatraPDF\SumatraPDF.exe" -reuse-instance -forward-search "?c:am.tex" @ -inverse-search """""C:\PROGRA~1\TeXstudio\texstudio.exe"""" """%%f""" -line %%l" "?am.pdf" 
-</code> 
- 
-**For 64bit Operating System** (if 64bit SumatraPDF is installed) 
-<code> 
-"C:\PROGRA~1\SumatraPDF\SumatraPDF.exe" -reuse-instance -forward-search "?c:am.tex" @ -inverse-search """""C:\PROGRA~2\TeXstudio\texstudio.exe"""" """%%f""" -line %%l" "?am.pdf" 
-</code> 
- 
-**For 64bit Operating System** (if 32bit SumatraPDF is installed) 
-<code> 
-"C:\PROGRA~2\SumatraPDF\SumatraPDF.exe" -reuse-instance -forward-search "?c:am.tex" @ -inverse-search """""C:\PROGRA~2\TeXstudio\texstudio.exe"""" """%%f""" -line %%l" "?am.pdf" 
-</code> 
-In above code, we considered that windows in installed in C drive. If it is installed in different drive then, please use the respective code instead of C. Also it was considered that programs are installed on their default location. 
- 
-In the **Build** select "**PDF Viewer:** External PDF Viewer" 
- 
-Reference: http://www.alperyazar.com/blog/2014/09/create-search-link-between-texstudio-sumatra/ 
- 
-==== LaTeX Codes ==== 
-  * **To write inline equation** 
-Use a $\$ $ (dollar) sign to write equation or symbols in between statements or sentences, e.g.\\ 
-Let $I$ be an interval in $\mathbb{R}$ and $f:I\to \mathbb{R}$ be a function 
-<code latex>Let $I$ be an interval in $\mathbb{R}$ and $f:I\to \mathbb{R}$ be a function</code> 
- 
-  * **To write an equation** 
-Use double dollar $(\$\$)$ to write dedicated equation, e.g.,\\ 
-$$\sin^2 \theta + \cos^2 \theta =1$$ 
-<code latex> 
-$$ \sin^2 \theta + \cos^2 \theta =1 $$ 
-</code> 
-If you wish that equation number appear automatically to this equation, then write in the following way: 
-<code latex> 
-\begin{equation} 
-\sin^2 \theta + \cos^2 \theta =1 
-\end{equation}</code> 
-\begin{equation} 
-\sin^2 \theta + \cos^2 \theta =1 
-\end{equation} 
- 
-For more tips and tricks related to TeXStudio, please visit: http://www.texstudio.org/#features