Re: [NTG-context] Force two figures to appear on the same page
Thank you Wolfgang, it works like a bliss! Best Thomas 2014-05-06 12:49 GMT+02:00 Wolfgang Schuster : > > Am 06.05.2014 um 12:36 schrieb Thomas Friedrich > : > >> Unfortunately, this is not what I am looking for: Both figures have >> there own caption and shall appear as separate figures in the "list of >> figures" at the end of the document. > > > You can use the floatcombination environment to put many floats into a single > block, > the figure environment around the combination environment where I disabled > the counter is used to center the block. > > \setupexternalfigures[location=default] > > \starttext > > \input knuth > > \startplacefigure[location=nonumber] > \startfloatcombination[1*2] > \startplacefigure[title={Dutch cow}] > \externalfigure[cow][width=4cm] > \stopplacefigure > \startplacefigure[title={English cow}] > \externalfigure[cow][width=4cm] > \stopplacefigure > \stopfloatcombination > \stopplacefigure > > \input ward > > \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 > ___ -- Thomas Möbius Fakultät Statistik Technische Universität Dortmund 44221 Dortmund Telefon: 0231 755 - 3116 FAX: 0231 755 - 5304 E-Mail: friedr...@statistik.tu-dortmund.de ___ 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 ___
Re: [NTG-context] Force two figures to appear on the same page
Am 06.05.2014 um 12:36 schrieb Thomas Friedrich : > Unfortunately, this is not what I am looking for: Both figures have > there own caption and shall appear as separate figures in the "list of > figures" at the end of the document. You can use the floatcombination environment to put many floats into a single block, the figure environment around the combination environment where I disabled the counter is used to center the block. \setupexternalfigures[location=default] \starttext \input knuth \startplacefigure[location=nonumber] \startfloatcombination[1*2] \startplacefigure[title={Dutch cow}] \externalfigure[cow][width=4cm] \stopplacefigure \startplacefigure[title={English cow}] \externalfigure[cow][width=4cm] \stopplacefigure \stopfloatcombination \stopplacefigure \input ward \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 ___
Re: [NTG-context] Force two figures to appear on the same page
Unfortunately, this is not what I am looking for: Both figures have there own caption and shall appear as separate figures in the "list of figures" at the end of the document. 2014-04-30 22:39 GMT+02:00 Andres Conrado : > Maybe combinations is what you are looking for? It works very well for me. > http://wiki.contextgarden.net/Command/startcombination > > Andres > > ___ > 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 > ___ -- Thomas Möbius Fakultät Statistik Technische Universität Dortmund 44221 Dortmund Telefon: 0231 755 - 3116 FAX: 0231 755 - 5304 E-Mail: friedr...@statistik.tu-dortmund.de ___ 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 ___
Re: [NTG-context] Force two figures to appear on the same page
I forgot to include a MWE: %% \starttext \setupexternalfigures[location={local, default}] \startcombination[1*3] {\externalfigure[cow][height=1cm]} {d} {\externalfigure[cow][height=1cm]} {e} {\externalfigure[cow][height=1cm]} {f} \stopcombination \stoptext % Andres ___ 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 ___
Re: [NTG-context] Force two figures to appear on the same page
Maybe combinations is what you are looking for? It works very well for me. http://wiki.contextgarden.net/Command/startcombination Andres ___ 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 ___
[NTG-context] Force two figures to appear on the same page
Dear ConTeXt list, I have multiple figures appearing in a single chapter which are roughly half a page in height. They would fit on top of each other. It seems as if context is only putting floats on top of each other if at least 2 lines of text fit underneath them. How to force two figures which fit on one page to also appear on one page? As you can see in the example below, the chapter would otherwise end with a lengthy list of figures. I'd prefer, if the chapter ends with text. If I'd use `force`, text would stop wrapping around the floats. The cow.png file is a copy of the graphic appearing on http://wiki.contextgarden.net/Command/externalfigure ---minimal example-- \starttext \chapter{Aasntheo asoetnh} \input knuth \input knuth \input knuth \placefigure [here] [fig:experiment:h:box:sd] {Hey} {\externalfigure[cow.png][height=.45\textheight,frame=on]} \placefigure [here] [fig:experiment:h:box:sd] {Ho} {\externalfigure[cow.png][height=.45\textheight,frame=on]} \placefigure [here] [fig:experiment:h:box:sd] {Ho} {\externalfigure[cow.png][height=.45\textheight,frame=on]} \placefigure [here] [fig:experiment:h:box:sd] {Ho} {\externalfigure[cow.png][height=.45\textheight,frame=on]} \input knuth \input knuth \input knuth \input knuth \input knuth \stoptext ___ 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 ___