GeneralLatex template compilatin weird problem

LaTeX specific issues not fitting into one of the other forums of this category.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Latex template compilatin weird problem

Post by Johannes_B »

Which is exactly why you are panicking right now. You are on a thesis deadline as well.


I am just glad you are not running a nuclear power plant. You need to be a trained engineer to know what to do if the big red light comes up. Panicking is the last thing you want to do.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Machupicchu
Posts: 13
Joined: Sun Oct 15, 2017 10:58 am

Latex template compilatin weird problem

Post by Machupicchu »

haha yes indeed. I do not expect to work in the nuclear field indeed. Yes I am panicking (a bit) and am also very tired and a bit sick lol (therefore -> going a bit nuts)
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Latex template compilatin weird problem

Post by Johannes_B »

Machupicchu wrote:Ok thanks I did try that but then I do not know where to place \supervisor{..} \author{} etc. which came after \thesistitle before the begin document command. Therefore I still get errors. but you might argue that it's my problem and I might need to search that for myself. (Please understand that I am really not a Latex expert, I use the templates sort of in a 'blind' way... I do not understand the underlying mechanisms... (don't have the time to study it))
I really really cannot understand your troubles.

Code: Select all

%----------------------------------------------------------------------------------------
%	TITLE PAGE
%----------------------------------------------------------------------------------------

\begin{titlepage}
\begin{center}

\vspace*{.06\textheight}
{\scshape\LARGE \univname\par}\vspace{1.5cm} % University name
\textsc{\Large Doctoral Thesis}\\[0.5cm] % Thesis type

\HRule \\[0.4cm] % Horizontal line
{\huge \bfseries The title of the thesis is here\par}\vspace{0.4cm} % Thesis title
\HRule \\[1.5cm] % Horizontal line
 
\begin{minipage}[t]{0.4\textwidth}
\begin{flushleft} \large
\emph{Author:}\\
\href{http://www.johnsmith.com}{\authorname} % Author name - remove the \href bracket to remove the link
\end{flushleft}
\end{minipage}
\begin{minipage}[t]{0.4\textwidth}
\begin{flushright} \large
\emph{Supervisor:} \\
\href{http://www.jamessmith.com}{\supname} % Supervisor name - remove the \href bracket to remove the link  
\end{flushright}
\end{minipage}\\[3cm]
 
\vfill

\large \textit{A thesis submitted in fulfillment of the requirements\\ for the degree of \degreename}\\[0.3cm] % University requirement text
\textit{in the}\\[0.4cm]
\groupname\\\deptname\\[2cm] % Research group name and department name
 
\vfill

{\large \today}\\[4cm] % Date
%\includegraphics{Logo} % University/department logo - uncomment to place it
 
\vfill
\end{center}
\end{titlepage}
Just replace the one line like i did here or in the aforementioned answer or redefine the other mention

Code: Select all

\renewcommand{\thesistitle}[1]{\newcommand{\ttitle}{#1}}
or wathever sam posted.


The template gives an example of a possible titlepage. How you design yours is really up to you and i thought nobody would use that thing as is. See also https://github.com/johannesbottcher/MDT ... title-page
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Machupicchu
Posts: 13
Joined: Sun Oct 15, 2017 10:58 am

Latex template compilatin weird problem

Post by Machupicchu »

ok thanks a lot for taking time to explain all that. I will do my best with what you provided and I ll re post when I succeed. Thanks again and my apologies for the inconvenience. You guys are very helpful in these forums.
Machupicchu
Posts: 13
Joined: Sun Oct 15, 2017 10:58 am

Latex template compilatin weird problem

Post by Machupicchu »

OK problem solved by your aforementioned solution : simply remove crappy \thesistitle{} command and replace \ttitle by the hard coded title...I admit it was simple indeed.

I also had another problem with the degree symbol causing errors which is solved by:

\let\savedegree\degree
\let\degree\relax
\usepackage{mathabx}
\let\degree\savedegree

Best regards,
and thanks for your patience.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Latex template compilatin weird problem

Post by Johannes_B »

One would usually use package siunitx for that.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Machupicchu
Posts: 13
Joined: Sun Oct 15, 2017 10:58 am

Latex template compilatin weird problem

Post by Machupicchu »

ah ok :)
Machupicchu
Posts: 13
Joined: Sun Oct 15, 2017 10:58 am

Latex template compilatin weird problem

Post by Machupicchu »

Still, it seems to me that those Latex templates are like a house of cards: any slight gust of wind and the whole thing goes down, no ?

The more complex -> the more cards -> the more fragile it is
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Latex template compilatin weird problem

Post by Johannes_B »

The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Machupicchu
Posts: 13
Joined: Sun Oct 15, 2017 10:58 am

Latex template compilatin weird problem

Post by Machupicchu »

haha thanks. Yes i know LaTeX is the standard for scientific reports and papers. And indeed it produces very nice documents. It just seems to me that these templates are a bit fragile when they are too complex.
Post Reply