koma add tag
nsajko
I want to use KOMA, but keep control of page geometry, using the geometry package, as recommended in the KOMA manual.

Sadly the manual is not clear with how this should be done.

For example:
```
\documentclass{scrartcl}

\usepackage[
  showframe,
  scale=0.90625,
  marginratio={1:1,5:8}
]{geometry}

\begin{document}
  Lorem ipsum dolor sit amet.
\end{document}
```

The above results in the visible deficiency of the page number almost dropping off the bottom edge of the paper:

![koma.webp](/image?hash=955402e799259a77e680a2f64810a11b7ecddde30890d6e19eaaf67983f043af)

If `scrartcl` is instead replaced with `article`, the result is as expected and more visually pleasing:

![article.webp](/image?hash=0074e2ae4f6ef1b503d2d6f7a3829f7743e8ee9e5cdf9416d945ccd5d3e3cc39)

Furthermore, if the value of the `scale` parameter is increased slightly:

* with the `article` class, the page number stays on the page

* with `scrartcl`, the page number isn't visible at all anymore.

Note: if important, I used LuaTeX for all examples.

Why does KOMA's class act differently from `article`, here?

What's the proper way to use the KOMA classes without surrenderring the control of the page geometry?
Top Answer
nsajko
As per samcarter's comment, this is caused by the `article` class having a different value for footskip than `scrartcl`.

So it's necessary to manually set footskip (and perhaps also headsep, headsize, marginparsep, marginparwidth) with package `geometry`, for example like so:
```
% \documentclass[fontsize=12pt]{scrartcl}
\documentclass[12pt, a4paper]{article}

\usepackage[
  scale=0.90625,
  marginratio={1:1,5:8},
  footskip=25pt
]{geometry}

\begin{document}
  Lorem ipsum dolor sit amet.
\end{document}
```

The above code seems to produce the same visual result when using `scrartcl` instead of `article`, by commenting the `\documentclass` command and uncommenting the above comment.

I guess that an alternative option would be to load `geometry` with an option like includefoot.

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.