LaTeX

About

LaTeX is a high-quality typesetting system; it includes features designed for the production of technical and scientific documentation. LaTeX is the de facto standard for the communication and publication of scientific documents. LaTeX is available as free software.

To Download LateX :

  • MikTex

  • TexMaker

  • JabRef

Use the Online Version of LaTeX

https://www.overleaf.com/

Basic Syntax Operation

Single Figure in LaTeX

\begin{figure}[!htbp]

\centering

\includegraphics[scale=0.7]{Figures/image_name.format}

\caption{Write caption here.}

\label{Write label to use to refer}

\end{figure}

Double Figure in LaTeX

\begin{figure}

\centering

\begin{subfigure}[t]{0.5\textwidth}

\includegraphics[width=1\textwidth]{Figures/image_name.format}

\caption{Write sub caption here.}

\label{Write label here}

\end{subfigure}

\begin{subfigure}[t]{0.5\textwidth}

\includegraphics[width=1\textwidth]{Figures/image_name.format}

\caption{Write sub caption here.}

\label{Write label here}

\end{subfigure}

\caption{Write Main Caption Here.}

\label{SNR2Compare}

\end{figure}

Coloring Section

\color{blue}

\color{black}

\color{red}

Table Generation Format

Online Help:

https://www.tablesgenerator.com/

https://table.6cm.co/

https://tableconvert.com/latex-generator

https://www.latex-tables.com/

\begin{table}[!tb]

\centering

\caption{Parameter Details for Performance Analysis}

\begin{tabular}{|c|c|c|lllll}

\cline{1-3}

\textbf{Parameters} & \textbf{Value} & \textbf{Description} & & & & & \\ \cline{1-3}

\textit{Freq} & 28 GHz & Used frequency & & & & & \\ \cline{1-3}

\textit{Data Rate} & 100 Gbps & Upto Data Rate & & & & & \\ \cline{1-3}

\textit{TCP Threshold} & 1000 Mbps & Segment size = 6000 & & & & & \\ \cline{1-3}

\textit{Buildings} & 6-10 & Random buildings & & & & & \\ \cline{1-3}

\textit{Speed} & 1.5 m/s & Speed in randomly & & & & & \\ \cline{1-3}

\textit{Packet} & 1600 & No. of packet size & & & & & \\ \cline{1-3}

\textit{System BW} & 1 Gbps & Allocated by gNB & & & & & \\ \cline{1-3}

\end{tabular}

\label{tab:ex}

\end{table}

Equation Writing

\begin{equation}\label{eq1}

\begin{aligned}

SINR _{i} \doteq\frac{\ P_{r,i}}{\sum_{m\neq i}^M I _{m}+ N _{0} }

\end{aligned}

\end{equation}

Comment on Whole Section

\comm{

}

or

\begin{comment}

\end{comment}

Algorithm in LaTeX

\begin{algorithm}

\caption{Put your caption here}

\begin{algorithmic}[1]

\Procedure{Roy}{$a,b$} \Comment{This is a test}

\State System Initialization

\State Read the value

\If{$condition = True$}

\State Do this

\If{$Condition \geq 1$}

\State Do that

\ElsIf{$Condition \neq 5$}

\State Do another

\State Do that as well

\Else

\State Do otherwise

\EndIf

\EndIf

\While{$something \not= 0$} \Comment{put some comments here}

\State $var1 \leftarrow var2$ \Comment{another comment}

\State $var3 \leftarrow var4$

\EndWhile \label{roy's loop}

\EndProcedure

\end{algorithmic}

\end{algorithm}

Full Screen Figure with sub figures in LaTeX

\begin{figure*}[!htbp]

\begin{subfigure}{0.3\textwidth}

\centering

\includegraphics[scale=0.3]{Figures/1.png}

\caption{Model}

\label{fig:crtt_1}

\end{subfigure}\hspace*{\fill}

\begin{subfigure}{0.3\textwidth}

\centering

\includegraphics[scale=0.3]{Figures1.png}

\caption{model}

\label{fig:grtt_1}

\end{subfigure}\hspace*{\fill}

\begin{subfigure}{0.3\textwidth}

\centering

\includegraphics[scale=0.3]{Figures/1.png}

\caption{Model}

\label{fig:rd2drtt_1}

\end{subfigure}\hspace*{\fill}

\caption{Models.}

\label{fig:TCP(RTT)}

\end{figure*}