Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

So I am writing a book on AWK, and the first \chapter is called "Line Spacing". In this chapter I a dozen of various line spacing methods, such as

1. Double-space a file.
2. Triple-space a file,
etc.

I am wondering how can I apply formatting to these methods so that each one of them looked like sub-title (smaller text, bold and numbered)?

Here is what I mean, so I have a \chapter called "Line Spacing" and then I wish "1. Double-space a file." to be also in bold but smaller font so it looks like a sub-title,

Chapter 1: Line Spacing

... intro about what line spacing is ...

1. Double-space a file.

awk '1; { print "" }'

. . .

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

In your first question, you mentioned that you were going to take a look at the memoir document class. If you are still working with this class, then see Chapeter 6 of the Memoir manual "Document divisions". This chapter explains how to customize the look of all 8 levels of Memoir document divisions from \book to \subparagraph.

share|improve this answer
    
That's true, I am using memoir. Thanks for pointing me to Chapter 6, reading it right now. –  Peteris Krumins Apr 29 '11 at 7:35
    
Do you know if there are any templates for memoir? It's very hard to understand what commands I should use and how to get it done. I'd rather start with a template and then customize it as I learn to make faster progress. –  Peteris Krumins Apr 29 '11 at 8:00
    
@ Peteris Krumins. Yes there are templates althouth they may not be what you are searching for. They are called headstyles. Look at the manual at section 6.9 Are you sure that you don't mean \section{Double-space a file.}? If that is what you mean check this question –  pmav99 Apr 29 '11 at 8:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.