# Latex notes in eps image in latex file name should not space. ### Quick Guide one page PDF https://assets.ctfassets.net/nrgyaltdicpt/4e825etqMUW8vTF8drfRbw/d4f3d9adcb2980b80818f788e36316b2/A_quick_guide_to_LaTeX__Overleaf_version.pdf ### Tutorial PDf https://www.rpi.edu/dept/arc/docs/latex/latex-intro.pdf 1. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \mathbb{P}\left[\mathcal{B}\left(\left\{X_{i, k}(t)\right\}_{t=1}^{T}\right) \in O\right] \leq e^{\epsilon} \cdot \mathbb{P}\left[\mathcal{B}\left(\left\{X_{i, k}^{\prime}(t)\right\}_{t=1}^{T}\right) \in O\right] \end{equation} \end{align*} \end{document} ## tutorial links math equation https://youtu.be/Jp0lPj2-DQA https://www.youtube.com/watch?v=DvDO1mea1w0&t=9s ## Table in latex \begin{table}[tbh] \begin{center} \caption{Used symbol and there description} \label{tbl:parameters} \resizebox{0.3\textwidth}{!}{ \begin{tabular}{ | l | l|} \hline \textbf{Symbol} & \textbf{Description} \\ \hline DL & Delay. \\ \hline LBT & Listen Before talk. \\ \hline Nr & Random Delay. \\ \hline Tx & Transmission Delay\\ \hline \end{tabular} } \end{center} \end{table} **Ex2** \begin{table}[tbh] \begin{center} \caption{LAEBLE certification security score calculation } \label{tbl:value1} \resizebox{0.3\textwidth}{!}{ \begin{tabular}{ c | c | c | c} \hline \textbf{K(Bits)} & \textbf{R (Round)]} & \textbf{Extend Bits} & \textbf{$S_{AUTH}$ (Security Score)} \\ \hline 0 & NULL & NULL & NULL \\ \hline 1 & 20 & 0 & $5.575 * T_{AES-CMAC}$ \\ \hline 2 & 14 & 8 & $5.875 * T_{AES-CMAC}$ \\ \hline 3 & 12 & 16 & $5.821 * T_{AES-CMAC}$ \\ \hline 4 & 12 & 28 & $6.156 * T_{AES-CMAC}$ \\ \hline 5 & 11 & 35 & $5.844 * T_{AES-CMAC}$ \\ \hline 6 & 11 & 46 & $5.922 * T_{AES-CMAC}$ \\ \hline 7 & 11 & 57 & $5.961 * T_{AES-CMAC}$ \\ \hline 8 & 11 & 68 & $5.980 * T_{AES-CMAC}$ \\ \hline \end{tabular} } \end{center} \end{table} ## subfigure example \begin{figure*}[!t] \centering \subfloat[]{\includegraphics[width=2.5in]{fig1}% \label{fig_first_case}} \hfil \subfloat[]{\includegraphics[width=2.5in]{fig1}% \label{fig_second_case}} \caption{Dae. Ad quatur autat ut porepel itemoles dolor autem fuga. Bus quia con nessunti as remo di quatus non perum que nimus. (a) Case I. (b) Case II.} \label{fig_sim} \end{figure*} ### header file for subfigure \usepackage[labelformat=simple]{subcaption} \renewcommand\thesubfigure{(\alph{subfigure})} \begin{figure} \centering \subfloat[a\label{1a}]{% \includegraphics[width=0.45\linewidth]{example-image}} \hfill \subfloat[b\label{1b}]{% \includegraphics[width=0.45\linewidth]{example-image}} \\ \subfloat[c\label{1c}]{% \includegraphics[width=0.45\linewidth]{example-image}} \hfill \subfloat[d\label{1d}]{% \includegraphics[width=0.45\linewidth]{example-image}} \caption{(a), (b) Some examples from CIFAR-10 \cite{4}. The objects in single-label images are usually roughly aligned.(c),(d) However, the assumption of object alignment is not valid for multi-label images. Also note the partial visibility and occlusion between objects in the multi-label images.} \label{fig1} \end{figure} ### minipage figure \begin{figure*}[tbh] \centering \begin{minipage}[t]{0.49\textwidth} \centering \subfigure[]{ \includegraphics[width=0.46\textwidth]{fig/comp_acc_RAA_vs_UW_W.eps} \label{fig:default_ph2_samplerun_qos} } \subfigure[]{ \includegraphics[width=0.46\textwidth]{fig/allocate_running_time_5run.eps} \label{fig:default_ph2_samplerun_time} } \caption{Overall performance of RAA: (a) weighted QoS and (b) running time.} \label{fig:raa_5_run} \end{minipage} \hfill\begin{minipage}[t]{0.49\textwidth} \centering \subfigure[]{ \includegraphics[width=.46\textwidth]{fig/comp_acc_LRU_LFU_MRU_MFU.eps} \label{fig:default_ph3_samplerun_qos} } \subfigure[]{ \includegraphics[width=.46\textwidth]{fig/comp_deploy_LRU_LFU_MRU_MFU.eps} \label{fig:default_ph3_samplerun_deployed} } \caption{Overall comparisons among layer replacement policies: (a) weighted QoS and (b) number of containers on the gateway.} \label{fig:lrp_5_run} \end{minipage}