On 02/11/2013 11:29 PM, Marco Patzer wrote:
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]} There is an extra space before the right quote. So I added *\hskip-5pt* before \symbol[MyRightQuote].
Thank you for the solution. Regards, Devendra
\starttext \startquotation \input ward \stopquotation
\startquotationTwo \input ward \stopquotationTwo \stoptext
Marco
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / 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 ___________________________________________________________________________________