From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44744 Path: news.gmane.org!not-for-mail From: Alexandros Frantzis Newsgroups: gmane.comp.tex.context Subject: Re: Changing margins mid-page? Date: Tue, 14 Oct 2008 23:28:55 +0300 Message-ID: <20081014202855.GA497@skynet> References: <115224fb0810132350x5de86558j96ffca9c76b42235@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224016428 23250 80.91.229.12 (14 Oct 2008 20:33:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2008 20:33:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 14 22:34:45 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KpqbN-0003AZ-B0 for gctc-ntg-context-518@m.gmane.org; Tue, 14 Oct 2008 22:34:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 24A921FD38; Tue, 14 Oct 2008 22:33:38 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08285-03-2; Tue, 14 Oct 2008 22:32:35 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 92B2D1FD4E; Tue, 14 Oct 2008 22:32:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E41391FD4E for ; Tue, 14 Oct 2008 22:32:31 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11270-01 for ; Tue, 14 Oct 2008 22:31:40 +0200 (CEST) Original-Received: from mx-out.forthnet.gr (mx-out.forthnet.gr [193.92.150.104]) by ronja.ntg.nl (Postfix) with ESMTP id 96D1B1FCD3 for ; Tue, 14 Oct 2008 22:29:00 +0200 (CEST) Original-Received: from mx-av-06.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-01.forthnet.gr (8.14.3/8.14.3) with ESMTP id m9EKSwwX011826 for ; Tue, 14 Oct 2008 23:28:58 +0300 Original-Received: from MX-IN-05.forthnet.gr (mx-in-05.forthnet.gr [193.92.150.32]) by mx-av-06.forthnet.gr (8.14.3/8.14.3) with ESMTP id m9EKSw6d019009 for ; Tue, 14 Oct 2008 23:28:58 +0300 Original-Received: from localhost (adsl96-37.ath.forthnet.gr [194.219.240.37]) by MX-IN-05.forthnet.gr (8.14.3/8.14.3) with ESMTP id m9EKSvgM015842 for ; Tue, 14 Oct 2008 23:28:58 +0300 Authentication-Results: MX-IN-05.forthnet.gr smtp.mail=alfius@freemail.gr; spf=softfail Authentication-Results: MX-IN-05.forthnet.gr header.from=alfius@freemail.gr; sender-id=softfail Content-Disposition: inline In-Reply-To: <115224fb0810132350x5de86558j96ffca9c76b42235@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:44744 Archived-At: On Tue, Oct 14, 2008 at 08:50:20AM +0200, Wolfgang Schuster wrote: > On Tue, Oct 14, 2008 at 7:31 AM, Rory Molinari > wrote: > > Hi, > > > > I'm sorry that the subject isn't clearer. > > > > I'm learning ConTeXt at the moment by trying to typeset a copy of my > > resume. > > > > I'd like the format to be something like this (view in fixed width): > > > > > > > >
> >
> address> > > > > > > --------------------------------------------------------------------------- > > > > EDUCATION
> > > > > >
> > > > > > > > > > WORK EXPERIENCE
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > ANOTHER SECTION > > > >
> > > > > > > > My first thought was to have "EDUCATION", "WORK EXPERIENCE", etc as > > unnumbered sections, and to arrange that section titles would appear > > in a (very large) left margin. But then I couldn't work out how to > > have "normal" margins for the top of the page containing my contact > > information and name. Margins appear to apply to the whole document. > > [snip] > > > > What is the right way to typeset this? > > Use descriptions, it's possible to set a left margin and break the text > across pages. > Hello, I, too, am trying to create a similar CV layout. As I have already reported in other emails to the list, I have been having trouble when the first thing after the title is an enumeration. More specifically, the first item of the enumeration is not aligned with the title in the margin (it is always placed a bit below). Unfortunately, this still happens when using descriptions. A way around this is to use something like \setupitemize[before=\vskip -20pt]. But this is specific to the font sizes I am using and a bit ugly. I have tried suppressing the whitespace around itemizations (nowhite, joinedup) and/or using stuff like \blank[disable] and \blank[back] but to no avail. Does anyone know of a better, more generic way of doing this or even if it is possible (judging from the lack of answers to my previous posts I am guessing this is not something trivial)? Thanks, Alexandros ------------------- START CODE ------------------------ \definedescription[desc][location=inmargin,width=broad] \starttext \startdesc{Description1} This is the text of desc1. This is the text of desc1. This is the text of desc1. This is the text of desc1. This is the text of desc1. This is the text of desc1. This is the text of desc1. \stopdesc \startdesc{Description2} \startitemize[packed,nowhite,joinedup] \item First item (should be right next to title) \item Second item \item Third item \stopitemize \stopdesc \stoptext -------------------- END CODE ------------------------ ___________________________________________________________________________________ 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 ___________________________________________________________________________________