On 2013–02–11 Devendra Ghate wrote:

> I am trying to reproduce as closely as possible the large double
> quotes in the attached file.

Here are two solutions, one uses the delimitedtext mechanism. The
quotation marks are not printed within the quoted text, though.
The second solution using the annotation module fixes that.

\usemodule
  [annotation]

\definesymbol
  [MyLeftQuote]
  [\raisebox-10pt\hbox\bgroup\getscaledglyph
    {2.5}     %% scale
    {Serif}   %% font
    {“}\egroup]

\definesymbol
  [MyRightQuote]
  [\raisebox-10pt\hbox\bgroup\getscaledglyph
    {2.5}     %% scale
    {Serif}   %% font
    {”}\egroup]

\setupdelimitedtext
  [quotation]
  [left={\symbol[MyLeftQuote]},
   right={\symbol[MyRightQuote]}]

\defineannotation
  [quotationTwo]
  [alternative=command,
   command=\QuotationCmd]

\define[2]\QuotationCmd
  {\dontleavehmode\symbol[MyLeftQuote]%%
   \placeannotationcontent\symbol[MyRightQuote]}

\starttext
  \startquotation
    \input ward
  \stopquotation

  \startquotationTwo
    \input ward
  \stopquotationTwo
\stoptext

Marco

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to