Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

figure distortion #2392

Open
CaseyMiller opened this issue Aug 13, 2024 · 2 comments
Open

figure distortion #2392

CaseyMiller opened this issue Aug 13, 2024 · 2 comments

Comments

@CaseyMiller
Copy link

Figures become distorted. The example shows spheres in pane a becoming distorted to ellipsoids. Figure files attached and the source is

\documentclass[11pt]{article}

% Graphics support
\usepackage{graphicx}
\usepackage{subcaption}

\begin{document}

\begin{figure*}[t]
\centering
\begin{subfigure}[b]{0.33\linewidth}
\includegraphics[width=\linewidth]{BCC.png}
\caption{}
\end{subfigure}
\begin{subfigure}[b]{0.35\linewidth}
\includegraphics[width=\linewidth]{BCE.png}
\caption{}
\end{subfigure}
\begin{subfigure}[b]{0.3\linewidth}
\includegraphics[width=\linewidth]{PSF_25S.png}
\caption{}
\end{subfigure}
\
\begin{subfigure}[b]{0.4\linewidth}
\includegraphics[width=\linewidth]{PEF_25E.png}
\caption{}
\end{subfigure}
\begin{subfigure}[b]{0.4\linewidth}
\includegraphics[width=\linewidth]{PSF_1000S.png}
\caption{}
\end{subfigure}
\caption{Figure example.}
\label{fig:ex2}
\end{figure*}

\end{document}
BCC
BCE
PEF_25E
PSF_25S
PSF_1000S

@dginev
Copy link
Collaborator

dginev commented Aug 13, 2024

@CaseyMiller could you attach the produced HTML here? LaTeXML should be keeping source PNG assets as-is, so this may be related to the final CSS and flexbox setup for subfigures.

@CaseyMiller
Copy link
Author

CaseyMiller commented Aug 13, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants