Code Monkey home page Code Monkey logo

textemplates's Introduction

TeXTemplates

General Information

This repository includes LaTeX templates for

  • manuscripts to be submitted to academic journals,
  • dissertations,
  • bachelor’s/master’s theses and term papers,
  • presentation slides,
  • conference posters, and
  • (academic) curricula vitae/résumés.

Noteworthy Features

  • The templates for long-form texts (dissertations, article manuscripts, theses, term papers) attempt to typeset the body text such that it adheres to a baseline grid.

  • Support for context-based typesetting of mathematical formulas: Formulas in a serif-font environment are typeset using the serif font, while formulas in a sansserif-font environment are typeset using the sansserif font.

  • All templates use biblatex with biber as the backend. (For reasons why to use biblatex with biber instead of natbib with bibtex, see this post on StackExchange.)

Updating

I try to keep my TeX installation up-to-date as much as possible. That is, I check for updates to all TeX packages available on CTAN about once per week.

Hence, whenever I update this repository, the .tex files should compile flawlessly with an up-to-date TeX installation. This entails, however, that they may not compile without errors on older TeX installations. This will happen, in particular, if the update of a package that is used in my templates features backward-incompatible changes.

I am unable to ensure backward compatibility with older TeX installations because doing so would be extremely time-consuming. If you are using an older TeX installation, you may, of course, try to go back in time and download these templates based on earlier commits to this repository. (Say, if you use TeX Live 2019, which is the default TeX installation on Ubuntu 20.04 LTS, you may try your luck with commits from 2019.)

textemplates's People

Contributors

holgergerhardt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

textemplates's Issues

Missing \item when compiling Template_CV.tex with pdflatex

I tried to compile Template_CV.tex with the command pdflatex Template_CV.tex on Ubuntu 16.04, and the pdflatex version is:

$ pdflatex --version                                 
pdfTeX 3.14159265-2.6-1.40.19 (TeX Live 2018)
kpathsea version 6.3.0
Copyright 2018 Han The Thanh (pdfTeX) et al.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.34; using libpng 1.6.34
Compiled with zlib 1.2.11; using zlib 1.2.11
Compiled with xpdf version 4.00

But I encountered the problem:

! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.357 	\item[Book chapter]

and as a result, the compilation aborted.

Cannot compile presentation

When trying to compile your presentation template, I get the following errors:

  • Package fontenc Error: Encoding file `ly1enc.def' not found. \ProcessOptions*
  • Package fontenc Error: Encoding file `lgrenc.def' not found. \ProcessOptions*
  • File `microtype.sty' not found. \fi

My tex distribution is miktex and my editor is texstudio.

"! LaTeX Error: Option clash for package ulem" when compiling some templates

When I tried to compile the source file Template_Dissertation.tex with the command pdflatex Template_Dissertation.tex on Ubuntu 16.04, the compiler reported the problem:

! LaTeX Error: Option clash for package ulem.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.317 \ifthenelse
                 {
?

and after I keyed H <return>, the immediate help that the compiler gave is:

The package ulem has already been loaded with options:
  [normalem]
There has now been an attempt to load it with options
  [normalem,normalbf]
Adding the global options:
  normalem,normalem,normalbf
to your \documentclass declaration may fix this.

To find out the usage of the package ulem, I searched the whole directory:

grep ulem * -r -n
0_0_Preamble/Preamble_Fonts_Charter_FiraSans.tex:134:\usepackage[normalem]{ulem}	% Do NOT change \emph to \uline!
0_0_Preamble/Preamble_Fundamental_packages.tex:200:\usepackage[normalem]{ulem}  % Do NOT change \emph to \uline!!!

and after I replaced \usepackage[normalem]{ulem} with \usepackage[normalem, normalbf]{ulem} at line 134 of 0_0_Preamble/Preamble_Fonts_Charter_FiraSans.tex and at line 200 of 0_0_Preamble/Preamble_Fundamental_packages.tex, the problem was solved and the compilation was perfectly finished.

Besides, I searched the whole directory for 0_0_Preamble/Preamble_Fonts_Charter_FiraSans and 0_0_Preamble/Preamble_Fundamental_packages:

$ grep 0_0_Preamble/Preamble_Fonts_Charter_FiraSans *.tex -n
Template_Dissertation.tex:50:\input{0_0_Preamble/Preamble_Fonts_Charter_FiraSans}
Template_Paper.tex:34:\input{0_0_Preamble/Preamble_Fonts_Charter_FiraSans}
Template_Poster.tex:17:\input{0_0_Preamble/Preamble_Fonts_Charter_FiraSans}

$ grep 0_0_Preamble/Preamble_Fundamental_packages *.tex -n
Template_Dissertation.tex:46:\input{0_0_Preamble/Preamble_Fundamental_packages}
Template_Paper.tex:27:\input{0_0_Preamble/Preamble_Fundamental_packages}
Template_Term_Paper_DE.tex:54:\input{0_0_Preamble/Preamble_Fundamental_packages}
Template_Term_Paper_EN.tex:52:\input{0_0_Preamble/Preamble_Fundamental_packages}
Template_Thesis_BA_MA_DE.tex:50:\input{0_0_Preamble/Preamble_Fundamental_packages}
Template_Thesis_BA_MA_EN.tex:48:\input{0_0_Preamble/Preamble_Fundamental_packages}

That is, the same problem exists in compilation of all of the above listed templates. When we have an attempt to compile them, we should firstly modify the source files 0_0_Preamble/Preamble_Fonts_Charter_FiraSans.tex and 0_0_Preamble/Preamble_Fundamental_packages.tex as I mentioned above.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.