ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Offseting the baseline grid, and irregular columnsets
@ 2022-05-25 19:53 Stefan Nedeljkovic via ntg-context
  2022-05-27 15:00 ` Aditya Mahajan via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Nedeljkovic via ntg-context @ 2022-05-25 19:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Stefan Nedeljkovic


[-- Attachment #1.1: Type: text/plain, Size: 1346 bytes --]

Dear list,

My adventures into the world of grids continue. In the linked file
(slide_grid_overlay.pdf) there are two things I cannot yet achieve:

    1. I want the baseline grid to evenly (vertically) divide the text
area, but my code produces a smaller height of the first line and an
additional space at the bottom.
    2. The number of columns is 21.5, that is the first column is 0.5 units
wide and the rest are 1 unit wide.

How would I achieve this?
Here is what I got right now:

\definemeasure[xheight][0.1in]
\definemeasure[base][3\measured{xheight}]

\definepapersize[slide][width=80\measured{xheight},height=60\measured{xheight}]
\setuppapersize[slide]

\setupinterlinespace[line=\measure{base},top=1]

\setuplayout[
leftedge=\zeropoint,
rightedge=\measure{zero},
leftedgedistance=\zeropoint,
rightedgedistance=\zeropoint,
leftmargin=\zeropoint,
rightmargin=\zeropoint,
leftmargindistance=\zeropoint,
rightmargindistance=\zeropoint,
width=middle,
cutspace=2\measured{base},
backspace=2\measured{base},
topspace=2\measured{base},
header=\zeropoint,
height=middle,
bottomspace=2\measured{base},
footer=\zeropoint,
grid=yes,
columndistance=1pt,
columns=21.5]


\showframe
\showgrid

\starttext
\input tufte
\stoptext

Link to file:
https://drive.google.com/drive/folders/1KpYbDlukvSCirKkFvJICOX3wABl_83bW?usp=sharing

Sincerely,
Stefan

[-- Attachment #1.2: Type: text/html, Size: 1631 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Offseting the baseline grid, and irregular columnsets
  2022-05-25 19:53 Offseting the baseline grid, and irregular columnsets Stefan Nedeljkovic via ntg-context
@ 2022-05-27 15:00 ` Aditya Mahajan via ntg-context
  2022-05-27 16:03   ` Stefan Nedeljkovic via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Aditya Mahajan via ntg-context @ 2022-05-27 15:00 UTC (permalink / raw)
  To: Stefan Nedeljkovic via ntg-context; +Cc: Aditya Mahajan

On Wed, 25 May 2022, Stefan Nedeljkovic via ntg-context wrote:

> Dear list,
> 
> My adventures into the world of grids continue. In the linked file
> (slide_grid_overlay.pdf) there are two things I cannot yet achieve:
> 
>     1. I want the baseline grid to evenly (vertically) divide the text
> area, but my code produces a smaller height of the first line and an
> additional space at the bottom.

You did not set footerdistance to zero. So, that takes up some space.

>     2. The number of columns is 21.5, that is the first column is 0.5 units
> wide and the rest are 1 unit wide.

I believe that columns has to be an integer. Why do you want fractional columns? Columns are useful because you can say:

\setlayer[name][line=2,column=3]{....}

for absolute positioning of layers. So, you can always use:

\setlayer[name][line=2,column=3,x=0.5\measured{base}]{....}

to move everything to the right by 0.5 units.  

Another option is not to use columns at all, and simply do:

\setlayer[name][line=2,x=3.5\measured{base}]

which will place the layer at 3.5 units from the left edge of the text area. 

> Here is what I got right now:

Currently your textwidth is not a multiple of base units. I have tweaked the code below so that it is.

\definemeasure[xheight][0.1in]
\definemeasure[base][3\measured{xheight}]

% Since all distances are in terms of base units, specify the paper size in those
% terms as well.
\definepapersize[slide][width=26\measured{base},height=20\measured{base}]
\setuppapersize[slide]

\setupinterlinespace[line=\measure{base}]

\setuplayout
    [
      topspace=2\measured{base},
      header=\zeropoint,
      headerdistance=\zeropoint,
      height=middle, % Space for 20-4=16 lines
      footerdistance=\zeropoint,
      footer=\zeropoint,
      bottomspace=2\measured{base},
      %
      cutspace=2\measured{base},
      leftmargin=\zeropoint,
      leftmargindistance=\zeropoint,
      width=middle, % space for 26-4=22 col
      rightmargindistance=\zeropoint,
      rightmargin=\zeropoint,
      backspace=2\measured{base},
      %
      columns=22,
      columndistance=1pt,
      %
      grid=yes,
    ]


\showframe
\showgrid

\starttext
\input tufte
\stoptext


Aditya
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Offseting the baseline grid, and irregular columnsets
  2022-05-27 15:00 ` Aditya Mahajan via ntg-context
