Re: Fehler cls-Datei

"Jan Handwerker" (via tex-d-l Mailing List) <[email protected]>
Newsgroups gmane.comp.tex.german
Message-ID <[email protected]>
Hallo Ralf,
liebe Liste,

also der Hinweis auf das Minimalbeispiel war schon mal hilfreich. Die 
Probleme haben offensichtlich unterschiedliche Ursprünge. Viele 
underfull hboxes kommen daher, dass sie tabellen mit p{breite} gesetzt 
hat, die so schmal werden, dass der Umbruch zum Problem wird. Aber das 
Minimalbeispiel lautet jetzt:

\documentclass[headsepline=on]{UVKABoA5p}

\usepackage{lipsum}

\begin{document}

\lipsum

\end{document}

Und erzeugt als output in der log-Datei:

 > grep vbox minimal.log
Underfull \vbox (badness 2698) has occurred while \output is active []
Overfull \vbox (2.988pt too high) has occurred while \output is active []
Overfull \vbox (2.988pt too high) has occurred while \output is active []

Tatsächlich verschwinden die beiden overfull vboxes, wenn ich 
headsepline=on als Option entferne. Warum?

Und woher kommt die Underfull vbox?

Die cls-Datei ist angehängt.

Herzliche Grüße
Jan


Am 09.04.25 um 16:28 schrieb Ralf Steinle (via tex-d-l Mailing List):
> Am Wed, 9 Apr 2025 15:55:47 +0200
> schrieb "Jan Handwerker" (via tex-d-l Mailing List)
> <[email protected]>:
> 
>> Liebe Gemeinde,
>>
>> an unserer Fakultät wird eine LaTeX-Vorlage samt einer cls-Datei
>> herumgereicht, die zum Schreiben von Dissertationen verwendet werden
>> soll. Leider scheint das Dokument völlig veraltet zu sein und,
>> vielleicht als Folge davon, werden Dutzende von Overfull und
>> Underfull Boxen erzeugt.
> [ ... ]
>> Hat jemand eine Idee?
> 
> Das cls und ein Minimalbeispiel mit den aufgerufenen Paketen müsstest
> du schon beilegen. Vielleicht auch das Logfile. Kann man den Style auf
> den Seiten deiner Fakultät (welche ist das?) herunterladen?
> Aus deinen Angaben lässt sich leider nichts aussagen. Oder hast du das
> an die Mail angehängt? Bei mir ist nichts angekommen.
> 
> Außerdem: Welches TeX (Lua/PDF/Xe) verwendet ihr?
> 
> Beste Grüße
>   Ralf
> 
>

-- 
FAQ: http://texfragen.de/
Durchsuchbares Archiv: https://www.listserv.dfn.de/sympa/arc/tex-d-l 
Unsubscribe/Verwaltung: https://www.listserv.dfn.de/sympa/info/tex-d-l
UVKABoA5p.cls (text/x-tex, 2.9 KB)
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{UVKABoA5}

\DeclareOption{twoside}{\PassOptionsToClass{\CurrentOption}{scrbook}}
\DeclareOption{12pt}{\PassOptionsToClass{\CurrentOption}{scrbook}}
\DeclareOption{listof=numbered}{\PassOptionsToClass{\CurrentOption}{scrbook}}\DeclareOption{idxtotoc}{\PassOptionsToClass{\CurrentOption}{scrbook}}
\DeclareOption{bibliography=totocnumberd}{\PassOptionsToClass{\CurrentOption}{scrbook}}\DeclareOption{idxtotocnumbered}{
	\AtEndOfClass{
		\renewcommand*\idx@heading{
			\if@openright\cleardoublepage\else\clearpage\fi
			\twocolumn[\chapter{\indexname}]
			\@mkboth{\indexname}{\indexname}
		}
	}
} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrbook}}
\ExecuteOptions{twoside,13pt,liststotocnumbered,idxtotocnumbered,bibtotocnumbered}
\ProcessOptions\relax
\LoadClass{scrbook}

\let\switcht@@therlang\relax
\let\svlanginfo\relax
\def\ds@deutsch{\def\switcht@@therlang{\switcht@deutsch}
\gdef\svlanginfo{\typeout{Deutsche Sprache}\global\let\svlanginfo\relax}}

\AtBeginDocument{\@ifpackageloaded{babel}{
\@ifundefined{extrasgerman}{}{\addto\extrasgerman{\switcht@deutsch}}
\@ifundefined{extrasngerman}{}{\addto\extrasngerman{\switcht@deutsch}}
}{\switcht@@therlang}
}

\RequirePackage[T1]{fontenc}
\RequirePackage[utf8x]{inputenc}
\RequirePackage{makeidx}
\RequirePackage{mathptmx}
\RequirePackage{natbib}
\RequirePackage{color}
\RequirePackage[inner=3cm,%
								outer=2cm,%
								top=2.7cm,%
								bottom=3.2cm]{geometry}

\clubpenalty = 10000 
\widowpenalty = 10000
\displaywidowpenalty = 10000

\addtokomafont{chapter}{\fontfamily{phv}\fontsize{15}{15}\bfseries}
\addtokomafont{section}{\fontfamily{phv}\normalsize\bfseries}
\addtokomafont{subsection}{\fontfamily{phv}\normalsize\bfseries}
\addtokomafont{subsubsection}{\fontfamily{phv}\normalsize\bfseries}
\addtokomafont{caption}{\small}
\setkomafont{captionlabel}{\small}
\addtokomafont{chapterentry}{\fontfamily{phv}\bfseries}
\addtokomafont{chapterentrypagenumber}{\fontfamily{phv}\bfseries}

\color[cmyk]{0,0,0,1}

\deffootnote[1.5em]{2em}{1.5em}{\textsuperscript{\thefootnotemark}}

\newcommand{\preface}[1][\prefacename]{\chapter*{#1}}
\newcommand{\Preface}[1][\prefacename]{\chapter*{#1}\addcontentsline{toc}{chapter}{#1}} 

\newcommand{\ack}[1][\ackname]{\chapter*{#1}}
\newcommand{\Ack}[1][\ackname]{\chapter*{#1}\addcontentsline{toc}{chapter}{#1}} 

\newcommand{\abstract}[1][\abstractname]{\chapter*{#1}}
\newcommand{\Abstract}[1][\abstractname]{\chapter*{#1}\addcontentsline{toc}{chapter}{#1}} 

\newcommand{\changefont}[3]{\fontfamily{#1} \fontseries{#2} \fontshape{#3} \selectfont}

\def\ackname{Acknowledgment}
\def\abstractname{Abstract}
\renewcommand{\figurename}{Fig.}
\renewcommand{\tablename}{Tab.}
\def\switcht@deutsch{\svlanginfo
	\def\ackname{Danksagung}
	\def\abstractname{Kurzfassung}
	\renewcommand{\figurename}{Abb.}
  \renewcommand{\tablename}{Tab.}
}

\renewcommand*{\chapterpagestyle}{empty}
\renewcommand{\baselinestretch}{1.33}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.