5

a page is not cropped, when standalone class is used together with xelatex and koma-script classes (scrreprt,scrbook or scrartcl). Here is very short MWE:

\documentclass[class=scrreprt]{standalone}
\begin{document}
    text
\end{document}

and it works just fine when instead compiled with pdflatex or with standard classes (i.e. replacing scrreprt in MWE by article, book etc). is there a chance to get a cropped page with standalone+xelatex+koma-script working together? (I use latest versions of the packages)

3
  • How do expect to use two classes within the same document? Commented Dec 30, 2017 at 20:35
  • 1
    the class is actually standalone, but there is also the possibility to specify the underlying class as shown in MWE. Commented Dec 30, 2017 at 20:38
  • Didn't know that. Commented Dec 30, 2017 at 20:40

2 Answers 2

4

Use

\documentclass[class=scrreprt,preview]{standalone}
0
6

Deactivate KOMA-Script option pagesize (default is auto):

\documentclass[class=scrreprt,pagesize=off]{standalone}
\begin{document}
text
\end{document}
0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.