Tag Info

Hot answers tagged

5

Since you are using a KOMA class, with the parskip=half option, the proper way is to use something like \KOMAoptions{parskip=half} for the abstract (use full, or any of the other available options instead of half, according to your needs): \documentclass[twoside,parskip=half,numbers=noendperiod,abstract=true]{scrartcl} \usepackage[british]{babel} ...


5

This is the basics, adjust to suit. \documentclass[11pt, twoside=semi, titlepage]{scrreprt} \usepackage[top=2.5cm, bottom=2.5cm, left=6cm, right=2cm, heightrounded, marginparwidth=3.5cm, marginparsep=0.5cm]{geometry} \usepackage{xcolor} \renewcommand*{\othersectionlevelsformat}[1]{% \makebox[0pt][r]{% \fcolorbox{blue}{blue}{\color{white}\csname ...


4

Use \noindent and \vspace{<dimension>} judiciously. (You can also use \medskip, or\bigskip instead of \vspace{..}) Change 1em as you feel. \begin{abstract} \noindent Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel sem enim. Morbi venenatis nisl vitae elit porttitor maximus. Nullam bibendum nunc iaculis, venenatis nibh eu, gravida ...


3

\documentclass[12pt, letterpaper]{book} \usepackage{imakeidx} \makeindex[name=cat, title=Category, columns=1] \makeindex[name=type, title=Type of Dish] \newcommand\foo[1]{} \newcommand\textbfz[2]{\textbf{#1}} \begin{document} \index[type]{Casual@\textbfz{Casual}|foo} %Want this in bold and no page number \index[type]{Quick@\textbfz{Quick}|foo} ...


2

The changepage package provides this function. The simplest way is to use the adjustwidth environment. You have to specify an amount by which to increase the size of the margins, which you can calculate based on the textwidth, your default margins, and the desired textwidth of the new narrow block. One problem is defining that narrower textwidth based on ...


2

Here is an example of using mdframed to highlight the answer portion: References: You might want to try some of the other alternatives in Environments for visually setting text apart Code: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{microtype} ...


1

If I understand the problem, you are worried about the warnings/errors regarding labels. LaTeX Warning: Label `eqn:addition' multiply defined. One way to avoid that is to redefine \label and \ref just before your new content with something like: \let\OrigLabel\label \let\OrigRef\ref \renewcommand{\label}[1]{\OrigLabel{NEW##1}}% ...


1

Quickly defining a new package to keep the preamble clean. You now have the command \emphchapter taking a mandatory argument, and an optional for the toc if needed. There is a starred variant as well, setting an unnumbered chapter with indent to the toc. After loading the package, you can use \setkomafont{emphfont} or addtokomafont{emphfont} to format the ...



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