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

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: 9805
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: 9805
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: 463
Joined: Fri Jun 29, 2012 1:20 am

I'll look into this when I update the template to fix the current bug with TeX Live 2021 soon
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com

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

### kaobook and adjustbox crash?  Topic is solved

I've updated the template on LaTeX Templates to v1.3 which corresponds to v0.9.7 on GitHub. The Tex Live 2021 bug is fixed, but I just checked the issue in this thread on GitHub and Federico provided a solution there.

For this template, I would rather not make code changes myself since Federico is actively developing it. The best way to get things fixed is to open an issue on GitHub and he will fix it in the template which will eventually make it over to LaTeX Templates.
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com