From: 土卜皿 <pengcz.nwpu@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to implement a head like this?
Date: Sun, 5 Jul 2015 09:44:48 +0800 [thread overview]
Message-ID: <CADT5_19HmHn-boOJXUZss3mQBwCEW21rfkGcOpf4Qj3RXAUzOQ@mail.gmail.com> (raw)
In-Reply-To: <5597BF54.3040207@gmx.es>
[-- Attachment #1.1: Type: text/plain, Size: 2409 bytes --]
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@cs.cornell.edu
\url[aurl]}\stoptext
Best Regards
Dillon
2015-07-04 19:11 GMT+08:00 Pablo Rodriguez <oinos@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@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@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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 14660 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2015-07-05 1:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-03 14:32 土卜皿
2015-07-03 23:45 ` 土卜皿
2015-07-04 11:03 ` Hans Hagen
2015-07-04 11:11 ` Pablo Rodriguez
2015-07-05 1:44 ` 土卜皿 [this message]
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=CADT5_19HmHn-boOJXUZss3mQBwCEW21rfkGcOpf4Qj3RXAUzOQ@mail.gmail.com \
--to=pengcz.nwpu@gmail.com \
--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).