loicdtx / Wageningen_PhD_thesis_template

:books: :bar_chart: A LaTeX template for PhD these at Wageningen University
21 stars 17 forks source link

Formatting title pages without indent #4

Open maartenvanheek opened 4 years ago

maartenvanheek commented 4 years ago

Nice work! I found out that using tabular indents your title pages, though, and using the l specifier you get an overfull hbox with a long statement like for your graduate school. Instead of splitting it manually, use the p{tablewidth} specifier in order to format text as a paragraph.

Also, in \flushleft, tabular indentation is minimal but can be further reduced by using an @{} in front of the column specifier.

So you can change both of the tabular environments to this:

%%
\newpage
\thispagestyle{empty}
\vspace*{\fill}
\begin{flushleft}
\begin{tabular}{@{}p{\textwidth}}
    \textbf{Thesis committee}                                      

and

%%
\newpage
\thispagestyle{empty}
\vspace*{\fill}
\begin{flushleft}
\begin{tabular}{@{}p{\textwidth}}
    Your Name \\  

As a last (minor) comment, I just defined a command \thesistitle and \thesissubtitle to prevent writing them 3-4 times in a row.

Screenshots: flushleft, with only p{\textwidth} column causes indentation and overflow on the right: fl_noat_textwidth

flushleft, with @p{\textwidth} column: fl_at_textwidth

loicdtx commented 4 years ago

Great! Feel free to send a pull request if you think that's a necessary improvement that can benefit others in the future.

maartenvanheek commented 4 years ago

See pull request. I thought you don't need flushleft with @{} but you do, therefore 2 commits.