latextemplates / scientific-thesis-template

LaTeX template for Master, Bachelor, Diploma, and Student Theses
http://latextemplates.github.io/scientific-thesis-template/
BSD Zero Clause License
358 stars 120 forks source link

Problem with centering custom institute #145

Open Lueton opened 2 years ago

Lueton commented 2 years ago

Customer institute is not centered correctly. Using \centring or \begin{center} breaks the doc. I use overleaf.

image

Qubasa commented 2 years ago

Same problem with institute={Institute of Security in Telecommunications\\\\Technical University Berlin\\Straße des 17. Juni 135\\10623 Berlin},

Vogel612 commented 2 years ago

Could you try reproducing the issue with the latest version of the scientific-thesis-cover.sty from the sister-repository? https://raw.githubusercontent.com/latextemplates/scientific-thesis-cover/master/scientific-thesis-cover.sty

I have attempted to reproduce the issue using latexmk to build the demo.tex from there and could not reproduce the issue. If that solves the issue @koppor will need to push an update out.

Qubasa commented 2 years ago

@Vogel612 Thanks! Sadly this doesn't seem to fix the issue. I'm using TeXstudio and vscode (I tried it in both) in the main-english.tex image

koppor commented 2 years ago

We should discuss whether we should try to work on https://github.com/latextemplates/scientific-thesis-cover/issues/26. -- The code of this package is from the 1990s and I got multiple feedbacks that we should rewrite the whole package - and use more modern LaTeX packages. I think pgf could be good choice.

kevinbbbb commented 2 years ago

grafik I am facing the same problem. I am using VS Code and just want to add that a warning suggests the use of \centering or center environment where the " \Titelblatt " command is used. grafik

koppor commented 2 years ago

Quick guess: Is it possible to use a minipage environment or making some magic with boxes?

Lueton commented 2 years ago

Quick guess: Is it possible to use a minipage environment or making some magic with boxes?

I tried every idea I could imagine but nothing did work. But I'm far away of a Latex pro. I ended up using an image. While this is not a fix it was enough for my needs. The image is treated as one like so it will be centered correctly