From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91800 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?5Zyf5Y2c55q/?= Newsgroups: gmane.comp.tex.context Subject: Re: How to implement a head like this? Date: Sun, 5 Jul 2015 09:44:48 +0800 Message-ID: References: <5597BF54.3040207@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0600788792==" X-Trace: ger.gmane.org 1436060807 7675 80.91.229.3 (5 Jul 2015 01:46:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jul 2015 01:46:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 05 03:46:34 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZBZ0s-0000VK-0F for gctc-ntg-context-518@m.gmane.org; Sun, 05 Jul 2015 03:46:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 00D51101E6 for ; Sun, 5 Jul 2015 03:46:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pOgr_RQszLE2 for ; Sun, 5 Jul 2015 03:46:31 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9E95710257 for ; Sun, 5 Jul 2015 03:45:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D0D54101FA for ; Sun, 5 Jul 2015 03:45:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id YvXbG6jLQ1Qa for ; Sun, 5 Jul 2015 03:44:58 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id A0982101E6 for ; Sun, 5 Jul 2015 03:44:58 +0200 (CEST) Original-Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) by filter4-ams.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t651inNZ025590 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sun, 5 Jul 2015 03:44:57 +0200 Original-Received: by igcsj18 with SMTP id sj18so210570408igc.1 for ; Sat, 04 Jul 2015 18:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=swUn38YaFraJ0dsjsAKxa6uF/Leq8tiqTMX0lJTIG9Y=; b=Qb/GBu9UG5H8OucFZvUXQ+GzY9WAPo3wb1sfpoWCfge+TvZ7orqivIhtVM96z8n1iw +jgPIO3mTPnd/P8jPzAG3GBGiUykY9enwnSonZmO71VuK2XR2Tf8TkKcv2ZAcRqf2wg0 j/OUU/QnEkzzSSPs5zLFGNm/8byTW79ZSsekMMoBD11eXKXIMqWXsthbWqMDcBfq7hJi bgPdK7orKAcHohrwyniRW3HpcelngGBADjDzHDHiTq4J1aVusbxcmpx+oabeKy4LhFYX 2GUoBtWi0tKrplTTNI/fT7x6H3XsLDV5HjfAD9aGZL+krTAhvO6nueJ2rx8qH92+Oc8J 5wGQ== X-Received: by 10.42.144.131 with SMTP id b3mr27426858icv.35.1436060688572; Sat, 04 Jul 2015 18:44:48 -0700 (PDT) Original-Received: by 10.64.245.103 with HTTP; Sat, 4 Jul 2015 18:44:48 -0700 (PDT) In-Reply-To: <5597BF54.3040207@gmx.es> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c05::232; country=US; region=Iowa; city=Council Bluffs; latitude=41.2619; longitude=-95.8608; http://maps.google.com/maps?q=41.2619,-95.8608&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01OMpIOWs - 2908292c613d - 20150705 (trained as not-spam) Received-SPF: pass (filter4-ams.mf.surf.net: domain of pengcz.nwpu@gmail.com designates 2607:f8b0:4001:c05::232 as permitted sender) receiver=filter4-ams.mf.surf.net; client-ip=2607:f8b0:4001:c05::232; envelope-from=; helo=mail-ig0-x232.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:91800 Archived-At: --===============0600788792== Content-Type: multipart/alternative; boundary=90e6ba1efd2837f771051a16efc0 --90e6ba1efd2837f771051a16efc0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 , there is a snippet, which seemly helps me, the following code: \setupcolors[state=3Dstart]\setuppagenumbering[location=3Dfooter, right]\unexpanded\def\HeadTitle#1#2%{\hbox to \hsize \bgroup\hfill\setupframed[height=3D5cm,offset=3D.5em,frame=3Doff,background= color=3Dred]\framed[width=3D8cm,align=3Dleft]{#1}%\framed[width=3D12cm,alig= n=3Dright,leftframe=3Doff]{#2}%\egroup}\setuplayout[topspace=3D\zeropoint, height=3Dfit, footerdistance=3D2cm] \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 : > On 07/04/2015 01:45 AM, =E5=9C=9F=E5=8D=9C=E7=9A=BF 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 imag= e? > > > Pablo > > > > 2015-07-03 22:32 GMT+08:00 =E5=9C=9F=E5=8D=9C=E7=9A=BF : > > > > hi, all > > I want to use context for writing my resume, I found the head lik= e > > the attached file's very awesome, but I don't know how to implement > > it, or what elements I should use to do it? > > =E2=80=8Bplease 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 > > _________________________________________________________________________= __________ > --90e6ba1efd2837f771051a16efc0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
hi, Han and Pablo
=C2=A0 =C2=A0Thank you very much!=C2= =A0
=C2=A0 =C2=A0I finally asked the question and got the answer,= =C2=A0http://tex.st= ackexchange.com/q/253575/81323,=C2=A0
I hope you two help me = check it, whether my solution is right direction?
=C2=A0 And I co= pied all my resolution here:

I found=C2=A0context refer manual 11.3 Variations in titles=C2=A0,= there is a snippet, which seemly helps me, the following code:

<=
code style=3D"margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,=
Monaco,'Lucida Console','Liberation Mono','DejaVu Sans =
Mono','Bitstream Vera Sans Mono','Courier New',monospac=
e,sans-serif;white-space:inherit;line-height:19.5px">\setupcolors[state=3Dstart=
]
\setuppagenumbering[location=3Dfooter, right]
\unexpanded\def\HeadTitle#1#2%
{\hbox to \hsize=
 \bgroup
\hfill
\setupframed[height=3D<=
/span>5cm,offset=3D.5em=
,frame=3Doff,backgroundcolor=3D<=
/span>red]
\framed[width=3D=
8cm,align=3Dleft]{#1}%
\framed[width=3D=
12cm,align=3Dright,leftframe=3Doff]{#2}%
\egroup}
\setuplayout
[topspace=3D\zeropoint<=
/span>,
 height=3Dfit,
 footerdistance=3D2cm]
 \showframe
 \useURL[aurl][<=
span class=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rgb(0,0,0)=
">http://cs.ucsd.edu/~mmoghimi=
][][
 http://cs.ucsd.edu/~mmoghimi<=
/span>]
 \starttext
 \HeadTitle{{\tfb Moham=
mad 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 =C2=A0

2015-07-04 19:11 GMT+08:00 Pablo Rodriguez <= oinos@gmx.es>:
On 07/04/2015 01:45 = AM, =E5=9C=9F=E5=8D=9C=E7=9A=BF wrote:
> After reading something, I think the red area belonging to top area, > but there is no "definetop" or like this, my understanding i= s 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 =E5=9C=9F=E5=8D=9C=E7=9A=BF <pengcz.nwpu@gmail.com>:
>
>=C2=A0 =C2=A0 =C2=A0hi, all
>=C2=A0 =C2=A0 =C2=A0 =C2=A0I want to use context for writing my resume,= I found the head like
>=C2=A0 =C2=A0 =C2=A0the attached file's very awesome, but I don'= ;t know how to implement
>=C2=A0 =C2=A0 =C2=A0it, or what elements I should use to do it?
>=C2=A0 =C2=A0 =C2=A0=E2=80=8Bplease an= y one help me, Thanks in advance!
>
>=C2=A0 =C2=A0 =C2=A0Best Regards
>=C2=A0 =C2=A0 =C2=A0Dillon Peng

--
http:/= /www.ousia.tk
_____________________= ______________________________________________________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/projects/con= textrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________

--90e6ba1efd2837f771051a16efc0-- --===============0600788792== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0600788792==--