Difference between revisions of "Command/ delimitedtext"

From Wiki
Jump to navigation Jump to search
Line 65: Line 65:
 
<cd:source file="typo-del.mkiv" originator="system"></cd:source>  
 
<cd:source file="typo-del.mkiv" originator="system"></cd:source>  
 
<cd:wikipage originator="system" page="Category:Language"></cd:wikipage>  
 
<cd:wikipage originator="system" page="Category:Language"></cd:wikipage>  
 +
<cd:commandref name="setupquote"></cd:commandref>
 +
<cd:commandref name="setupquotation"></cd:commandref>
 +
<cd:commandref name="setupblockquote"></cd:commandref>
 +
<cd:commandref name="setupaside"></cd:commandref>
 +
<cd:commandref name="setupspeech"></cd:commandref>
 
<cd:wikipage page="Quotes"></cd:wikipage>
 
<cd:wikipage page="Quotes"></cd:wikipage>
 
<cd:wikipage page="Basics#Basics_of_ConTeXt_text_formatting|Basics of text formatting"></cd:wikipage>
 
<cd:wikipage page="Basics#Basics_of_ConTeXt_text_formatting|Basics of text formatting"></cd:wikipage>
 
</cd:seealso>
 
</cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Revision as of 08:46, 21 August 2020


\delimitedtext

Summary

The instances of \delimitedtext add markup around a (usually short) block of text.

Instances

\quotationputs double quotation marks around the text inside the braces. The type of the quotation marks depends on the language setting
\quoteQuote text using the 'single quote' style of the current language.
\blockquote
\speech
\aside

Settings instance

\DELIMITEDTEXT[...]{...}
[...]language
{...}content

Description

These instances are defined by \definedelimitedtext and set up with \setupdelimitedtext. But \definedelimitedtext also creates a command \setupDELIMITEDTEXT for each of them, so you can set up the \quote command with \setupquote.

Examples

Example 1

\language[en]
\quotation{Hello world!}

\language[de]
\quotation{Hello world!}

Example 2

Getting quotation marks right can be quite \quote{hard}.

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: