Tufte-Book-Figur * mit Floatrow gebrochen
Oct 15 2020
Ich möchte eine Figur in voller Breite in ein mit der tufte-bookKlasse erstelltes Dokument aufnehmen .
Ich habe festgestellt, dass die Verwendung des floatrowPakets zusammen mit der setkeysOption von graphicxden tufte-book figure*Float bricht .
MWE
\documentclass{tufte-book}
\usepackage{floatrow}
\usepackage{graphicx}
\setkeys{Gin}{width=\linewidth,totalheight=\textheight,keepaspectratio}
\begin{document}
Here is a figure that I would like to be fullwidth.
\begin{figure*}
\includegraphics{example-image-a}
\end{figure*}
\end{document}
Tatsächliche Ausgabe
Gewünschte Ausgabe
Antworten
3 SimonDispa Oct 14 2020 at 23:48
Es funktioniert bei mir sowohl mit PDF-Latex als auch mit Lualatex
\documentclass{tufte-book}
\usepackage{floatrow}
\usepackage{graphicx}
\setkeys{Gin}{width=\textwidth+\marginparsep+\marginparwidth,totalheight=\textheight,keepaspectratio}
\usepackage{kantlipsum}
\begin{document}
Here is a figure that I would like to be fullwidth.
\begin{figure*}
\includegraphics{example-image-a}
\end{figure*}
\kant[1]
\end{document}
Es löst den Konflikt nicht, ist aber eine Problemumgehung. Die Tufte-Klasse wird seit 2015 nicht mehr gepflegt.