For a paper I have to make my LaTeX document guideline conforming. Many of you will already guess now that this means dirty work by violating virtually all possible typography standards.
My biggest problem is concerning section headings. They have to be:
- Capitalized
- Underlined
- Centered
- Have roman numerals
- The bibliography should not be appended a section number.
I tried to achieve this using the sectsty
package and since that did not work out gave the titlesec
package a shot, both with and without the ulem
package.
However, no combination worked. The problem occurs in any way when you give the option underlined
.
Here is a minimal example with the sectsty
package:
\documentclass{scrartcl}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
%% ADJUSTMENTS FOR IAC
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Get stupid underlining for headings right
\usepackage[]{ulem}
%% Change heading style
\usepackage{sectsty}
\sectionfont{\MakeUppercase\rmfamily\center\underline}
\begin{document}
\section{Test Section}
\end{document}
How can I make those headings conform to the rules? Would it probably even be the easiest way to manually write the headings, without a command at all?
sectsty
package: "The documentation for this package is written with the standard LATEX classes in mind, so might not [tee] up exactly to the KOMA-script classes. Despite that, and despite differences in behaviour when things go wrong, sectsty should work as expected with the KOMA-script classes." I guess you're encountering an instance when this isn't the case...