Skip to content
This repository was archived by the owner on Apr 17, 2026. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions hcmut-report.cls
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@

\RequirePackage[utf8]{vntex,inputenc}
\RequirePackage{anyfontsize,amsmath,amssymb}
\RequirePackage[T5]{fontenc}
\RequirePackage[T5,T1]{fontenc}

\RequirePackage{geometry,graphicx,indentfirst,setspace}
\RequirePackage{booktabs}
\RequirePackage[center]{caption}

\RequirePackage{fancyhdr,hyperref}
\RequirePackage[super,square,sort]{natbib}

% Change to '[english,vietnamese]' to use Vietnamese labels
\RequirePackage[english]{babel}
Expand Down Expand Up @@ -64,8 +63,6 @@
\newcommand{\reporttime}[1]{\renewcommand{\@reporttime}{#1}}

% Configurations
%\graphicspath{{subdir1/}{subdir2/}{subdir3/}...{subdirn/}}

\geometry{
paper=a4paper,
left=3cm,
Expand Down
12 changes: 8 additions & 4 deletions report.tex
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
% Use \cref{} or \Cref{} instead of \ref{}
\usepackage[nameinlink]{cleveref}

% Citations
\usepackage[style=numeric,sorting=ynt]{biblatex}
\usepackage{csquotes}

% FOR DEMONSTRATION PURPOSES, REMOVE IN PRODUCTION
\usepackage{mwe}

Expand All @@ -51,10 +55,11 @@
% Set depth of numbering for counters
\AtBeginDocument{\counterwithin{lstlisting}{section}}

% Add bibliography file
\addbibresource{refs/example.bib}

% Rename some sections
%\AtBeginDocument{\renewcommand*{\contentsname}{Contents}}
%\AtBeginDocument{\renewcommand*{\refname}{References}}
%\AtBeginDocument{\renewcommand*{\bibname}{References}}

% Custom commands
%\newcommand*\mean[1]{\bar{#1}}
Expand Down Expand Up @@ -120,8 +125,7 @@ \section{Label prefixes}
\include{chapters/example/codespace.tex}
\include{chapters/example/figwidth.tex}

\bibliographystyle{plain}
\bibliography{refs/example.bib}
\nocite{*}
\printbibliography[heading=bibintoc,title={References}]

\end{document}