Hello I tried to get some sections without any title and with numbering in the margin. Here is an example of a try I made : %%%%%%%%%%%%%%%%%%% \def\CommandQS#1#2{\inleft{\bf \currentheadnumber}} \setuphead[section][alternative=text, command=\CommandQS ] \starttext \section{} $\displaystyle {4 \over \displaystyle {1 \over 3}}$. \stoptext %%%%%%%%%%%%%%%%%%% Unfortunately the numbering is aligned with the bottom of the line, not the base line. Is there any cure to this ? Eric DÉTREZ Lycée Faidherbe Lille Maths PC* : http://sites.google.com/site/pc1faidherbe/ Info MP-MP* : http://sites.google.com/site/infofaidherbe/
Eric DÉTREZ schrieb:
Hello
I tried to get some sections without any title and with numbering in the margin. Here is an example of a try I made :
%%%%%%%%%%%%%%%%%%% \def\CommandQS#1#2{\inleft{\bf \currentheadnumber}} \setuphead[section][alternative=text, command=\CommandQS ]
\starttext
\section{} $\displaystyle {4 \over \displaystyle {1 \over 3}}$.
\stoptext %%%%%%%%%%%%%%%%%%%
Unfortunately the numbering is aligned with the bottom of the line, not the base line.
Is there any cure to this ?
You can try the following placebo... ;) \starttext \showframe \showgrid \def\CommandQS#1#2% {\inleftmargin{\bf\strut\currentheadnumber}} \setuphead[section] [alternative=text, command=\CommandQS, ] \starttext \section{} \ruledhbox{$\displaystyle {4 \over \displaystyle {1 \over 3}}$.} \stoptext btw: are you really starting your section with such an expression? Best wishes, Peter
Eric DÉTREZ Lycée Faidherbe Lille Maths PC* : http://sites.google.com/site/pc1faidherbe/ Info MP-MP* : http://sites.google.com/site/infofaidherbe/
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (2)
-
Eric DÉTREZ
-
Peter Rolf