ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jaroslav Hajtmar <hajtmar@gyza.cz>
To: ntg-context@ntg.nl
Subject: Re: Influencing of horizontal arrangement of list of publications
Date: Mon, 27 Jun 2011 17:38:26 +0200	[thread overview]
Message-ID: <4E08A3F2.6000501@gyza.cz> (raw)
In-Reply-To: <4E0398AD.2020807@gyza.cz>

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
___________________________________________________________________________________


  reply	other threads:[~2011-06-27 15:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-23 19:49 Jaroslav Hajtmar
2011-06-27 15:38 ` Jaroslav Hajtmar [this message]
2011-06-27 15:53   ` Thomas A. Schmitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E08A3F2.6000501@gyza.cz \
    --to=hajtmar@gyza.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).