Skip to content

Instantly share code, notes, and snippets.

@zaki-joho
Last active July 9, 2020 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zaki-joho/99281cac6bfd3258f208990f517ba730 to your computer and use it in GitHub Desktop.
Save zaki-joho/99281cac6bfd3258f208990f517ba730 to your computer and use it in GitHub Desktop.
report template
\documentclass{jsarticle}
\usepackage[dvipdfmx]{graphicx}
\usepackage{listings}
\lstset{%
language={C},
basicstyle={\small},%
identifierstyle={\small},%
commentstyle={\small\itshape},%
keywordstyle={\small\bfseries},%
ndkeywordstyle={\small},%
stringstyle={\small\ttfamily},
frame={tb},
breaklines=true,
columns=[l]{fullflexible},%
numbers=left,%
xrightmargin=0zw,%
xleftmargin=3zw,%
numberstyle={\scriptsize},%
stepnumber=1,
numbersep=1zw,%
lineskip=-0.5ex%
}
\title{title}
\author{author}
\date{\today}
\begin{document}
\maketitle
\section{section1}
\subsection{scripts}
\begin{lstlisting}
int main(){
}
\end{lstlisting}
\begin{thebibliography}{9}
\bibitem{Knuth}
Knuth, Donald E.
The art of computer programming: Volume 3: Sorting and Searching.
Addison-Wesley Professional, 1998.
\bibitem{Tarjan}
Tarjan, Robert.
"Depth-first search and linear graph algorithms."
SIAM journal on computing 1.2 (1972): 146-160.
\end{thebibliography}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment