Big double quotes
Hello, I am trying to reproduce as closely as possible the large double quotes in the attached file. Though the actual glyph of the double quotes is not important for me (I have gone through the glyphs for CM without any success!), I would like to keep the double quotes large to attract attention to the quote. So I have essentially two problems: 1. Get a close enough glyph. I tried standard double quotes and also tried to use ′′ (U+02033) with context name *m: doubleprime*. But it doesn't produce anything. Please let me know if I am doing anything wrong. 2. Whatever may be the glyph, make is large. I have tried *\quotation* environment but it enlarges the text as well. I didn't see any option for enlarging *only* the quotation marks in *typo-del.mkiv*. So I tried to enlarge them myself. However, this leaves a large interlinespace before the last sentence. I would be grateful for any suggestions though outright solutions won't go remiss. Devendra *MWE* \setupdelimitedtext [quotation] [style={\tfc}] \definefont [quotesStyle] [Serif at 20pt] \starttext %\getnamedglyphdirect{modern}{m: doubleprime} %\getnamedglyphdirect{modern}{second} {\quotesStyle \symbol[leftquotation]}This would be interesting.This would be interesting.This would be interesting.This would be interesting.This would be interesting.This would be interesting.This would be interesting.This would be interesting.This would be interesting.{\quotesStyle \symbol[rightquotation]} \blank \startquotation This is would be interesting. \stopquotation \stoptext
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
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 ___________________________________________________________________________________
participants (3)
-
Devendra Ghate
-
Marco Patzer
-
Wolfgang Schuster