Skip to content

henze-research-group/latex-template

Repository files navigation

CU Boulder's LaTeX Templates

This repository contains an updated version of CU's LaTeX class with support for a couple other features including:

  • table of acronyms
  • table of code snippets

The resulting PDF contains examples on how to best use LaTeX for a PhD Prospectus or PhD Thesis.

To use, open main-cu-prospectus.tex in your favorite Tex editor such as TexStudio or VSCode. You can also upload this entire package to Overleaf to edit collaboratively online.

One catch is that to see the acronyms the makeglossaries command needs to be in the build step. This repo committed the .vscode/settings.json file with the changes. To use VSCode and LaTeX, install the LaTeX Workshop extension. In TexStudio, this will need to be manually configured as well. Also, it is common to have to call the pdflatex command twice to have the glossaries show up correctly.

    "latex-workshop.latex.autoClean.run": "onFailed",
    "latex-workshop.latex.recipes":[
        {
            "name": "Build without glossaries (pdflatex x2)",
            "tools": [
                "pdflatex",
                "bibtex",
                "pdflatex",
                "pdflatex"
            ]
        },
        {
            "name": "Build with glossaries (pdflatex x2)",
            "tools": [
                "pdflatex",
                "bibtex",
                "makeglossaries",
                "pdflatex",
                "pdflatex"
            ]
        }
    ],
    "latex-workshop.latex.tools":[
        {
            "name": "pdflatex",
            "command": "pdflatex",
            "args": [
                "--shell-escape",
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "%DOC%"
            ],
            "env": {}
        },
        {
            "name": "makeglossaries",
            "command": "makeglossaries",
            "args": [
                "%DOCFILE%"
            ],
            "env": {}
        },
        {
            "name": "bibtex",
            "command": "bibtex",
            "args": [
                "%DOCFILE%"
            ],
            "env": {}
        }   
    ],
    "latex-workshop.latexindent.args": [
        "-c",
        "%DIR%/",
        "%TMPFILE%",
        "-y=defaultIndent: '  '"
    ]

An example PDF is in this project here and here but a version is created each commit on GitHub. The GitHub version is here. Go to the latest passing workflow run, then click on the PDF text in the Artifacts section. Note that the GitHub build version does not have the Acronyms listing since the build step does not know how to makeglossaries.

The difference between the prospectus and thesis is minimal. The prospectus version contains language that it is just that, a prospectus, and the thesis.cls has the approval page.

Notes

If using VSCode, then the latex-formatter might require an installation of a PERL library called HomeDir. This can be accomplished (on macOS) by installing the latexindent package with the following brew install command.

brew install latexindent

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages