ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* footnote reference mark font switch
@ 2005-04-13 20:54 Idris Samawi Hamid
  2005-04-13 21:35 ` Adam Lindsay
  2005-04-13 22:42 ` Idris Samawi Hamid
  0 siblings, 2 replies; 6+ messages in thread
From: Idris Samawi Hamid @ 2005-04-13 20:54 UTC (permalink / raw)


Dear cartel,

I need to switch to a different font for the footnote reference markers. First 
attempt failed:

=======================
% output=pdf interface=en
\setupfootnotes[before=\ss,after=\sc]

\starttext

This is a test.\footnote{This is a test}

\stoptext
=======================

The idea is to print the reference marker, in this case `1', in a different 
font from both the main text and from the footnote text. That is, 
\setupfootnotes should let me transparently distinguish between

1. main text font;
2. reference marker font
3. footnote text font.

Please advise, and I have a nice trick to show you once this is done:-)

Best
Idris

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: footnote reference mark font switch
@ 2005-04-14  2:40 Idris Samawi Hamid
  0 siblings, 0 replies; 6+ messages in thread
From: Idris Samawi Hamid @ 2005-04-14  2:40 UTC (permalink / raw)


Hi Adam and all...

>===== Original Message From "Adam Lindsay" <atl@comp.lancs.ac.uk> =====
>\setupfootnotes[style=italic,textcommand=,command=,textstyle=boldslanted]

Ok, now we're getting somewhere...

The setup you presented was overkill-) but very instructive:

1.

\setupfootnotes[style=italic,textcommand=,command=,textstyle=boldslanted]

i. This changes the footnote marker in the main text (marker1), but also makes 
it a regular numeral aligned with the pre-footnote text.

b. The footnote marker in the note (marker2) also becomes aligned with the 
text of the note.

c. Marker1 is boldit and marker2 is italic.

d. Running text is normal;

2.

\setupfootnotes[style=italic,command=,textstyle=boldslanted]

Marker1 is now super, marker2 is text-aligned, marker1 is boldit and marker2 
is italic.

3.

\setupfootnotes[command=,textstyle=boldslanted]

Marker1 is super, marker2 is text-aligned, marker1 is bold, and marker 2 is 
normal;

4. 
\setupfootnotes[textstyle=boldslanted]

Marker1 is super, marker2 is super, marker1 is bold, marker2 is normal;

5.

\setupfootnotes[style=italic,textstyle=boldslanted]

Both markers are super, marker2 is italic and marker1 is boldit.
========

This last is the one I was looking for.

\setupfootnotes[style=\it,textstyle=\bs]

also works. This is interesting, because I thought that all options involving 
control sequences had to be surrounded by curly brackets. With curly brackets 
it does not work.

Thank you for your help! And that trick is forthcoming...

Best
Idris

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-04-14  2:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-13 20:54 footnote reference mark font switch Idris Samawi Hamid
2005-04-13 21:35 ` Adam Lindsay
2005-04-13 22:39   ` Idris Samawi Hamid
2005-04-13 22:54     ` Adam Lindsay
2005-04-13 22:42 ` Idris Samawi Hamid
2005-04-14  2:40 Idris Samawi Hamid

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).