ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to put all floats in margin without any drawbacks?
@ 2007-03-13  8:09 Zhichu Chen
  2007-03-13  8:17 ` Zhichu Chen
  2007-03-13  9:40 ` Wolfgang Schuster
  0 siblings, 2 replies; 4+ messages in thread
From: Zhichu Chen @ 2007-03-13  8:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi everyone,

I just wrote a small test file:
===========================
\starttext

\dorecurse{10}{\placefigure[inright]{}{}}\dorecurse{10}{\input
knuth\endgraf}

\stoptext
===========================

You can see that the in-margin figures do push the main texts away. How can
I do with that?

If you get any suggestions, please let me know.

Thank you.

-- 
Sincerely yours,
Chen
----------------------------------------------------------------

          Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
         No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
             tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                               | www.sinap.ac.cn
----------------------------------------------------------------

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

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: How to put all floats in margin without any drawbacks?
  2007-03-13  8:09 How to put all floats in margin without any drawbacks? Zhichu Chen
@ 2007-03-13  8:17 ` Zhichu Chen
  2007-03-13  9:40 ` Wolfgang Schuster
  1 sibling, 0 replies; 4+ messages in thread
From: Zhichu Chen @ 2007-03-13  8:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Oh, by the way, it's very complex in my situation. So I don't really want to
use the \usemodule[streams]

Thanks


On 3/13/07, Zhichu Chen <zhichu.chen@gmail.com> wrote:
>
> Hi everyone,
>
> I just wrote a small test file:
> ===========================
> \starttext
>
> \dorecurse{10}{\placefigure[inright]{}{}}\dorecurse{10}{\input
> knuth\endgraf}
>
> \stoptext
> ===========================
>
> You can see that the in-margin figures do push the main texts away. How
> can I do with that?
>
> If you get any suggestions, please let me know.
>
> Thank you.
>
> --
> Sincerely yours,
> Chen
> ----------------------------------------------------------------
>
>           Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
>          No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
>              tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
>                                                | www.sinap.ac.cn
> ----------------------------------------------------------------
>



-- 
Sincerely yours,
Chen
----------------------------------------------------------------

          Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
         No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
             tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                               | www.sinap.ac.cn
----------------------------------------------------------------

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

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: How to put all floats in margin without any drawbacks?
  2007-03-13  8:09 How to put all floats in margin without any drawbacks? Zhichu Chen
  2007-03-13  8:17 ` Zhichu Chen
@ 2007-03-13  9:40 ` Wolfgang Schuster
  2007-03-13 10:48   ` Zhichu Chen
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2007-03-13  9:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

2007/3/13, Zhichu Chen <zhichu.chen@gmail.com>:
>
> Hi everyone,
>
> I just wrote a small test file:
> ===========================
> \starttext
>
> \dorecurse{10}{\placefigure[inright]{}{}}\dorecurse{10}{\input
> knuth\endgraf}
>
> \stoptext
> ===========================
>
> You can see that the in-margin figures do push the main texts away. How
> can I do with that?
>
> If you get any suggestions, please let me know.
>
> Thank you.
>
> --
> Sincerely yours,
> Chen
>

Hi Chen,

the following code should work:


\setupfloat[figure][default=margin]

\starttext
\dorecurse{10}{\placefigure{}{}}\dorecurse{10}{\input knuth\endgraf}
\stoptext

Wolfgang

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

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: How to put all floats in margin without any drawbacks?
  2007-03-13  9:40 ` Wolfgang Schuster
@ 2007-03-13 10:48   ` Zhichu Chen
  0 siblings, 0 replies; 4+ messages in thread
From: Zhichu Chen @ 2007-03-13 10:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Thank you very much Wolfgang

I didn't test this setup because I thought it has the same effect as the
inright option of \placefigure. I'm so sorry.


On 3/13/07, Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
>
>
>
> 2007/3/13, Zhichu Chen <zhichu.chen@gmail.com>:
> >
> > Hi everyone,
> >
> > I just wrote a small test file:
> > ===========================
> > \starttext
> >
> > \dorecurse{10}{\placefigure[inright]{}{}}\dorecurse{10}{\input
> > knuth\endgraf}
> >
> > \stoptext
> > ===========================
> >
> > You can see that the in-margin figures do push the main texts away. How
> > can I do with that?
> >
> > If you get any suggestions, please let me know.
> >
> > Thank you.
> >
> > --
> > Sincerely yours,
> > Chen
> >
>
> Hi Chen,
>
> the following code should work:
>
>
> \setupfloat[figure][default=margin]
>
> \starttext
> \dorecurse{10}{\placefigure{}{}}\dorecurse{10}{\input knuth\endgraf}
> \stoptext
>
> Wolfgang
>
>
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>


-- 
Sincerely yours,
Chen
----------------------------------------------------------------

          Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
         No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
             tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                               | www.sinap.ac.cn
----------------------------------------------------------------

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

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

end of thread, other threads:[~2007-03-13 10:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-13  8:09 How to put all floats in margin without any drawbacks? Zhichu Chen
2007-03-13  8:17 ` Zhichu Chen
2007-03-13  9:40 ` Wolfgang Schuster
2007-03-13 10:48   ` Zhichu Chen

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