[NTG-context] How to put all floats in margin without any drawbacks?

2007-03-13 Thread Zhichu Chen

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

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


Re: [NTG-context] How to put all floats in margin without any drawbacks?

2007-03-13 Thread Zhichu Chen

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 [EMAIL PROTECTED] 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

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


Re: [NTG-context] How to put all floats in margin without any drawbacks?

2007-03-13 Thread Wolfgang Schuster

2007/3/13, Zhichu Chen [EMAIL PROTECTED]:


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


Re: [NTG-context] How to put all floats in margin without any drawbacks?

2007-03-13 Thread Zhichu Chen

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 [EMAIL PROTECTED] wrote:




2007/3/13, Zhichu Chen [EMAIL PROTECTED]:

 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

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