Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Font Switching
(view source)
Revision as of 07:38, 5 April 2016
1,201 bytes added
,
07:38, 5 April 2016
m
mkiv → mkvi
{{cmd|em}} switches to slanted; and if the current font alternative is slanted,
{{cmd|em}} switches to normal.
<context>
\starttabulate[|l|f{\tf}l|f{\it}l|f{\sl}l|f{\bf}l|f{\bi}l|f{\bs}l|]
\NC \NC \tttf \tex{tf} \NC \tttf \tex{it} \NC \tttf \tex{sl} \NC
\tttf \tex{bf} \NC \tttf \tex{bi} \NC \tttf \tex{bs} \NC\NR
\NC \NC Text \NC Text \NC Text \NC
Text \NC Text \NC Text \NC\NR
\NC \tex{em} \NC \em Text \NC \em Text \NC \em Text \NC
\em Text \NC \em Text \NC \em Text \NC\NR
\NC \tex{boldface} \NC \boldface Text \NC \boldface Text \NC \boldface Text \NC
\boldface Text \NC \boldface Text \NC \boldface Text \NC\NR
\NC \tex{typeface} \NC \typeface Text \NC \typeface Text \NC \typeface Text \NC
\typeface Text \NC \typeface Text \NC \typeface Text \NC\NR
\NC \tex{swapface} \NC \swapface Text \NC \swapface Text \NC \swapface Text \NC
\swapface Text \NC \swapface Text \NC \swapface Text \NC\NR
\stoptabulate
</context>
ConTeXt uses the Latin Modern fonts by default; these fonts look
</texcode>
{{note| For Opentype fonts, italic correction needs to be set using
<texcode>\definefontfeature[default][default][itlc=yes]</texcode>}}
== Font sizes ==
|}
As defined in [[source:font-ini.
mkiv
mkvi
|font-ini]]. All sizes in pt, except factor.
\setuphead[section][style=bold]
</texcode>
(<code>\boldface</code> shown above is also defined to parallel the
<code>\typeface</code> and <code>\swapface</code> switches.)
== Complete font (bodyfont) change ==
* [[Example with normal and condensed font variants]]
* [[Linux Libertine on mkiv]]
[[Category:Fonts]]
Flying sheep
56
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Main
Main Page
Download and Install
Documentation
Mailing lists
Web resources
3rd party modules
Navigation
Basics
Bibliography
Color
Development
Fonts
Graphics
Interaction
Languages
Layout
Programming & DB
Sciences
Tables
Text Editors
Tools
XML
Indexes
ConTeXt commands
ConTeXt categories
Interaction
Recent changes
Random page
About this wiki
Help wiki editing
Source browser
ConTeXt Online
FAQ
Tools
Special pages
Printable version