Skip to content

Instantly share code, notes, and snippets.

@glatrofa
Last active September 10, 2022 16:37
Show Gist options
  • Save glatrofa/eda754e904b57c3b8a4b40ee1607cac5 to your computer and use it in GitHub Desktop.
Save glatrofa/eda754e904b57c3b8a4b40ee1607cac5 to your computer and use it in GitHub Desktop.
# Online citation
@online{,
title="",
url=""
}
# Unordered list
\begin{itemize}
\item
\end{itemize}
# Ordered list
\begin{enumerate}
\item
\end{enumerate}
# Table
\begin{table}[H]
\centering
\begin{tabular}{|c|c|}
\hline
cell & cell \\
\hline
\end{tabular}
\caption{}
\label{tab:}
\end{table}
# Figure
\begin{figure}[H]
\centering
\includegraphics[width=\textwidth]{img_path}
\caption{}
\label{fig:}
\end{figure}
# Code listing: https://www.overleaf.com/learn/latex/Code_listing
\lstinputlisting[language={}, firstline=, caption={}, label={lst:}]{listing_path}
# Inline listing:
\begin{lstlisting}[language={}, label={lst:}, caption={}]
\end{lstlisting}
# Use angular brackets:
\usepackage{textcomp}
\textlangle{}x\textrangle{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment