Tag Info

Hot answers tagged

5

Who decided that spider has 8 legs? I don't know. But i know who is in charge of KOMA-script and scrlttr2, the author and maintainer Markus Kohm. He decided, for whatever reason, that the footer in a letter should be slanted. The footer is implemented as a parbox, so it is justified by default. You should not set things manually, let the program work for ...


4

You can use \endgraf (which is the \par primitive) to avoid the restrictions on the \par token. LaTeX \parboxes by default have 0pt indent and 0pt parskip so look rather like a linebreak. If you do not want that you can use \parbox{100mm}{\setlength\parindent{5mm}\setlength\parskip{\baselineskip}% or whatever First Paragraph \endgraf Some Text ...


4

You can use listof=leveldown to set the lot/lof as sections. \documentclass[listof=totoc,listof=leveldown]{scrreprt} \usepackage{blindtext} \begin{document} \tableofcontents \listoftables \blinddocument \begin{table}\centering \begin{tabular}{c} Text \end{tabular} \caption{Example} \end{table} \end{document} Another possibility is redefining ...


3

Package tocbasic is another package that defines some useful commands not only for package author. The most useful feature for the everyday user might be DeclareNewTOC[<options>]{<file etension>}. \DeclareNewTOC[% type=remarkbox,% types=remarkboxes,% float,% define a floating environment floattype=4,% name=Remark,% ...


2

With the current version of KOMA-script you get package scrletter which is is still in beta. It provides the ability to write letters with the with the article, report or book class of KOMA-script. Hence, it defines the mechanism you want. In the following a simple example to set the page header with the name. \documentclass{scrartcl} \usepackage{blindtext} ...


2

The subfig package loads caption, so it's best to use the features of this package. \documentclass{scrbook} \usepackage{xcolor} \usepackage{subfig} \DeclareCaptionLabelFormat{bluesf}{\sffamily\color{blue}#1 #2} \DeclareCaptionLabelFormat{subbluesf}{\sffamily\color{blue}(#2)} \DeclareCaptionLabelSeparator{bluecolon}{\sffamily\color{blue}: } ...


2

I will use a headsepline to show the width of the headlines. With scrlayer-scrpage the option headwidth=textwithmarginpar works as expected: \documentclass[10pt]{scrbook} \usepackage{xltxtra} \usepackage[paperwidth=170mm,paperheight=240mm]{geometry} \KOMAoptions{DIV=calc,BCOR=15mm} \newlength{\TextwithMargin} \setlength{\TextwithMargin}{% ...


2

You can do this by patching the internals of KOMA-script. You can place text as well, if you are feeling adventurous (i even used colour). But please, be sensible and don't do this. Please be careful, too much space, and the phone number is printed in the receiver line. \documentclass[ fromphone=on, fromemail=on]{scrlttr2} \setkomavar{fromname}{name} ...


1

I would suggest avoiding a document class that restricts you such freedom. For that, set the letter using the (ordinary) article document class: \documentclass{article} \usepackage[margin=.5in]{geometry} \usepackage{lmodern} \usepackage[T1]{fontenc} \renewcommand{\familydefault}{\sfdefault} \usepackage[utf8]{inputenc} \usepackage[english]{babel} ...


1

I'm not sure you want to read this. KOMA-Script gives you a good typographic letter with in your case german rules. For example it gives the adress the right position so that you can simply use a windowed envelope to send the letter. With option DINmtext you can't use a windowed envelope. I can not see a relevant reason to give up this automatic. So ...


1

The most simple solution that comes to mind is just putting different pdf together using package pdfpages. With version 3.15 of KOMA-Script, which is available at the develepors homepage, it is possible to include features of a letter within the other KOMA-classes. We have seen in the past, that europecv has some limitations. An alternative could be ...


1

Package jurabib is from 2004, all of its features are supported by the modern package biblatex which can be used with LyX as well. This output can be achieved with the following code: \documentclass{scrbook} \usepackage{blindtext} \usepackage[style=authoryear]{biblatex} \addbibresource{biblatex-examples.bib} \begin{document} ...


1

If you have got only "short" pieces of text in your additional column, you could use a single column document and then \marginline{Additional Text Here} within the text. \documentclass{scrartcl} \begin{document} \marginline{Lorem!}Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ...


1

As I [approximately] suggested in the comment, add these lines to the preamble \let\svthesection\thesection \def\thesection{\kern-1.5cm\svthesection} \hoffset=\dimexpr\hoffset + 1.5cm\relax \textwidth=\dimexpr\textwidth-1.5cm\relax \paperwidth=\dimexpr\paperwidth -1.5cm\relax What they accomplish is: 1) saving a copy of \thesection; 2) redefining ...


1

Changing the papersize mid document is a strange thing for me. I would try to put stuff like that in the appendix. Internally, package typearea takes care of laying out the text block on the page. With the code below you get an A0-page mid document, the high DIV value decreases the amrgin size and increases width and height of the text block. But why does ...


1

Here is another suggestion using the answer by @Steven but redefining \othersectionlevelsformat instead of \thesection. So it is still possible to refer to a section number by \ref: \newcommand\p{\paragraph{}\hspace*{-1em}} \newcommand\secnumindent{1.5cm} \renewcommand\othersectionlevelsformat[3]{\makebox[0pt][r]{\parbox{\secnumindent}{#3\autodot}}} % from ...



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