ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \placefigure[margin] but in left margin?
@ 2013-01-03 12:48 Mikael P. Sundqvist
  2013-01-03 14:58 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Mikael P. Sundqvist @ 2013-01-03 12:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Dear list,

I want to have the effect I get with \placefigure[margin] but I want it
_always_ in the left margin instead of the right margin where it ends up by
default. I have tried several other keys but with leftmargin, inleft the
figure is not put in the top of the page, "independent of the text". Can I
fix this with some setup?

Small test file:

\starttext
\input tufte

\placefigure[leftmargin][none]{With the key
leftmargin}{\externalfigure[cow][width=1cm]}
\input tufte

\placefigure[inleft][none]{With the key
inleft}{\externalfigure[cow][width=1cm]}
\input tufte

\placefigure[margin][none]{With the key
margin}{\externalfigure[cow][width=1cm]}
\input tufte
% This is the way I want it, but I want it in the left margin instead
\stoptext

[-- Attachment #1.2: Type: text/html, Size: 823 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] 5+ messages in thread

* Re: \placefigure[margin] but in left margin?
  2013-01-03 12:48 \placefigure[margin] but in left margin? Mikael P. Sundqvist
@ 2013-01-03 14:58 ` Wolfgang Schuster
  2013-01-03 16:13   ` Mikael P. Sundqvist
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2013-01-03 14:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 03.01.2013 um 13:48 schrieb Mikael P. Sundqvist <mickep@gmail.com>:

> Dear list,
> 
> I want to have the effect I get with \placefigure[margin] but I want it _always_ in the left margin instead of the right margin where it ends up by default. I have tried several other keys but with leftmargin, inleft the figure is not put in the top of the page, "independent of the text". Can I fix this with some setup?
> 
> Small test file:

\setupmarginblocks
  [location=left]

> \starttext
> \input tufte
> 
> \placefigure[leftmargin][none]{With the key leftmargin}{\externalfigure[cow][width=1cm]}
> \input tufte
> 
> \placefigure[inleft][none]{With the key inleft}{\externalfigure[cow][width=1cm]}
> \input tufte
> 
> \placefigure[margin][none]{With the key margin}{\externalfigure[cow][width=1cm]}
> \input tufte
> % This is the way I want it, but I want it in the left margin instead
> \stoptext

Wolfgang

___________________________________________________________________________________
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] 5+ messages in thread

* Re: \placefigure[margin] but in left margin?
  2013-01-03 14:58 ` Wolfgang Schuster
@ 2013-01-03 16:13   ` Mikael P. Sundqvist
  2013-01-03 16:16     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Mikael P. Sundqvist @ 2013-01-03 16:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Thu, Jan 3, 2013 at 3:58 PM, Wolfgang Schuster <
wolfgang.schuster@gmail.com> wrote:

>
> Am 03.01.2013 um 13:48 schrieb Mikael P. Sundqvist <mickep@gmail.com>:
>
> > Dear list,
> >
> > I want to have the effect I get with \placefigure[margin] but I want it
> _always_ in the left margin instead of the right margin where it ends up by
> default. I have tried several other keys but with leftmargin, inleft the
> figure is not put in the top of the page, "independent of the text". Can I
> fix this with some setup?
> >
> > Small test file:
>
> \setupmarginblocks
>   [location=left]
>
> > \starttext
> > \input tufte
> >
> > \placefigure[leftmargin][none]{With the key
> leftmargin}{\externalfigure[cow][width=1cm]}
> > \input tufte
> >
> > \placefigure[inleft][none]{With the key
> inleft}{\externalfigure[cow][width=1cm]}
> > \input tufte
> >
> > \placefigure[margin][none]{With the key
> margin}{\externalfigure[cow][width=1cm]}
> > \input tufte
> > % This is the way I want it, but I want it in the left margin instead
> > \stoptext
>
> Wolfgang
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>


Thank you very much for your fast reply, Wolfgang. That is what I looked
for. However, a new problem appeared now. The example file

\setuppapersize[A5][A5]

\setuplayout[
footer=0cm,
header=0.6cm,
headerdistance=0.2cm,
footerdistance=0cm,
topspace=1cm,
backspace=4cm,
leftmargin=3cm,
rightmargin=0cm,
leftmargindistance=0.5cm,
height=fit,
width=fit,
]

\setupmarginblocks[location=left]


\starttext
\showlayout

\placefigure[margin][none]{With the key
margin}{\externalfigure[cow][width=3cm]}
\input tufte

\stoptext

does not work as intended for me. The layout looks OK if I read the
\showlayout output correctly, but the cow is not put entirely in the
margin, but sticks out outside the page. I attach the output of the code
above.

Best regards, Mikael

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

[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 30158 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] 5+ messages in thread