@ 2022-05-27 16:03   ` Stefan Nedeljkovic via ntg-context
  2022-05-27 16:15     ` Rik Kabel via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Nedeljkovic via ntg-context @ 2022-05-27 16:03 UTC (permalink / raw)
  To: Aditya Mahajan; +Cc: Stefan Nedeljkovic, Stefan Nedeljkovic via ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 3485 bytes --]

Thank you very much Aditya for looking into this. But I still have the same
baseline grid offset problem. Interestingly, when I remove the columns, the
text shifts downwards by two lines.
My code:

\definemeasure[xheight][0.1in]

\definemeasure[base][3\measured{xheight}]


% Since all distances are in terms of base units, specify the paper size in
those

% terms as well.

\definepapersize[slide][width=26\measured{base},height=20\measured{base}]

\setuppapersize[slide]


\setupinterlinespace[line=\measure{base}]


\setuplayout

[

topspace=2\measured{base},

header=\zeropoint,

headerdistance=\zeropoint,

height=middle, % Space for 20-4=16 lines

footerdistance=\zeropoint,

footer=\zeropoint,

bottomspace=2\measured{base},

%

cutspace=2\measured{base},

leftmargin=\zeropoint,

leftmargindistance=\zeropoint,

width=middle, % space for 26-4=22 col

rightmargindistance=\zeropoint,

rightmargin=\zeropoint,

backspace=2\measured{base}

grid=yes,

]



\showframe

\showgrid


\starttext

\input tufte

\stoptext


I'm attaching the pdf output.

On Fri, May 27, 2022 at 5:00 PM Aditya Mahajan <adityam@umich.edu> wrote:

> On Wed, 25 May 2022, Stefan Nedeljkovic via ntg-context wrote:
>
> > Dear list,
> >
> > My adventures into the world of grids continue. In the linked file
> > (slide_grid_overlay.pdf) there are two things I cannot yet achieve:
> >
> >     1. I want the baseline grid to evenly (vertically) divide the text
> > area, but my code produces a smaller height of the first line and an
> > additional space at the bottom.
>
> You did not set footerdistance to zero. So, that takes up some space.
>
> >     2. The number of columns is 21.5, that is the first column is 0.5
> units
> > wide and the rest are 1 unit wide.
>
> I believe that columns has to be an integer. Why do you want fractional
> columns? Columns are useful because you can say:
>
> \setlayer[name][line=2,column=3]{....}
>
> for absolute positioning of layers. So, you can always use:
>
> \setlayer[name][line=2,column=3,x=0.5\measured{base}]{....}
>
> to move everything to the right by 0.5 units.
>
> Another option is not to use columns at all, and simply do:
>
> \setlayer[name][line=2,x=3.5\measured{base}]
>
> which will place the layer at 3.5 units from the left edge of the text
> area.
>
> > Here is what I got right now:
>
> Currently your textwidth is not a multiple of base units. I have tweaked
> the code below so that it is.
>
> \definemeasure[xheight][0.1in]
> \definemeasure[base][3\measured{xheight}]
>
> % Since all distances are in terms of base units, specify the paper size
> in those
> % terms as well.
> \definepapersize[slide][width=26\measured{base},height=20\measured{base}]
> \setuppapersize[slide]
>
> \setupinterlinespace[line=\measure{base}]
>
> \setuplayout
>     [
>       topspace=2\measured{base},
>       header=\zeropoint,
>       headerdistance=\zeropoint,
>       height=middle, % Space for 20-4=16 lines
>       footerdistance=\zeropoint,
>       footer=\zeropoint,
>       bottomspace=2\measured{base},
>       %
>       cutspace=2\measured{base},
>       leftmargin=\zeropoint,
>       leftmargindistance=\zeropoint,
>       width=middle, % space for 26-4=22 col
>       rightmargindistance=\zeropoint,
>       rightmargin=\zeropoint,
>       backspace=2\measured{base},
>       %
>       columns=22,
>       columndistance=1pt,
>       %
>       grid=yes,
>     ]
>
>
> \showframe
> \showgrid
>
> \starttext
> \input tufte
> \stoptext
>
>
> Aditya
>

