I'm working on a simple TeX here based on KOMA-Script that I'm trying to customize. I don't want a thesis or a book, I'm trying to create a simple design, with header and footer information and text between those. Simple huh? But damn, LaTeX is hard! I have the following source and a few questions:
\documentclass[a4paper]{scrbook}
\usepackage[portuguese]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{lipsum}
\usepackage{scrpage2}
\pagestyle{scrheadings}
\setheadsepline{1pt}
\setfootsepline{1pt}
\ihead{My Default Text}
\ohead{\leftmark}
\ifoot{My Default Footer Text}
\ofoot{Page \thepage}
\cfoot{}
\begin{document}
\tableofcontents
\chapter{Intro}
\section{What's Lorem Ipsum?}
\lipsum[1-8]
\section{Why Lorem Ipsum?}
\lipsum[1-8]
\chapter{Working with Lorem Ipsum}
\section{I say. What on Earth is Lorem Ipsum?}
\lipsum[1-8]
\section{Lorem Ipsum is dead?}
\lipsum[1-8]
\end{document}
- How can I change the default font to FreeSans?
- How can I change the default text size? And the default size for header/footer notes?
- The pages have different margins, some are padded to one side while others are padded to another. How can I make all pages have the same margin/padding?
- How can I make the chapter information (number, name and a list of the sections contained in it) appear in one page, without any content?
- How can I make the chapter information page have a different header note? (bigger font, different content)
- How can I include sample code?
- Can I create some kind of "blockquote" that contains an icon and I can write text next to it? Similar to the "For Dummies" books notes.
scrbookbutscrartcl(Koma article) or simplyarticle(orscrreprt/report). – doncherry Jun 14 '11 at 18:2411ptor12ptin the options to your documentclass call. – Seamus Jun 14 '11 at 21:27