[NTG-context] How to implement a head like this?

土卜皿 pengcz.nwpu at gmail.com
Sun Jul 5 03:44:48 CEST 2015


hi, Han and Pablo
   Thank you very much!
   I finally asked the question and got the answer,
http://tex.stackexchange.com/q/253575/81323,
I hope you two help me check it, whether my solution is right direction?
  And I copied all my resolution here:

I found context refer manual 11.3 Variations in titles
<http://pmrb.free.fr/contextref.pdf> , there is a snippet, which seemly
helps me, the following code:

\setupcolors[state=start]\setuppagenumbering[location=footer,
right]\unexpanded\def\HeadTitle#1#2%{\hbox to \hsize
\bgroup\hfill\setupframed[height=5cm,offset=.5em,frame=off,backgroundcolor=red]\framed[width=8cm,align=left]{#1}%\framed[width=12cm,align=right,leftframe=off]{#2}%\egroup}\setuplayout[topspace=\zeropoint,
 height=fit,
 footerdistance=2cm]
 \showframe
 \useURL[aurl][http://cs.ucsd.edu/~mmoghimi][][
 http://cs.ucsd.edu/~mmoghimi]
 \starttext
 \HeadTitle{{\tfb Mohammad Moghimi}

Curriculum Vitae}{9234 Regents Rd Apt H

La Jolla, CA, 92037
(858) 888-3337
mmoghimi at cs.cornell.edu
\url[aurl]}\stoptext

Best Regards
Dillon

2015-07-04 19:11 GMT+08:00 Pablo Rodriguez <oinos at gmx.es>:

> On 07/04/2015 01:45 AM, 土卜皿 wrote:
> > After reading something, I think the red area belonging to top area,
> > but there is no "definetop" or like this, my understanding is right?
>
> Hi Dillon,
>
> do you text the text heading or also the red line from your attached image?
>
>
> Pablo
>
>
> > 2015-07-03 22:32 GMT+08:00 土卜皿 <pengcz.nwpu at gmail.com>:
> >
> >     hi, all
> >       I want to use context for writing my resume, I found the head like
> >     the attached file's very awesome, but I don't know how to implement
> >     it, or what elements I should use to do it?
> >     ​please any one help me, Thanks in advance!
> >
> >     Best Regards
> >     Dillon Peng
>
> --
> http://www.ousia.tk
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at 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
>
> ___________________________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150705/aeb287a4/attachment-0001.html>


More information about the ntg-context mailing list