Re: [NTG-context] \simplealignedbox (was: itemize)
Hello, kind request - \simplealignedbox is not known to me - could anyone familar add some info to wiki? Best regards, Lukas \setupitemgroup [itemize] [left=\simplealignedbox{1em}{flushright}] -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ 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] \simplealignedbox (was: itemize)
Am 07.03.2013 um 14:40 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, kind request - \simplealignedbox is not known to me - could anyone familar add some info to wiki? With the \simplealignedbox command you can align a given text in a box with a given width, the width of the box is set with the first argument, the alignment with the second and the content with the third argument of the command. Example with all possible alignments: \starttext \ruledhbox{\simplealignedbox{3cm}{flushleft}{TEXT}} \ruledhbox{\simplealignedbox{3cm}{flushright}{TEXT}} \ruledhbox{\simplealignedbox{3cm}{middle}{TEXT}} \ruledhbox{\simplealignedbox{3cm}{left}{TEXT}} \ruledhbox{\simplealignedbox{3cm}{right}{TEXT}} \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] \simplealignedbox (was: itemize)
On 2013–03–07 Procházka Lukáš Ing. - Pontex s. r. o. wrote: kind request - \simplealignedbox is not known to me - could anyone familar add some info to wiki? It's a simple wrapper around \hbox with a fixed width and the possibility to align the content either to the left, right or centred within the box. \simplealignedbox{width}{left|right|flushleft|flushright|middle}{content} translates to \hbox to width{content\hss} %% left alignment \hbox to width{\hsscontent} %% right alignment \hbox to width{\hsscontent\hss} \hss pushes the content to the left or right, respectively. Marco signature.asc Description: Digital signature ___ 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 ___