# Small magazine style class: few questions? [closed]

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}
\setfootsepline{1pt}

\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]
\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.
-

## closed as not a real question by Stefan Kottwitz♦May 6 '12 at 17:52

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

That's an awful lot of questions. At least some of which should be google-able... Maybe tighten your question to the one of these that is most important/is giving you the most trouble. –  Seamus Jun 14 '11 at 18:06
@JamieJ: Welcome to tex.sx! I second @Seamus, you could also take a look in an introduction like this one, where you'll find answers to some basic questions, or use the search function of this site to find some inspiration. Besides that, Google and ctan.org are your best friends. If you can't figure something out at all, try to ask one concise question per post. In general, if you don't want to write a big-scale document, I recommend not using scrbook but scrartcl (Koma article) or simply article (or scrreprt/report). –  doncherry Jun 14 '11 at 18:24
@JamieJ then I'd recommend you look at some of these answers. Once you've done that, maybe come back with some more specific questions that we can then try and answer. –  Seamus Jun 14 '11 at 21:29
@JamieJ How to ask is also worth looking at in order to know how to ask good questions. –  Seamus Jun 14 '11 at 21:57
@JamieJ: As others have already noted, asking a large number of questions in a single 'question' is not encouraged on tex.sx, as the model here is very much one question idea in one post. I'd also second the idea that you need to spend time learning LaTeX. You will profit much more by tackling problems one at a time than by jumping in and trying to alter several things at once. Several of the questions you've asked have been covered before, and so it is not surprising that one of the responses you got was to search more carefully. The community here is helpful, but it is a two-way street. –  Joseph Wright Jun 16 '11 at 8:05

Against my better judgement, here are some answers to your questions. As others have noted many are already answered on the site or are in the KOMA documentation. Not every link below is KOMA-specific, so there may be some differences, but there are plenty of KOMA users here, so if you ask specific questions one at a time, you may get a better response.

• How can I change the default font to FreeSans?

I don't know if there is pdfLaTeX support for FreeSans, but if you use XeLaTeX or LuaLaTeX you can load any font in your system

Here's an example

Section headers in Century Gothic, text in Garamond

If there is pdfLaTeX support, then

Simplest way to typeset entire document in sans serif (Helvetica)

• How can I change the default text size?

KOMA manual section 3.4

• And the default size for header/footer notes?

KOMA manual section 3.2.1, also:

How to change the formatting/font of page numbers?

• 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?

When using a book class (memoir), text shifts from left to right on each page

For KOMA, load with option [twoside=false].

• 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?

List sections of chapter at beginning of that chapter

• How can I make the chapter information page have a different header note? (bigger font, different content)

Chapter 4 of the KOMA manual

• How can I include sample code?

How best to include programming source code in LaTeX documents?

• 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.

How to mark book paragraphs as note, warning, tip etc.?

How to insert code and graphic in textbox

New paragraph style

-
@Jasper: Allan should submit an answer for each question separately. –  xport Jun 14 '11 at 22:08
@Jasper et al. :-) Thanks for the kind words, but since most of the answers are links to existing answers, I'm happy for votes to go the original answerers anyway. This answer provides a nice example of just how much good information is already on the site. –  Alan Munn Jun 14 '11 at 22:55