* Boxed text on the same line as a figure [not found] <mailman.1.1177754405.3087.ntg-context@ntg.nl> @ 2007-04-28 11:50 ` Vyatcheslav Yatskovsky 2007-04-28 12:42 ` Thomas A. Schmitz 2007-04-28 11:55 ` Dummy question about \externalfigure Vyatcheslav Yatskovsky 1 sibling, 1 reply; 4+ messages in thread From: Vyatcheslav Yatskovsky @ 2007-04-28 11:50 UTC (permalink / raw) To: ntg-context-request@ntg.nl Hello, Please, help me with following. I have a figure included as \externalfigure[lily02.png] spanning an half of the text width. I want place some additional text in a box RIGHT to it. This box will not overlap with the figure. The rest of text flows as usual, that is before and after the image. Thanks in advance. Best, Vyatcheslav ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Boxed text on the same line as a figure 2007-04-28 11:50 ` Boxed text on the same line as a figure Vyatcheslav Yatskovsky @ 2007-04-28 12:42 ` Thomas A. Schmitz 0 siblings, 0 replies; 4+ messages in thread From: Thomas A. Schmitz @ 2007-04-28 12:42 UTC (permalink / raw) To: Yatskovsky, mailing list for ConTeXt users Vyatcheslav Yatskovsky wrote: > Hello, > > Please, help me with following. > > I have a figure included as > \externalfigure[lily02.png] > > spanning an half of the text width. I want place some additional text in a box RIGHT to it. This box will not overlap with the figure. The rest of text flows as usual, that is before and after the image. > > Thanks in advance. > > Best, > Vyatcheslav > Try something along these lines: \startcombination \framed{\externalfigure[lily02][width=.5\textwidth]}{YOUR_CAPTION} \framed{YOUR_TEXT}{} % watch the empty braces at the end, they're \stopcombination % necessary! In order to know more, read chapter 11.6 and 12.3 of cont-eni.pdf. HTH Thomas ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Dummy question about \externalfigure [not found] <mailman.1.1177754405.3087.ntg-context@ntg.nl> 2007-04-28 11:50 ` Boxed text on the same line as a figure Vyatcheslav Yatskovsky @ 2007-04-28 11:55 ` Vyatcheslav Yatskovsky 2007-04-28 18:46 ` Wolfgang Schuster 1 sibling, 1 reply; 4+ messages in thread From: Vyatcheslav Yatskovsky @ 2007-04-28 11:55 UTC (permalink / raw) To: ntg-context-request@ntg.nl Hello, Sorry for dummy question, but why there is always no blank line BEFORE, but there exists a blank line AFTER the \externalfigure? Even leaving a blank paragraph before and omitting it after the figure doesn't change anything. :( What is I want the opposite -- a blank line before and tight spacing after? Best, Vyatcheslav ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Dummy question about \externalfigure 2007-04-28 11:55 ` Dummy question about \externalfigure Vyatcheslav Yatskovsky @ 2007-04-28 18:46 ` Wolfgang Schuster 0 siblings, 0 replies; 4+ messages in thread From: Wolfgang Schuster @ 2007-04-28 18:46 UTC (permalink / raw) To: ntg-context; +Cc: mailing list for ConTeXt users, Yatskovsky On Sat, 28 Apr 2007 14:55:19 +0300 Vyatcheslav Yatskovsky <yatskovsky@gmail.com> wrote: > Hello, > > Sorry for dummy question, but why there is always no blank line BEFORE, but there exists a blank line AFTER the \externalfigure? > Even leaving a blank paragraph before and omitting it after the figure doesn't change anything. :( > > What is I want the opposite -- a blank line before and tight spacing after? > > Best, > Vyatcheslav Hi Vyatcheslav, there is currently no option AFAIK to control the space before a figure but you can define your own command to include your figures. A simple one is: \def\myfigure {\blank \dodoubleempty\externalfigure} and you it in the following way: \myfigure[test-1] \myfigure[test-2][width=3cm] The blank line is more a problem with the low level beviour of TeX as seen in my next example. \showgrid \starttext text \ruledvbox to 2cm{\hsize8cm Text} text \stoptext It has something to do with the lineheight of text. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-04-28 18:46 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <mailman.1.1177754405.3087.ntg-context@ntg.nl> 2007-04-28 11:50 ` Boxed text on the same line as a figure Vyatcheslav Yatskovsky 2007-04-28 12:42 ` Thomas A. Schmitz 2007-04-28 11:55 ` Dummy question about \externalfigure Vyatcheslav Yatskovsky 2007-04-28 18:46 ` 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).