I am writing a document , A4, using KOMA-Scripts (scrbook) and inside my document i have a Flowchart which doesn't pass in portrait. I used
\KOMAoptions{paper=landscape}
\recalctypearea
\newgeometry{left=20mm,right=20mm,top=20mm, bottom=20mm}
and at the end of the Flowchart, for returning to portrait, i write
\KOMAoptions{paper=portrait}
\restoregeometry
\recalctypearea
doing this give me what i want, but i get the following Warning:
Package typearea Warning: Bad type area settings!
(typearea) The detected line width is about 48%
(typearea) larger than the heuristically detected line width.
(typearea) You should e.g. decrease DIV, increase fontsize
(typearea) or change papersize.
Package typearea Warning: Typearea changed!
(typearea) You should do this only at preamble, because only
(typearea) \begin{document} calculates output dimensions!
(typearea) Trying to calculate new output dimensions, but
(typearea) this is only a dirty hack on input line 206.
Overfull \hbox (211.8935pt too wide) in paragraph at lines 314--315
[]
[4
Non-PDF special ignored!]
Package typearea Warning: Typearea changed!
(typearea) You should do this only at preamble, because only
(typearea) \begin{document} calculates output dimensions!
(typearea) Trying to calculate new output dimensions, but
(typearea) this is only a dirty hack on input line 321.
How could i solve this warning due to \recalctypearea
?
Remark
I know that Overfull \hbox is ...
is due to something else
geometry
package?sidewaysfigure
environment from the rotating package?geometry
isn't able do uselandscape
withnewgeometry
lscape
orpdflscape
packages.