## LaTeX forum ⇒ Theses, Books, Title pages ⇒ kaobook and adjustbox crash?

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
DesKartes
Posts: 2
Joined: Sat Nov 20, 2021 10:56 am

Hello,
I tried to use the

\usepackage[etex]{adjustbox} package and observed a strange behavior:

1. \hfill \adjustbox{valign=t}{\begin{minipage}{0.3\linewidth}
Test
\end{minipage}}%
\hfill
Test2
\end{minipage}}

1. \hfill {\begin{minipage}{0.3\linewidth}
Test
\end{minipage}}%
\hfill
{\begin{minipage}[t]{0.6\linewidth}
Test2
\end{minipage}}

In the "adjustbox"-part the fontsize is changed to Large and Huge. It works fine in book or tufte-book-class.
What have I done wrong?
Ulrich
Last edited by DesKartes on Sat Nov 27, 2021 4:21 pm, edited 2 times in total.

LaTeXguide.org • LaTeX-Cookbook.net

Stefan Kottwitz
Posts: 9794
Joined: Mon Mar 10, 2008 9:44 pm

Hi Ulrich,

welcome to the forum!

Your code is ok, nothing wrong that would cause it. Especially as it works with other classes. That's probably an issue in the kabook class (template). You could post an issue on GitHub so the author can check and fix it. If you post there, perhaps also add a link to this thread here.

Stefan

DesKartes
Posts: 2
Joined: Sat Nov 20, 2021 10:56 am

Stefan Kottwitz
Posts: 9794
Joined: Mon Mar 10, 2008 9:44 pm

Very good!

By the way, also I tested it and noticed the same issue. I used the version from Vel's website because that's easy to open in Overleaf, so I'm not sure if the GitHub version is behaving differently.

Stefan

Vel
Site Moderator
Posts: 462
Joined: Fri Jun 29, 2012 1:20 am