Skip to main content
added 7 characters in body; edited title
Source Link
Schweinebacke
  • 26.9k
  • 71
  • 104

Section title with runin and KOMA-Script class?

I would like to have section titles with runin so that there is no newline after the section title. This can be done with

\documentclass{article}
\usepackage{titlesec}
\title{\section}[runin]{\large}{\thesection}{1em}{}[]
\begin{document}
    \section{First section}
     This text follows on the same line as "First section"
\end{document}

However, I am using the KOMA-Script scrartcl class and use of the titlesec package is discouraged (see Incompatibilities between KOMA-Script and titlesec).

I have searched through the KOMA-Script documentation, but cannot find anything like the runin option in titlesec. How can I achieve this functionality while using a KOMA-Script class?

Section title with runin and KOMA class?

I would like to have section titles with runin so that there is no newline after the section title. This can be done with

\documentclass{article}
\usepackage{titlesec}
\title{\section}[runin]{\large}{\thesection}{1em}{}[]
\begin{document}
    \section{First section}
     This text follows on the same line as "First section"
\end{document}

However, I am using the KOMA scrartcl class and use of the titlesec package is discouraged (see Incompatibilities between KOMA-Script and titlesec).

I have searched through the KOMA-Script documentation, but cannot find anything like the runin option in titlesec. How can I achieve this functionality while using a KOMA-Script class?

Section title with runin and KOMA-Script class?

I would like to have section titles with runin so that there is no newline after the section title. This can be done with

\documentclass{article}
\usepackage{titlesec}
\title{\section}[runin]{\large}{\thesection}{1em}{}[]
\begin{document}
    \section{First section}
     This text follows on the same line as "First section"
\end{document}

However, I am using the KOMA-Script scrartcl class and use of the titlesec package is discouraged (see Incompatibilities between KOMA-Script and titlesec).

I have searched through the KOMA-Script documentation, but cannot find anything like the runin option in titlesec. How can I achieve this functionality while using a KOMA-Script class?

edited tags
Link
Schweinebacke
  • 26.9k
  • 71
  • 104
replaced http://tex.stackexchange.com/ with https://tex.stackexchange.com/
Source Link

I would like to have section titles with runin so that there is no newline after the section title. This can be done with

\documentclass{article}
\usepackage{titlesec}
\title{\section}[runin]{\large}{\thesection}{1em}{}[]
\begin{document}
    \section{First section}
     This text follows on the same line as "First section"
\end{document}

However, I am using the KOMA scrartcl class and use of the titlesec package is discouraged (see Incompatibilities between KOMA-Script and titlesecIncompatibilities between KOMA-Script and titlesec).

I have searched through the KOMA-Script documentation, but cannot find anything like the runin option in titlesec. How can I achieve this functionality while using a KOMA-Script class?

I would like to have section titles with runin so that there is no newline after the section title. This can be done with

\documentclass{article}
\usepackage{titlesec}
\title{\section}[runin]{\large}{\thesection}{1em}{}[]
\begin{document}
    \section{First section}
     This text follows on the same line as "First section"
\end{document}

However, I am using the KOMA scrartcl class and use of the titlesec package is discouraged (see Incompatibilities between KOMA-Script and titlesec).

I have searched through the KOMA-Script documentation, but cannot find anything like the runin option in titlesec. How can I achieve this functionality while using a KOMA-Script class?

I would like to have section titles with runin so that there is no newline after the section title. This can be done with

\documentclass{article}
\usepackage{titlesec}
\title{\section}[runin]{\large}{\thesection}{1em}{}[]
\begin{document}
    \section{First section}
     This text follows on the same line as "First section"
\end{document}

However, I am using the KOMA scrartcl class and use of the titlesec package is discouraged (see Incompatibilities between KOMA-Script and titlesec).

I have searched through the KOMA-Script documentation, but cannot find anything like the runin option in titlesec. How can I achieve this functionality while using a KOMA-Script class?

Source Link
EP_Guy
  • 133
  • 7
Loading