* Big double quotes
@ 2013-02-11 17:16 Devendra Ghate
2013-02-11 17:59 ` Marco Patzer
0 siblings, 1 reply; 4+ messages in thread
From: Devendra Ghate @ 2013-02-11 17:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 1629 bytes --]
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
[-- Attachment #2: quote-block-example.png --]
[-- Type: image/png, Size: 12679 bytes --]
[-- Attachment #3: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Big double quotes
2013-02-11 17:16 Big double quotes Devendra Ghate
@ 2013-02-11 17:59 ` Marco Patzer
2013-02-11 19:21 ` Devendra Ghate
0 siblings, 1 reply; 4+ messages in thread
From: Marco Patzer @ 2013-02-11 17:59 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1127 bytes --]
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 #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Big double quotes
2013-02-11 17:59 ` Marco Patzer
@ 2013-02-11 19:21 ` Devendra Ghate
2013-02-11 19:50 ` Wolfgang Schuster
0 siblings, 1 reply; 4+ messages in thread
From: Devendra Ghate @ 2013-02-11 19:21 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1885 bytes --]
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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 3002 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-11 19:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-11 17:16 Big double quotes Devendra Ghate
2013-02-11 17:59 ` Marco Patzer
2013-02-11 19:21 ` Devendra Ghate
2013-02-11 19:50 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).