Re: [NTG-context] withdots framing (sharing an example)
Am 22.03.2011 um 01:02 schrieb Pavel Striz: > \def\Picture#1#2#3% > {% > \vbox to 3in% > {% > \vfil% > \placefigure[left][#3]% > {% > \hangindent=0.5pt\hangafter=1{}% > #2% > }% > {% > \hskip-11pt\hbox to 3in% > {% > \Text% > {% > \externalfigure[#1][width=3in]% > }% > \hss% > }% > }% > }% > }% \def\Picture#1#2#3% {\placefigure [][#3]{#2}% {\leftaligned{\externalfigure[#1][width=3in,background=Label,backgroundoffset=1ex]}}} or \def\Picture#1#2#3% {\placefigure [][#3]{#2}% {\framed [align={flushleft,low},frame=off,height=3in,width=broad] {\externalfigure[#1][width=3in,background=Label,backgroundoffset=1ex]}}} 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] withdots framing (sharing an example)
On Tue, Mar 22, 2011 at 1:02 AM, Pavel Striz wrote: > Good evening, dear ConTeXtists, > > > > Mr. Eyre in his conference proceedings paper to be > (http://striz9.fame.utb.cz/docasne/bulletin/NEtypo.pdf) applies withdots > framing via TikZ as he told me. I passed him one of your ideas (Aditya > Mahajan, Wolfgang Schuster) and he slightly extended it using Metapost to > fit his examples. > > > > I am just sharing it with all the sincere greetings. why don't you put it on the wiki ? -- luigi ___ 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] withdots framing (sharing an example)
Good evening, dear ConTeXtists, Mr. Eyre in his conference proceedings paper to be (http://striz9.fame.utb.cz/docasne/bulletin/NEtypo.pdf) applies withdots framing via TikZ as he told me. I passed him one of your ideas (Aditya Mahajan, Wolfgang Schuster) and he slightly extended it using Metapost to fit his examples. I am just sharing it with all the sincere greetings. Pavel Striz http://striz9.fame.utb.cz/docasne/bulletin/framed.pdf http://striz9.fame.utb.cz/docasne/bulletin/framed.tgz a.k.a. \startuniqueMPgraphic{Label} path p; p := (0,0) -- (OverlayWidth,0) -- (OverlayWidth, OverlayHeight) -- (0, OverlayHeight) -- (0,0); draw p withpen pencircle scaled 1pt dashed withdots; setbounds currentpicture to boundingbox OverlayBox; \stopuniqueMPgraphic \defineoverlay[Label][\useMPgraphic{Label}] \defineframed[Text][background=Label,frame=off,location=low] \starttext AAA \Text{BBB} CCC \Text{DDD} EEE \def\Picture#1#2#3% {% \vbox to 3in% {% \vfil% \placefigure[left][#3]% {% \hangindent=0.5pt\hangafter=1{}% #2% }% {% \hskip-11pt\hbox to 3in% {% \Text% {% \externalfigure[#1][width=3in]% }% \hss% }% }% }% }% \Picture{Distract.pdf}{Caption}{Refmarker}% \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 ___