Tag Info

Hot answers tagged

7

Well, the documentation of koma-script helped me to find a solution after all: \documentclass{scrbook} \renewcommand{\partheadmidvskip}{\enskip} \renewcommand{\partformat}{\thepart\autodot} \setkomafont{partnumber}{\usekomafont{part}} \begin{document} \part{This Is Part One} \end{document} However, since I am not a very experienced user of LaTeX I ...


5

You can use a modified version of the linked solution. In the linked solution you have \renewcommand*\othersectionlevelsformat[1]{% \makebox[0pt][r]{% \csname the#1\endcsname \enskip }% } This puts the sectioning number in a box of zero width aligned to the right which is why the number sticks into the margin. The \enskip ensures a distance of ...


5

This illustrates the default layout of the epigraphs environment which supports multiple quotations: \documentclass{scrreprt} \usepackage{epigraph,url} \begin{document} \chapter{In The Beginning} \begin{epigraphs} \qitem{Friendship with oneself is all-important, because without it one cannot be friends with anyone else in the world.}{Eleanor ...


5

Please always provide a full minimal working example (MWE). I am using the dictum environment KOMA-Script does not have a dictum environment but a \dictum command! If I do two back to back dictums, it simply ignores the first and proceeds with the second. I can't reproduce this when I use the command the way it is shown in the KOMA-Script ...


4

Rather than abuse the existing chapter and part counters for your metadata, you can create new items to add to the Table of Contents using the existing facilities of tocloft. Then you can use the fncychap formatting for chapters normally. As part of its ability to create new contents lists, tocloft provides a command \newlistentry which lets you populate ...


4

Use \setcapindent*; note the difference when the argument is positive or negative. I used the command in the center environment, but of course you should make a global decision in the preamble. \documentclass[ 12pt, a4paper ]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{showframe} % just for the ...


3

Instead of (mis-)using a combination of gather and aligned you could use a normal tabular with a p{}-type column for the descriptions. This could be wrapped up in a custom environment, eqdescription or something. The example below uses the center and the tabular environments but it uses the internal commands in the definition of eqdescription, i.e., \center ...


3

Of course I figured it out a few minutes after posting the question… The right command to use is \addchap provided by KOMA-Script for scrbook and scrreprt. Using \addchap{Preface} I get an unnumbered chapter that appears in the table of contents and the headings are set correctly.


2

Manual additions to a Toc (or LoF/LoT etc) via \addcontentsline often require a \phantomsection statement for correct linking, as well as for the bookmarks. A more elaborate way would apply the \phantomsection command in \silentsection... \documentclass[oneside]{scrbook} \usepackage{hyperref,scrpage2} \newcommand*\silentsection[1]{% ...


2

Here's a quick workaround: \footnotemark \footnotetext{<text>} For example: \documentclass[version=last]{scrlttr2} \usepackage[ngerman]{babel} \begin{document} \begin{letter}{Markus Kohm} \opening{Dear Mr. Kohm,} how can I add footnotes to enclosures\footnote{works}? \setkomavar*{enclseparator}{Enclosures: } \encl{encl\footnotemark}% ...


2

But the values your LaTeX document produces and the values from the table do agree. I don't see a problem. \textwidth, \textheight, and \topmargin are almost as predicted. And the inner margin, which is 1in + \oddsidemargin on odd pages, is 25.4 - 7.9 = 17.5mm and thus also as predicted. For an even page, the inner margin is \paperwidth - 1in - ...


2

All credit goes to cgnieder for this solution. \usepackage{etoolbox} \preto\section{\clearpage} \begin{document} \section{Section One} \section{Section Two Should Start On Another Page} \end{document}


2

The \citet command is not available by default in LaTeX, you need to load a bibliography package that defines it. In LyX, go to Document --> Settings --> Bibliography and set Natbib as Citation style. This loads the natbib package, where \citet and \citep are defined.


2

Replacing \usepackage[cross,center,width=216mm,height=303mm]{crop} % bleed is 6mm by \usepackage[mirror,cross,center,width=216mm,height=303mm]{crop} % bleed is 6mm \makeatletter \newsavebox\WholePageBigBox \renewcommand*\CROP@genreflect[1]{% \leavevmode \savebox\WholePageBigBox{\hb@xt@\paperwidth{\vbox ...


1

You have to redefine the definition of \section, subsection etc. You use a negativ values to set runin heading, like in the standard article-class. I have copied the definition of headings from scrartcl sometimes in the past. Be aware that this solution may break if scrartclis changed. If you take a look at page 351 in the English manual for Komascript, you ...


1

I would recommand the caption-package: http://sunsite.informatik.rwth-aachen.de/ftp/pub/mirror/ctan/macros/latex/contrib/caption/caption-eng.pdf It delivers a huge amount of possibilities to customize captions. the behavior you desire would be achieved with: \usepackage[labelsep=newline, % Caption starts in a new line below the label ...


1

What about \renewcommand*{\partformat}{\thepart\autodot} ? If you provide an example, we can test... Edit: @cgnieder, tohecz, Jubos, who deleted my first answer: This is an answer, it solves the OP's question partially. There is no reason to close it. Go and help people who have questions. E.g., solve this question here.


1

There is no possibility to set this behavior with an option. You would need to hack KOMAScript. Copy the class-file scrbook.cls to the same directory as your tex-document. Rename it, e.g. to mybook.cls The lines you want to change are 100 and 2533, also you need to comment out the lines 2529-2532, these are the lines, where the Part I-Line is created. In ...


1

I took the liberty to write up an answer, making your very large example into a minimal one. As @cgnieder stated in the comments, package scrlayer-scrpage defines an interface for defining page headers and footer; mostly compatible with scrpage2. Mostly, what does that mean? You received a warning, telling you that the command deftripstyle is deprecated. ...


1

This version implements requests and advice from comments. \documentclass{scrbook} \usepackage{lipsum} \makeatletter \renewcommand*{\chapterformat}{% \chapappifchapterprefix{\nobreakspace}% \llap{\thechapter\autodot\enskip% }} \renewcommand*{\@@makechapterhead}[1]{\chapterheadstartvskip {% \normalfont\sectfont\nobreak\size@chapter{}% ...


1

Another way is to use the scrbook class and then use the macros \frontmatter, \mainmatter, \backmatter. If you use the first one just before the \begin{document} line then you can use easily chapters without troubles for add them at the toc. Something like this: \documentclass[]{scrbook} \usepackage[]{} \usepackage[]{} \usepackage[]{} . . . ...



Only top voted, non community-wiki answers of a minimum length are eligible