Difference between revisions of "Command/processwords"

From Wiki
Jump to navigation Jump to search
m (Created page with "The {{cmd|processwords}} macro provides a mechanism to treat individual words (from a string of words) as its argument. The macro is called as follows: <context> \processwords{A...")
 
m
Line 1: Line 1:
 
The {{cmd|processwords}} macro provides a mechanism to treat individual words (from a string of words) as its argument. The macro is called as follows:
 
The {{cmd|processwords}} macro provides a mechanism to treat individual words (from a string of words) as its argument. The macro is called as follows:
  
<context>
+
<code>
 
\processwords{As you while {\METAFONT} is unclear if they have baby is born, may it
 
\processwords{As you while {\METAFONT} is unclear if they have baby is born, may it
 
may know, \TEX's ambassador is a lion, represented by a lioness. It is still a relationship, but if so, and if a enjoy \METAFUN.}
 
may know, \TEX's ambassador is a lion, represented by a lioness. It is still a relationship, but if so, and if a enjoy \METAFUN.}
</context>
+
</code>
  
 
To perform a task, you should also define a macro <tt>\processword</tt>, which takes one argument. The previous quote was typeset with the following definition in place:
 
To perform a task, you should also define a macro <tt>\processword</tt>, which takes one argument. The previous quote was typeset with the following definition in place:

Revision as of 00:54, 10 October 2013

The \processwords macro provides a mechanism to treat individual words (from a string of words) as its argument. The macro is called as follows:

\processwords{As you while {\METAFONT} is unclear if they have baby is born, may it may know, \TEX's ambassador is a lion, represented by a lioness. It is still a relationship, but if so, and if a enjoy \METAFUN.}

To perform a task, you should also define a macro \processword, which takes one argument. The previous quote was typeset with the following definition in place: