Skip to content

🚀 This is a revised version derived from the original ntust-thesis by Hadziq Fabroyir. This version has been adapted for easy use with Overleaf or through the Docker image provided in this repository.

License

Notifications You must be signed in to change notification settings

hsiangjenli/ntust-thesis-latex

Repository files navigation

NTUST - Thesis - LaTeX Template

This is a LaTeX template for NTUST (National Taiwan University of Science and Technology) thesis. It is based on ntust-thesis by Hadziq Fabroyir, which is a modified version of the original ntust-thesis-latex-v15 by Ding-Jie Huang.

You can use this template to write your thesis in LaTeX, and it can be easily used with Overleaf or using the docker image provided in this repository.

Feel free to open an issue or pull request if you have any questions or suggestions 😶

Overleaf

Go to Settings and change the (1) Compiler to XeLaTeX (2) TeX Live version to 2023 and (3) Main document to my_ntust_thesis.tex.

💡 The template is available on Overleaf, however, the template will not be updated frequently on Overleaf, so it is recommended to download / clone the repository and put it on your Overleaf account.

Docker

You can use the provided docker image to compile the LaTeX files or you can build the docker image by yourself, the Dockerfile is provided in .github/Dockerfile, and you can modify it according to your needs.

# Pull the docker image from the docker hub
docker pull hsiangjenli/xelatex:ntust-thesis-v1.8.1

# Run the docker image, mount the current directory to the /workspace in the docker container
docker run -it --rm -v `pwd`:/workspace hsiangjenli/xelatex:ntust-thesis-v1.8.1 /bin/bash

# Enter the docker container and compile the LaTeX files
# Then you will see the pdf file in build folder
make pdf

The place to modify

Official NTUST Thesis Format

Other useful tools for writing LaTeX

Cheat Sheet

Math formula

On this site you can find a lot of math symbols that you can use in LaTeX.

Command Description
\nonumber Remove the equation number

Pseudocode (Algorithm2e)

There are some useful options and commands for using the algorithm2e package. If you want to see the full documentation, you can visit the official website here.

Option Description
ruled Show Caption
noline Remove the vertical line withing the block
linesnumbered Show line numbers
Command Description
\caption Add a caption to the pseudocode
\KwIn Input keyword
\KwOut Output keyword
\KwData Data keyword
\KwResult Result keyword
\For{condition}{do something} For loop
\If{condition}{do something} If condition
\Else{do something} Else
\eIf{condition}{do something} Else if condition
\While{condition}{do something} While loop
\ForEach{condition}{do something} For each loop
\tcc{annotation} Comment
\tcp{annotation} Comment
\SetAlgoLined Show the end keyword at the end of the block

Credits to

Other school's LaTeX template

About

🚀 This is a revised version derived from the original ntust-thesis by Hadziq Fabroyir. This version has been adapted for easy use with Overleaf or through the Docker image provided in this repository.

Topics

Resources

License

Stars

Watchers

Forks