sjtug / SJTUThesis

上海交通大学 LaTeX 论文模板 | Shanghai Jiao Tong University LaTeX Thesis Template
Apache License 2.0
3.36k stars 792 forks source link

English version #864

Closed Malhabib closed 1 year ago

Malhabib commented 2 years ago

Hi,

I would ask how to use this template in English.

regards

LogCreative commented 2 years ago

Add the option lang=en to the document class:

\documentclass[type=master, lang=en]{sjtuthesis}

You could also read English README to learn how to compile the template.

We'll consider to add an English version documentation in the future.

Malhabib commented 1 year ago

Thanks, the comments are in Chinese. How I can add a new chapter and arrange the chapters? Thanks

LogCreative commented 1 year ago

In main.tex, we use \input to input contents from external files and mainly structured the document by the order of \input. Inside each file, we use \chapter{<chapter name>} to add chapters. Like:

https://github.com/sjtug/SJTUThesis/blob/700093d999dc6fe212aa280d04aee6c120470f3b/contents/intro.tex#L3

You could just use \chapter{} in the main.tex for convenience.

If you are new to LaTeX, you could get hands on it first before writing the thesis. See the website learnlatex.org.

Malhabib commented 1 year ago

Thanks a lot. I got it.