Skip to content
/ tex Public

LaTeX style files, templates and helper scripts

License

Notifications You must be signed in to change notification settings

dlesbre/tex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaTeX files

This repository contains files I use for LaTeX and beamer styling, as well as simple document templates.

Installation

For use with a simple documents, simply place the .sty files you need in the same folder as your .tex document

For general use on Linux, place the .sty files in ~/texmf/tex/latex/ or any subdirectory thereof.

To install the script, add an alias texmgr='path/to/texmgr' to your ~/.bashrc.

Contents

Color theme:

Style files:

Templates: simple prefilled document to avoid retyping common things

Scripts:

  • scripts/texmgr.py: python script to compile/initialize and clean texfiles.

  • scripts/texmgr: executable that calls the texmgr.py script's main

      Usage: texmgr [--flags] [file list]
    
      Compiles all files in the file list (defaut, all *.tex files
      in current working directory).
      Compiles once, runs bibtex, then compiles twice.
    
      Flags:
        -n --no-clean     don't remove build files after compiling
    
        -i --init         doesn't compile, creates files in file list
        -b --init-beamer  same as --init, but uses the beamer template to create files
        -t --open-tex     doesn't compile, opens tex files in editor (can run with -i/-b)
        -p --open-pdf     compiles and opens PDF files in viewer
    
        -w --watch        watches the tex file and recompiles when it is changed
        -l --clean-last   only clean build files when watcher is stopped
        -f --find-deps    print dependencies (\input{...}) of a LaTeX file
    
        -c --clean        doesn't compile, removes build files
                          Files removed match a .tex file in the list
                          and have the following extensions:
                            aux, bak, bbl, blg, fdb_latexmk, fls, log, nav, out, snm, synctex.gz, synctez.gz, toc, vrb, vtc
    
        -v --verbose      print the commands called
        -s --silent       don't show info messages (keeps tex output and error messages)
        -d --dry-run      print the commands but don't run them
        --version         show version number
        -h --help         show this help
    

Old scripts: