* Influencing of horizontal arrangement of list of publications
@ 2011-06-23 19:49 Jaroslav Hajtmar
2011-06-27 15:38 ` Jaroslav Hajtmar
0 siblings, 1 reply; 3+ messages in thread
From: Jaroslav Hajtmar @ 2011-06-23 19:49 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello ConTeXist,
As is known, the layout of a list (of content) is determined by the
values of alternative, margin, width
and distance. Required values can be changed via commands \setuplist or
\setupcombinedlist.
Can somehow influence the horizontal arrangement of items in lists typed
using \placepublications[...]?
I want to change such margin, distance and alignment reference items.
<margin>REFERENCE ITEM<distance>PUBLICATION ITEM
Examples of alignments and distances:
RefAuthor1 Author1, Name of his publication
RefAut2 Authors2, Name of his publication
RAut3 Authors3, Name of his publication
or:
RefAuthor1 Author1, Name of his publication
RefAut2 Author2, Name of his publication
RAut3 Author3, Name of his publication
or:
RefAuthor1 Author1, Name of his publication
RefAut2 Author2, Name of his publication
RAut3 Author3, Name of his publication
etc.
I ask because when I use (in context minimals) the standard command
\placepublications[criterium=all], then I get a result that does not
satisfy me at all.
Thanx Jaroslav
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Influencing of horizontal arrangement of list of publications
2011-06-23 19:49 Influencing of horizontal arrangement of list of publications Jaroslav Hajtmar
@ 2011-06-27 15:38 ` Jaroslav Hajtmar
2011-06-27 15:53 ` Thomas A. Schmitz
0 siblings, 1 reply; 3+ messages in thread
From: Jaroslav Hajtmar @ 2011-06-27 15:38 UTC (permalink / raw)
To: ntg-context
Hello ConTeXtist.
After some experimentation, I found a satisfactory solution of my
problem. Setting margins, distance and alignment can be done by
redefining the global macro \bibalignednumber. Default defining of this
macro (eg. in bibl-ams.tex file) is:
\gdef\bibalignednumber#1{\hfill[#1]~~}
A simple modification to this macro, you can achieve the desired result.
Eg. :
\gdef\bibalignednumber#1{\null\hfill\hbox to1em{}\hfill[#1]\hbox to3em{}}
get result :
<1em margin> REFERENCE ITEM aligned to right<3em distance>PUBLICATION ITEM
I hope, that it will be useful for somebody.
Jaroslav
Dne 23.6.2011 21:49, Jaroslav Hajtmar napsal(a):
> Hello ConTeXist,
>
> As is known, the layout of a list (of content) is determined by the
> values of alternative, margin, width
> and distance. Required values can be changed via commands \setuplist
> or \setupcombinedlist.
>
> Can somehow influence the horizontal arrangement of items in lists
> typed using \placepublications[...]?
> I want to change such margin, distance and alignment reference items.
>
> <margin>REFERENCE ITEM<distance>PUBLICATION ITEM
>
> Examples of alignments and distances:
>
> RefAuthor1 Author1, Name of his publication
> RefAut2 Authors2, Name of his publication
> RAut3 Authors3, Name of his publication
>
> or:
>
> RefAuthor1 Author1, Name of his publication
> RefAut2 Author2, Name of his publication
> RAut3 Author3, Name of his publication
> or:
>
> RefAuthor1 Author1, Name of his publication
> RefAut2 Author2, Name of his publication
> RAut3 Author3, Name of his publication
>
> etc.
>
>
> I ask because when I use (in context minimals) the standard command
> \placepublications[criterium=all], then I get a result that does not
> satisfy me at all.
>
> Thanx Jaroslav
>
>
>
>
>
>
>
> ___________________________________________________________________________________
>
> 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
> ___________________________________________________________________________________
>
>
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Influencing of horizontal arrangement of list of publications
2011-06-27 15:38 ` Jaroslav Hajtmar
@ 2011-06-27 15:53 ` Thomas A. Schmitz
0 siblings, 0 replies; 3+ messages in thread
From: Thomas A. Schmitz @ 2011-06-27 15:53 UTC (permalink / raw)
To: hajtmar, mailing list for ConTeXt users
On Jun 27, 2011, at 5:38 PM, Jaroslav Hajtmar wrote:
> Hello ConTeXtist.
> After some experimentation, I found a satisfactory solution of my problem. Setting margins, distance and alignment can be done by redefining the global macro \bibalignednumber. Default defining of this macro (eg. in bibl-ams.tex file) is:
> \gdef\bibalignednumber#1{\hfill[#1]~~}
>
> A simple modification to this macro, you can achieve the desired result. Eg. :
>
> \gdef\bibalignednumber#1{\null\hfill\hbox to1em{}\hfill[#1]\hbox to3em{}}
>
Better:
\def\MyBibalign#1{\hbox to 6em{\hfill [#1]\kern2em}}
\setuppublications[numbercommand=\MyBibalign]
But you still haven't provided an example, so I'm not sure if this is what you're looking for.
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-27 15:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-23 19:49 Influencing of horizontal arrangement of list of publications Jaroslav Hajtmar
2011-06-27 15:38 ` Jaroslav Hajtmar
2011-06-27 15:53 ` Thomas A. Schmitz
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).