Difference between revisions of "First Document"
Jump to navigation
Jump to search
(→Create a ConTeXt file: Many text editors do not recognise .tex filetype as file containing Context code. Vim recognises mkxl, mkiv and mkii, but not tex.) Tags: Mobile web edit Mobile edit |
|||
Line 2: | Line 2: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Modifying the output style == | == Modifying the output style == |
Revision as of 16:51, 14 April 2024
< First Document | Detailed Example | Basics >
Modifying the output style
It is possible to change the style of the output by using appropriate setup commands in the preamble. For example, to make the section titles bold and to use italic (rather than slanted) font for emphasized words, use
\setuphead[section][style=\bfa] \setupbodyfontenvironment[default][em=italic] \starttext \startsection[title={Testing ConTeXt}] This is my {\em first} ConTeXt document. \stopsection \stoptext
which gives