* Re: \placefigure[margin] but in left margin?
  2013-01-03 16:13   ` Mikael P. Sundqvist
@ 2013-01-03 16:16     ` Wolfgang Schuster
  2013-01-03 16:22       ` Mikael P. Sundqvist
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2013-01-03 16:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Am 03.01.2013 um 17:13 schrieb "Mikael P. Sundqvist" <mickep@gmail.com>:

> On Thu, Jan 3, 2013 at 3:58 PM, Wolfgang Schuster <wolfgang.schuster@gmail.com> wrote:
> 
> Am 03.01.2013 um 13:48 schrieb Mikael P. Sundqvist <mickep@gmail.com>:
> 
> > Dear list,
> >
> > I want to have the effect I get with \placefigure[margin] but I want it _always_ in the left margin instead of the right margin where it ends up by default. I have tried several other keys but with leftmargin, inleft the figure is not put in the top of the page, "independent of the text". Can I fix this with some setup?
> >
> > Small test file:
> 
> \setupmarginblocks
>   [location=left]
> 
> > \starttext
> > \input tufte
> >
> > \placefigure[leftmargin][none]{With the key leftmargin}{\externalfigure[cow][width=1cm]}
> > \input tufte
> >
> > \placefigure[inleft][none]{With the key inleft}{\externalfigure[cow][width=1cm]}
> > \input tufte
> >
> > \placefigure[margin][none]{With the key margin}{\externalfigure[cow][width=1cm]}
> > \input tufte
> > % This is the way I want it, but I want it in the left margin instead
> > \stoptext
> 
> Wolfgang
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> 
> 
> Thank you very much for your fast reply, Wolfgang. That is what I looked for. However, a new problem appeared now. The example file
> 
> \setuppapersize[A5][A5]
> 
> \setuplayout[
> footer=0cm,
> header=0.6cm,
> headerdistance=0.2cm,
> footerdistance=0cm,
> topspace=1cm,
> backspace=4cm,
> leftmargin=3cm,
> rightmargin=0cm,
> leftmargindistance=0.5cm,
> height=fit,
> width=fit,
> ]
> 
> \setupmarginblocks[location=left]

\setupmarginblocks
  [location=left,
   width=\leftmarginwidth]

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 3438 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] 5+ messages in thread

* Re: \placefigure[margin] but in left margin?
  2013-01-03 16:16     ` Wolfgang Schuster
@ 2013-01-03 16:22       ` Mikael P. Sundqvist
  0 siblings, 0 replies; 5+ messages in thread
From: Mikael P. Sundqvist @ 2013-01-03 16:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Thu, Jan 3, 2013 at 5:16 PM, Wolfgang Schuster <
wolfgang.schuster@gmail.com> wrote:

>
> Am 03.01.2013 um 17:13 schrieb "Mikael P. Sundqvist" <mickep@gmail.com>:
>
> On Thu, Jan 3, 2013 at 3:58 PM, Wolfgang Schuster <
> wolfgang.schuster@gmail.com> wrote:
>
>>
>> Am 03.01.2013 um 13:48 schrieb Mikael P. Sundqvist <mickep@gmail.com>:
>>
>> > Dear list,
>> >
>> > I want to have the effect I get with \placefigure[margin] but I want it
>> _always_ in the left margin instead of the right margin where it ends up by
>> default. I have tried several other keys but with leftmargin, inleft the
>> figure is not put in the top of the page, "independent of the text". Can I
>> fix this with some setup?
>> >
>> > Small test file:
>>
>> \setupmarginblocks
>>   [location=left]
>>
>> > \starttext
>> > \input tufte
>> >
>> > \placefigure[leftmargin][none]{With the key
>> leftmargin}{\externalfigure[cow][width=1cm]}
>> > \input tufte
>> >
>> > \placefigure[inleft][none]{With the key
>> inleft}{\externalfigure[cow][width=1cm]}
>> > \input tufte
>> >
>> > \placefigure[margin][none]{With the key
>> margin}{\externalfigure[cow][width=1cm]}
>> > \input tufte
>> > % This is the way I want it, but I want it in the left margin instead
>> > \stoptext
>>
>> Wolfgang
>>
>>
>> ___________________________________________________________________________________
>> 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
>>
>> ___________________________________________________________________________________
>>
>
>
> Thank you very much for your fast reply, Wolfgang. That is what I looked
> for. However, a new problem appeared now. The example file
>
> \setuppapersize[A5][A5]
>
> \setuplayout[
> footer=0cm,
> header=0.6cm,
> headerdistance=0.2cm,
> footerdistance=0cm,
> topspace=1cm,
> backspace=4cm,
> leftmargin=3cm,
> rightmargin=0cm,
> leftmargindistance=0.5cm,
> height=fit,
> width=fit,
> ]
>
> \setupmarginblocks[location=left]
>
>
> \setupmarginblocks
>   [location=left,
>    width=\leftmarginwidth]
>
> Wolfgang
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

Thank you very much, Wolfgang! Now it looks as it should.

Mikael

[-- Attachment #1.2: Type: text/html, Size: 4681 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] 5+ messages in thread

end of thread, other threads:[~2013-01-03 16:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-03 12:48 \placefigure[margin] but in left margin? Mikael P. Sundqvist
2013-01-03 14:58 ` Wolfgang Schuster
2013-01-03 16:13   ` Mikael P. Sundqvist
2013-01-03 16:16     ` Wolfgang Schuster
2013-01-03 16:22       ` Mikael P. Sundqvist

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