[-- Attachment #1.2: Type: text/html, Size: 6792 bytes --]

[-- Attachment #2: slide.pdf --]
[-- Type: application/pdf, Size: 13216 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Offseting the baseline grid, and irregular columnsets
  2022-05-27 16:03   ` Stefan Nedeljkovic via ntg-context
@ 2022-05-27 16:15     ` Rik Kabel via ntg-context
  2022-05-27 16:48       ` Stefan Nedeljkovic via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Rik Kabel via ntg-context @ 2022-05-27 16:15 UTC (permalink / raw)
  To: ntg-context; +Cc: Rik Kabel


[-- Attachment #1.1: Type: text/plain, Size: 4570 bytes --]

You left out the comma after the backspace setting. WIth that in, all is 
well.

On 2022-05-27 12:03, Stefan Nedeljkovic via ntg-context wrote:
> Thank you very much Aditya for looking into this. But I still have the 
> same baseline grid offset problem. Interestingly, when I remove the 
> columns, the text shifts downwards by two lines.
> My code:
>
> \definemeasure[xheight][0.1in]
>
> \definemeasure[base][3\measured{xheight}]
>
> % Since all distances are in terms of base units, specify the paper 
> size in those
>
> % terms as well.
>
> \definepapersize[slide][width=26\measured{base},height=20\measured{base}]
>
> \setuppapersize[slide]
>
> \setupinterlinespace[line=\measure{base}]
>
> \setuplayout
>
> [
>
> topspace=2\measured{base},
>
> header=\zeropoint,
>
> headerdistance=\zeropoint,
>
> height=middle, % Space for 20-4=16 lines
>
> footerdistance=\zeropoint,
>
> footer=\zeropoint,
>
> bottomspace=2\measured{base},
>
> %
>
> cutspace=2\measured{base},
>
> leftmargin=\zeropoint,
>
> leftmargindistance=\zeropoint,
>
> width=middle, % space for 26-4=22 col
>
> rightmargindistance=\zeropoint,
>
> rightmargin=\zeropoint,
>
> backspace=2\measured{base}
>
> grid=yes,
>
> ]
>
> \showframe
>
> \showgrid
>
> \starttext
>
> \input tufte
>
> \stoptext
>
> I'm attaching the pdf output.
>
>
> On Fri, May 27, 2022 at 5:00 PM Aditya Mahajan <adityam@umich.edu> wrote:
>
>     On Wed, 25 May 2022, Stefan Nedeljkovic via ntg-context wrote:
>
>     > Dear list,
>     >
>     > My adventures into the world of grids continue. In the linked file
>     > (slide_grid_overlay.pdf) there are two things I cannot yet achieve:
>     >
>     >     1. I want the baseline grid to evenly (vertically) divide
>     the text
>     > area, but my code produces a smaller height of the first line and an
>     > additional space at the bottom.
>
>     You did not set footerdistance to zero. So, that takes up some space.
>
>     >     2. The number of columns is 21.5, that is the first column
>     is 0.5 units
>     > wide and the rest are 1 unit wide.
>
>     I believe that columns has to be an integer. Why do you want
>     fractional columns? Columns are useful because you can say:
>
>     \setlayer[name][line=2,column=3]{....}
>
>     for absolute positioning of layers. So, you can always use:
>
>     \setlayer[name][line=2,column=3,x=0.5\measured{base}]{....}
>
>     to move everything to the right by 0.5 units.
>
>     Another option is not to use columns at all, and simply do:
>
>     \setlayer[name][line=2,x=3.5\measured{base}]
>
>     which will place the layer at 3.5 units from the left edge of the
>     text area.
>
>     > Here is what I got right now:
>
>     Currently your textwidth is not a multiple of base units. I have
>     tweaked the code below so that it is.
>
>     \definemeasure[xheight][0.1in]
>     \definemeasure[base][3\measured{xheight}]
>
>     % Since all distances are in terms of base units, specify the
>     paper size in those
>     % terms as well.
>     \definepapersize[slide][width=26\measured{base},height=20\measured{base}]
>     \setuppapersize[slide]
>
>     \setupinterlinespace[line=\measure{base}]
>
>     \setuplayout
>         [
>           topspace=2\measured{base},
>           header=\zeropoint,
>           headerdistance=\zeropoint,
>           height=middle, % Space for 20-4=16 lines
>           footerdistance=\zeropoint,
>           footer=\zeropoint,
>           bottomspace=2\measured{base},
>           %
>           cutspace=2\measured{base},
>           leftmargin=\zeropoint,
>           leftmargindistance=\zeropoint,
>           width=middle, % space for 26-4=22 col
>           rightmargindistance=\zeropoint,
>           rightmargin=\zeropoint,
>           backspace=2\measured{base},
>           %
>           columns=22,
>           columndistance=1pt,
>           %
>           grid=yes,
>         ]
>
>
>     \showframe
>     \showgrid
>
>     \starttext
>     \input tufte
>     \stoptext
>
>
>     Aditya
>
>
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  :https://bitbucket.org/phg/context-mirror/commits/
> wiki     :http://contextgarden.net
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 9793 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Offseting the baseline grid, and irregular columnsets
  2022-05-27 16:15     ` Rik Kabel via ntg-context
@ 2022-05-27 16:48       ` Stefan Nedeljkovic via ntg-context
  2022-05-27 20:31         ` Aditya Mahajan via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Nedeljkovic via ntg-context @ 2022-05-27 16:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Stefan Nedeljkovic


[-- Attachment #1.1: Type: text/plain, Size: 5045 bytes --]

Thanks Rik, that fixed the issue with at which line the text begins, but I
still get the grid offset.

On Fri, May 27, 2022 at 6:33 PM Rik Kabel via ntg-context <
ntg-context@ntg.nl> wrote:

> You left out the comma after the backspace setting. WIth that in, all is
> well.
> On 2022-05-27 12:03, Stefan Nedeljkovic via ntg-context wrote:
>
> Thank you very much Aditya for looking into this. But I still have the
> same baseline grid offset problem. Interestingly, when I remove the
> columns, the text shifts downwards by two lines.
> My code:
>
> \definemeasure[xheight][0.1in]
>
> \definemeasure[base][3\measured{xheight}]
>
> % Since all distances are in terms of base units, specify the paper size
> in those
>
> % terms as well.
>
> \definepapersize[slide][width=26\measured{base},height=20\measured{base}]
>
> \setuppapersize[slide]
>
> \setupinterlinespace[line=\measure{base}]
>
> \setuplayout
>
> [
>
> topspace=2\measured{base},
>
> header=\zeropoint,
>
> headerdistance=\zeropoint,
>
> height=middle, % Space for 20-4=16 lines
>
> footerdistance=\zeropoint,
>
> footer=\zeropoint,
>
> bottomspace=2\measured{base},
>
> %
>
> cutspace=2\measured{base},
>
> leftmargin=\zeropoint,
>
> leftmargindistance=\zeropoint,
>
> width=middle, % space for 26-4=22 col
>
> rightmargindistance=\zeropoint,
>
> rightmargin=\zeropoint,
>
> backspace=2\measured{base}
>
> grid=yes,
>
> ]
>
> \showframe
>
> \showgrid
>
> \starttext
>
> \input tufte
>
> \stoptext
>
> I'm attaching the pdf output.
>
> On Fri, May 27, 2022 at 5:00 PM Aditya Mahajan <adityam@umich.edu> wrote:
>
>> On Wed, 25 May 2022, Stefan Nedeljkovic via ntg-context wrote:
>>
>> > Dear list,
>> >
>> > My adventures into the world of grids continue. In the linked file
>> > (slide_grid_overlay.pdf) there are two things I cannot yet achieve:
>> >
>> >     1. I want the baseline grid to evenly (vertically) divide the text
>> > area, but my code produces a smaller height of the first line and an
>> > additional space at the bottom.
>>
>> You did not set footerdistance to zero. So, that takes up some space.
>>
>> >     2. The number of columns is 21.5, that is the first column is 0.5
>> units
>> > wide and the rest are 1 unit wide.
>>
>> I believe that columns has to be an integer. Why do you want fractional
>> columns? Columns are useful because you can say:
>>
>> \setlayer[name][line=2,column=3]{....}
>>
>> for absolute positioning of layers. So, you can always use:
>>
>> \setlayer[name][line=2,column=3,x=0.5\measured{base}]{....}
>>
>> to move everything to the right by 0.5 units.
>>
>> Another option is not to use columns at all, and simply do:
>>
>> \setlayer[name][line=2,x=3.5\measured{base}]
>>
>> which will place the layer at 3.5 units from the left edge of the text
>> area.
>>
>> > Here is what I got right now:
>>
>> Currently your textwidth is not a multiple of base units. I have tweaked
>> the code below so that it is.
>>
>> \definemeasure[xheight][0.1in]
>> \definemeasure[base][3\measured{xheight}]
>>
>> % Since all distances are in terms of base units, specify the paper size
>> in those
>> % terms as well.
>> \definepapersize[slide][width=26\measured{base},height=20\measured{base}]
>> \setuppapersize[slide]
>>
>> \setupinterlinespace[line=\measure{base}]
>>
>> \setuplayout
>>     [
>>       topspace=2\measured{base},
>>       header=\zeropoint,
>>       headerdistance=\zeropoint,
>>       height=middle, % Space for 20-4=16 lines
>>       footerdistance=\zeropoint,
>>       footer=\zeropoint,
>>       bottomspace=2\measured{base},
>>       %
>>       cutspace=2\measured{base},
>>       leftmargin=\zeropoint,
>>       leftmargindistance=\zeropoint,
>>       width=middle, % space for 26-4=22 col
>>       rightmargindistance=\zeropoint,
>>       rightmargin=\zeropoint,
>>       backspace=2\measured{base},
>>       %
>>       columns=22,
>>       columndistance=1pt,
>>       %
>>       grid=yes,
>>     ]
>>
>>
>> \showframe
>> \showgrid
>>
>> \starttext
>> \input tufte
>> \stoptext
>>
>>
>> Aditya
>>
>
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>
>
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 10974 bytes --]

[-- Attachment #2: slide.pdf --]
[-- Type: application/pdf, Size: 13212 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Offseting the baseline grid, and irregular columnsets
  2022-05-27 16:48       ` Stefan Nedeljkovic via ntg-context
@ 2022-05-27 20:31         ` Aditya Mahajan via ntg-context
  2022-05-28  4:48           ` Stefan Nedeljkovic via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Aditya Mahajan via ntg-context @ 2022-05-27 20:31 UTC (permalink / raw)
  To: Stefan Nedeljkovic via ntg-context; +Cc: Aditya Mahajan

On Fri, 27 May 2022, Stefan Nedeljkovic via ntg-context wrote:

> Thanks Rik, that fixed the issue with at which line the text begins, but I
> still get the grid offset.

What do you mean by grid offset?

Aditya
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Offseting the baseline grid, and irregular columnsets
  2022-05-27 20:31         ` Aditya Mahajan via ntg-context
@ 2022-05-28  4:48           ` Stefan Nedeljkovic via ntg-context
  0 siblings, 0 replies; 7+ messages in thread
From: Stefan Nedeljkovic via ntg-context @ 2022-05-28  4:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Stefan Nedeljkovic


[-- Attachment #1.1: Type: text/plain, Size: 1160 bytes --]

So as I understand there are two grids: The baseline grid, and the main
grid. The baseline grid is shifted upward by an amount called depth in
order to accommodate descenders. I want to be able to control that
parameter. That is the space between the last red line (no 16) and the
bottom of the text frame (black line).

On Fri, May 27, 2022 at 10:32 PM Aditya Mahajan via ntg-context <
ntg-context@ntg.nl> wrote:

> On Fri, 27 May 2022, Stefan Nedeljkovic via ntg-context wrote:
>
> > Thanks Rik, that fixed the issue with at which line the text begins, but
> I
> > still get the grid offset.
>
> What do you mean by grid offset?
>
> Aditya
>
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 1956 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-28  4:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25 19:53 Offseting the baseline grid, and irregular columnsets Stefan Nedeljkovic via ntg-context
2022-05-27 15:00 ` Aditya Mahajan via ntg-context
2022-05-27 16:03   ` Stefan Nedeljkovic via ntg-context
2022-05-27 16:15     ` Rik Kabel via ntg-context
2022-05-27 16:48       ` Stefan Nedeljkovic via ntg-context
2022-05-27 20:31         ` Aditya Mahajan via ntg-context
2022-05-28  4:48           ` Stefan Nedeljkovic via ntg-context

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).