mbredel / thesis-template Goto Github PK
View Code? Open in Web Editor NEWA LaTeX template for Bachelor and Master thesis
License: GNU General Public License v3.0
A LaTeX template for Bachelor and Master thesis
License: GNU General Public License v3.0
I have bould a gitlab-ci pipeline which builds the project and keeps the pdf-artifact, so I have always the same build env. I will use only these pdfs to share them with others. Furthermore there is the git-tag included and the buildtime, so i always know which version the pdf has.
To do this I need the Dockerimage WITH ghostscript, I published that under https://hub.docker.com/r/aeimer/thesis-template-ghostsctipt. I would be great if you could also provide a second version on your repo like:
Best regards
Alex
I have tried to run the docker run
command from the README under Windows, with the repository being on the latest master commit.
This results in the container failing with the following output:
make: *** /thesis-template/: No such file or directory. Stop.
This may require a fix or at least a hint in the README that the Docker container may not run properly under Windows.
My thesis title happens to have umlauts. I'm writing on MacOS and discovered that umlauts in the thesis title are not properly handled. In the text it's working fine.
I suppose that's because the hdathesis-config which includes the title is included before the classicthesis-config which contains the enconding definitions. Switching the includes in thesis.tex resolved my problem.
When compiling on a recent TexLive version registry.gitlab.com/islandoftex/images/texlive:TL2023-2024-02-04-full the compilation fails with the following error.
(/usr/local/texlive/2023/texmf-dist/tex/generic/intcalc/intcalc.sty
Package: intcalc 2019/12/15 v1.3 Expandable calculations with integers (HO)
)
\Hy@SavedSpaceFactor=\count458
! LaTeX socket Error: Sockets can only be declared at top-level!
For immediate help type H <return>.
...
l.2088 {\providecommand\UseSocket[2]{#2}}
?
! Emergency stop.
...
l.2088 {\providecommand\UseSocket[2]{#2}}
It is not allowed to declare sockets inside a group. Move the declaration to
the top-level.
In comparison version TL2023-2023-03-27-full still works. I digged into the issue and found its roots in the hdathesis.sty
file. Concretely in the following block:
\theoremstyle{plain} {{\theorembodyfont{\normalfont}
\newtheorem{Definition}{Definition}}
\newcommand{\qed}{\hfill \mbox{\raggedright \rule{.07in}{.1in}}}
\newenvironment{proof}{\vspace{1ex}\noindent{\textbf Proof}\hspace{0.5em}}
{\hfill\qed\vspace{2ex}}
I guess there is a missing }
somewhere which I solved by replacing the block with:
\theoremstyle{plain} {{\theorembodyfont{\normalfont}
\newtheorem{Definition}{Definition}}}
\newcommand{\qed}{\hfill \mbox{\raggedright \rule{.07in}{.1in}}}
\newenvironment{proof}{\vspace{1ex}\noindent{\textbf Proof}\hspace{0.5em}}
{\hfill\qed\vspace{2ex}}
or as diff (maybe easier to spot the additional brace here)
diff --git a/hdathesis.sty b/hdathesis.sty
index 3128fc9..24ea445 100644
--- a/hdathesis.sty
+++ b/hdathesis.sty
@@ -54,8 +54,9 @@
\newtheorem{Lemma}{Lemma}
\newtheorem{Corollary}{Corollary}
}
+
\theoremstyle{plain} {{\theorembodyfont{\normalfont}
- \newtheorem{Definition}{Definition}}
+ \newtheorem{Definition}{Definition}}}
\newcommand{\qed}{\hfill \mbox{\raggedright \rule{.07in}{.1in}}}
\newenvironment{proof}{\vspace{1ex}\noindent{\textbf Proof}\hspace{0.5em}}
{\hfill\qed\vspace{2ex}}
However I'm not using this environment or theorems and therefore have not validated the correctness of my fix.
Hello,
I could compile the project using the 'MacTex' compiler using vscode and docker container.
However, I would appreciate any help with paragraph spacing. I tried adding spacing in classic_thesis.tex but it didn't work. Adding space with \setlength{\parskip}{1em} works, but it also adds spacing for headings and disturbs the entire styling.
Hello everyone! I would like to highlight a small issue and provide a workaround for it. The problem originates from the original classicthesis project and is described there in an issue.
Problem:
In my LaTeX project based on the classicthesis template, the header on each page incorrectly displays "Contents" instead of the actual chapter. This behavior occurs when the table of contents (\tableofcontents
) is inserted but none of the lists of figures, listings, tables, or acronyms.
Solution:
Manually add \automark[section]{chapter}
to thesis.tex
. In my case, placing it here resolved the issue:
thesis.tex
...
\cleardoublepage\include{frontbackmatter/Contents}
% Uncomment these if not needed (i.e., less than 3-5, of figures, tables, listings, and acronyms.)
% \cleardoublepage\include{frontbackmatter/Figures}
% \cleardoublepage\include{frontbackmatter/Tables}
% \cleardoublepage\include{frontbackmatter/Listings}
% \cleardoublepage\include{frontbackmatter/Acronyms}
\automark[section]{chapter} % add this line
...
Hello and thank you for the fantastic template!
The link to Richtlinien zur Anfertigung der Bachelorarbeit on line 166 seems to be broken. Would be great to have this replaced.
I cloned the repository and ran make
. I get following error message:
mac:praktikumsbericht selim$ make
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./thesis.tex
LaTeX2e <2018-04-01> patch level 2
Babel <3.18> and hyphenation patterns for 22 language(s) loaded.
! LaTeX Error: File `silence.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.