Difference between revisions of "Command/ labeltexts"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \<i>labeltexts</i>")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<?xml version='1.0'?>
 
<!-- this file was generated on 2020-08-20T09:05 -->
 
 
<cd:commandgroup generated="yes" name="labeltexts" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
 
<cd:commandgroup generated="yes" name="labeltexts" 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>\<i>label</i>texts</tt> are used for accessing both parts of a label that is split into left and right parts.</cd:shortdesc>
The instances of  <tt>\<i>labeltexts</i></tt> are used for ...
 
</cd:shortdesc>
 
 
<cd:sequence>
 
<cd:sequence>
 
     <cd:instance value="label"></cd:instance>
 
     <cd:instance value="label"></cd:instance>
Line 29: Line 25:
 
   </cd:command>
 
   </cd:command>
 
</cd:variants>
 
</cd:variants>
<cd:description>
+
<cd:description>Some labels are split into left and right parts, because in some languages the labeling for an object is not a simple string. This command fetches both parts, and wraps them around the text argument.</cd:description>
<!-- the long description of the command goes here -->
+
<cd:examples></cd:examples>
</cd:description>
+
<cd:notes></cd:notes>
<cd:examples>
 
<!--  command example(s)
 
<cd:example title="">
 
</cd:example>
 
-->
 
</cd:examples>
 
<cd:notes>
 
<!--  this is for special remarks that do not fit elsewhere, like discovered bugs in specific context versions
 
<cd:note author="..." date="...">
 
</cd:note>
 
-->
 
</cd:notes>
 
 
<cd:seealso>
 
<cd:seealso>
<!-- one or more of these:
 
<cd:commandref name="xx"></cd:commandref>
 
<cd:wikipage  page="xx"></cd:wikipage>
 
<cd:url        url="https://xx"></cd:url>
 
<cd:manual    pdf="xx"></cd:manual>
 
<cd:source    file="xx"></cd:source>
 
-->
 
 
<cd:commandref name="_copylabeltext" originator="system"></cd:commandref>
 
<cd:commandref name="_copylabeltext" originator="system"></cd:commandref>
 
<cd:commandref name="_currentlabel" originator="system"></cd:commandref>
 
<cd:commandref name="_currentlabel" originator="system"></cd:commandref>
Line 63: Line 40:
 
<cd:commandref name="_startlabeltext" originator="system"></cd:commandref>
 
<cd:commandref name="_startlabeltext" originator="system"></cd:commandref>
 
<cd:commandref name="definelabelclass" originator="system"></cd:commandref>
 
<cd:commandref name="definelabelclass" originator="system"></cd:commandref>
<cd:source file="lang-lab.mkiv" originator="system"></cd:source>  
+
<cd:source file="lang-lab.mkiv" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Language"></cd:wikipage>  
+
<cd:wikipage originator="system" page="Category:Language"></cd:wikipage></cd:seealso>
</cd:seealso>
 
 
</cd:commandgroup>
 
</cd:commandgroup>

Latest revision as of 20:32, 30 August 2020


\labeltexts

Summary

The instances of \labeltexts are used for accessing both parts of a label that is split into left and right parts.

Instances

\headtexts
\labeltexts
\mathlabeltexts

Settings instance

\LABELtexts{...}{...}
{...}key
{...}text

Description

Some labels are split into left and right parts, because in some languages the labeling for an object is not a simple string. This command fetches both parts, and wraps them around the text argument.

Examples

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: