Difference between revisions of "Command/appendix"

From Wiki
Jump to navigation Jump to search
m (Text replace - "[[Category:Commands|" to "== ConTeXt-Forum == {{Forum|{{SUBPAGENAME}}}} [[Category:Commands|")
 
(7 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>appendix</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 25: Line 28:
 
No longer exists in Mk IV. Instead use
 
No longer exists in Mk IV. Instead use
  
<texcode>
+
<context mode=mkiv source=yes text=produces>
 +
\setuppapersize[A5]
 +
 
 +
% When writing out the appendix title, place the name
 +
% APPENDIX before the appendix letter
 +
\setuplabeltext[appendix=APPENDIX~]
 +
 
 +
% Add the APPENDIX label defined above to the
 +
% table of contents title. The width=fit makes the
 +
% label, number, and title fit on the TOC line.
 +
% The stopper adds spaces between label+number and the
 +
% title.
 +
\setuplist[chapter][label=yes,width=fit, stopper=~~]
 +
 
 
\startbodymatter
 
\startbodymatter
 +
 +
TABLE OF CONTENTS
 +
\placecontent
 +
 +
--------------------------------
 
\chapter{Regular chapter}
 
\chapter{Regular chapter}
 
% ...
 
% ...
Line 32: Line 53:
  
 
\startappendices
 
\startappendices
\chapter{Appendix: Some stuff}
+
\chapter{Some stuff}
 
% ...
 
% ...
 
\stopappendices
 
\stopappendices
</texcode>
+
</context>
  
 
== Example ==
 
== Example ==
Line 41: Line 62:
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
<!-- something like {{cmd|goto}} -->
  
== ConTeXt-Forum ==
+
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Commands|appendix]]
+
[[Category:Command/Sections|appendix]]

Latest revision as of 19:24, 13 January 2020

\appendix

Syntax (autogenerated)


Syntax

\appendix[ref,ref,...]{...}
[ref,ref,...]
{...} text


Description

Starts appendix part of a book.

No longer exists in Mk IV. Instead use

\setuppapersize[A5]

% When writing out the appendix title, place the name 
% APPENDIX before the appendix letter
\setuplabeltext[appendix=APPENDIX~]

% Add the APPENDIX label defined above to the 
% table of contents title. The width=fit makes the
% label, number, and title fit on the TOC line.
% The stopper adds spaces between label+number and the
% title.
\setuplist[chapter][label=yes,width=fit, stopper=~~]

\startbodymatter

TABLE OF CONTENTS
\placecontent

--------------------------------
\chapter{Regular chapter}
% ...
\stopbodymatter

\startappendices
\chapter{Some stuff}
% ...
\stopappendices

produces

Example

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: