Theses, Books, Title pageskaobook and adjustbox crash?

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

kaobook and adjustbox crash?

Post by DesKartes »

Hello,
I tried to use the

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

Code: Select all

1. \hfill \adjustbox{valign=t}{\begin{minipage}{0.3\linewidth}
    Test
\end{minipage}}%
\hfill
\adjustbox{valign=t}{\begin{minipage}[t]{0.6\linewidth}
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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

kaobook and adjustbox crash?

Post by Stefan Kottwitz »

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
LaTeX.org admin
DesKartes
Posts: 2
Joined: Sat Nov 20, 2021 10:56 am

kaobook and adjustbox crash?

Post by DesKartes »

User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

kaobook and adjustbox crash?

Post by Stefan Kottwitz »

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
LaTeX.org admin
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

kaobook and adjustbox crash?

Post by Vel »

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
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

kaobook and adjustbox crash?

Post by Vel »

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
Post Reply