Changes

Jump to navigation Jump to search
59 bytes added ,  14:58, 22 October 2020
m
Minor tweaks to the section titles
You can think of the code here this way: ConTeXt’s way of formatting the entire text of the document is called {{code|text}}, so to apply that way of formatting you enclose the document text in {{cmd|starttext}} {{cmd|stoptext}}.
= Starting to customize Customizing things : paper size, page numbering, and paragraph indenting =
When you compile this document, you’ll probably immediately see some things that you want to change. For example, the default paper size in ConTeXt is A4. This works well for most of the world, but if you’re in the United States, you might prefer your paper size to be letter. That’s easy enough. The way that paper is sized for a document in ConTeXt is called {{code|papersize}}. You could use {{cmd|definepapersize}} to define a {{code|letter}} configuration for {{code|papersize}}, but the page size {{code|letter}} is already built-in, so you don’t need to do that. So since you want to configure {{code|papersize}} globally for the entire document, use {{cmd|setuppapersize|[letter]}} at the start of your document:
Note that ConTeXt does not have a {{code|\startindenting}} or {{code|\stopindenting}} command. Instead, the named indenting configurations that you have defined with {{cmd|defineindenting}} can be used in other commands that define regions that can have indenting.
= Custom Further customization: highlighting =
For another example of what you might want to customize, suppose that in a book you are writing, you want to italicize terms that you will define later in the book. At first glance, it might be tempting just to italicize each one individually, as in:
<context source="yes" text="which produces">
53

edits

Navigation menu