Skip to content

Jue-Xu/Latex-Template-for-Scientific-Style-Book

Repository files navigation

A Latex Template for Scientific Style Book (Notes)

Preview

YouTube Preview

Minimal working example

Overleaf template

my study notes [to do]

Features

  • Cross-refs: link of definitions and theorems
  • ToC: list of theorems, definitions, minitoc
  • header and footer: hyperlink
  • bib: hyperlink, backref, custom entry
  • support index, glossary, symbol
  • clean layout
  • More glossary support at branch. Not work on Overleaf (see the discussion of the issue.

Compile

This template (this branch) works fine with the Overleaf online compiler.

Compile with your local machine: lualatex and latexmk

.latexmkrc configuration file

$pdflatex = 'lualatex -synctex=1 -interaction=nonstopmode --shell-escape %O %S';
@generated_exts = (@generated_exts, 'synctex.gz');
$pdf_mode = 1;

add_cus_dep('glo', 'gls', 0, 'makeglo2gls');
sub makeglo2gls {
    system("makeindex -s '$_[0]'.ist -t '$_[0]'.glg -o '$_[0]'.gls '$_[0]'.glo");
}

Related Tools

VSCode

Extension: Latex Workshop by James Yu

Extension Setting:

   "latex-workshop.latex.recipe.default":"latexmk",
    "latex-workshop.latex.recipes":[
        {
            "name": "latexmk",
            "tools": [
                "latexmk"
            ]
        }
    ],
    "latex-workshop.latex.tools":[
    {
        "name": "latexmk",
        "command": "latexmk",
        "args": [
            // "-pdflatex=lualatex",
            "-f",
            "-synctex=1",
            "-interaction=nonstopmode",
            "-file-line-error",
            "-pdf",
            "-outdir=%OUTDIR%",
            "%DOC%"
        ],
        "env": {}
    }
    ]

Zotero

https://www.zotero.org/

Better BibTeX

https://retorque.re/zotero-better-bibtex/

License

Creative Commons CC BY 4.0

Feel free to fork or modify this Repo. Give me a star if this template is helpful to you.

If you have any question or suggestion, you could open an issue on GitHub.

About

Latex Template for Scientific style Book/Notes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages