Difference between revisions of "Command/ labellanguage"

From Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
<cd:commandgroup generated="yes" name="labellanguage" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
 
<cd:commandgroup generated="yes" name="labellanguage" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc><!-- a short command summary goes here -->
+
<cd:shortdesc>The instances of  <tt>\<i>label</i>language</tt> query a label language.</cd:shortdesc>
The instances of  <tt>\<i>label</i>language</tt> are used for ...
 
</cd:shortdesc>
 
 
<cd:sequence>
 
<cd:sequence>
 
     <cd:instance value="label"></cd:instance>
 
     <cd:instance value="label"></cd:instance>
Line 22: Line 20:
 
   </cd:command>
 
   </cd:command>
 
</cd:variants>
 
</cd:variants>
<cd:description><!-- the long description of the command goes here -->
+
<cd:description>These macros return the current two-letter language identifier of the associated label.
 
</cd:description>
 
</cd:description>
<cd:examples></cd:examples>
+
<cd:examples><cd:example title=""><context source="yes">
 +
The current head label language = \headlanguage
 +
</context>
 +
</cd:example></cd:examples>
 
<cd:notes></cd:notes>
 
<cd:notes></cd:notes>
 
<cd:seealso>
 
<cd:seealso>

Latest revision as of 19:11, 28 August 2020


\labellanguage

Summary

The instances of \labellanguage query a label language.

Instances

\headlanguage
\labellanguage
\mathlabellanguage
\taglabellanguage
\unitlanguage
\operatorlanguage
\prefixlanguage
\suffixlanguage
\btxlabellanguage

Description

These macros return the current two-letter language identifier of the associated label.

Examples

Example 1

The current head label language = \headlanguage

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: