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

The horizontal alignment of margin notes in framed theorem-like environments when combined with XeLaTeX #255

Open
pi8027 opened this issue Sep 26, 2022 · 1 comment

Comments

@pi8027
Copy link
Contributor

pi8027 commented Sep 26, 2022

Description

An extra indentation appears only when we combine kaobook with XeLaTeX.

Minimal Working Example

\documentclass[
  a4paper,
  fontsize=10pt,
  twoside=false,
  secnumdepth=2,
  numbers=noenddot,
  fontmethod=tex,
]{kaobook}

\usepackage[framed]{kaotheorems}

\begin{document}

Some text.\marginnote{marginnote 1.}

\begin{theorem}

Some text.\marginnote{marginnote 2.}

\end{theorem}

Some text.\marginnote{marginnote 3.}

\end{document}

Expected behavior (what I got with pdfLaTeX):

The horizontal position of all the margin notes should be the same, like this:
pdflatex

Actual behavior (what I got with XeLaTeX):

xelatex

@pi8027
Copy link
Contributor Author

pi8027 commented Sep 29, 2022

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

No branches or pull requests

1 participant