Difference between revisions of "Command/ startdescription"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \start<i>description</i> ... \stop<i>description</i>") |
|||
Line 1: | Line 1: | ||
− | |||
− | |||
<cd:commandgroup generated="yes" name="description" type="environment" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | <cd:commandgroup generated="yes" name="description" type="environment" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | ||
− | <cd:shortdesc> | + | <cd:shortdesc><!-- a short command summary goes here --> |
− | <!-- a short command summary goes here --> | + | The instances of <tt>\start<i>description</i> ... \stop<i>description</i></tt> are defined by {{cmd||definedescription}} |
− | The instances of <tt>\start<i>description</i> ... \stop<i>description</i></tt> are | ||
</cd:shortdesc> | </cd:shortdesc> | ||
<cd:sequence> | <cd:sequence> | ||
Line 46: | Line 43: | ||
</cd:command> | </cd:command> | ||
</cd:variants> | </cd:variants> | ||
− | <cd:description> | + | <cd:description><!-- the long description of the command goes here --> |
− | <!-- the long description of the command goes here --> | ||
</cd:description> | </cd:description> | ||
− | <cd:examples> | + | <cd:examples><cd:example title=""><context source="yes"> |
− | + | \definedescription | |
− | <cd:example title=""> | + | [concept] |
− | < | + | [alternative=serried, |
− | + | headstyle=bold, | |
− | </ | + | width=broad] |
− | <cd: | + | |
− | + | \concept{First} Text for the first concept | |
− | <cd: | + | |
− | < | + | \startconcept{Second} |
− | + | Longer text for the second concept | |
− | </cd:notes> | + | \stopconcept |
+ | </context></cd:example></cd:examples> | ||
+ | <cd:notes></cd:notes> | ||
<cd:seealso> | <cd:seealso> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<cd:commandref name="_description" originator="system"></cd:commandref> | <cd:commandref name="_description" originator="system"></cd:commandref> | ||
<cd:commandref name="definedescription" originator="system"></cd:commandref> | <cd:commandref name="definedescription" originator="system"></cd:commandref> | ||
<cd:commandref name="setupdescription" originator="system"></cd:commandref> | <cd:commandref name="setupdescription" originator="system"></cd:commandref> | ||
− | <cd:source file="strc-des.mkvi" originator="system"></cd:source> | + | <cd:source file="strc-des.mkvi" originator="system"></cd:source> |
− | <cd:wikipage originator="system" page="Category:Structure"></cd:wikipage> | + | <cd:wikipage originator="system" page="Category:Structure"></cd:wikipage> |
− | </cd:seealso> | + | <cd:wikipage page="Descriptions"></cd:wikipage></cd:seealso> |
</cd:commandgroup> | </cd:commandgroup> |
Revision as of 11:36, 30 August 2020
Contents
\startdescription ... \stopdescription
Summary
The instances of \startdescription ... \stopdescription are defined by \definedescription
Settings example
\startDESCRIPTION[...=...,...] ... \stopDESCRIPTION | |
title | text |
bookmark | text |
list | text |
reference | reference |
Settings example:title
Description
Examples
Example 1
\definedescription [concept] [alternative=serried, headstyle=bold, width=broad] \concept{First} Text for the first concept \startconcept{Second} Longer text for the second concept \stopconcept