From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44907 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Changing margins mid-page? Date: Tue, 21 Oct 2008 10:27:12 +0200 Message-ID: <115224fb0810210127g6b7f8647qc443ea4a8bf69a80@mail.gmail.com> References: <115224fb0810132350x5de86558j96ffca9c76b42235@mail.gmail.com> <20081014202855.GA497@skynet> 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 1224577794 18770 80.91.229.12 (21 Oct 2008 08:29:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2008 08:29:54 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 21 10:30:54 2008 connect(): Connection refused 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 1KsCdZ-0001qt-F0 for gctc-ntg-context-518@m.gmane.org; Tue, 21 Oct 2008 10:30:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 082201FBAC; Tue, 21 Oct 2008 10:29: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 23348-01; Tue, 21 Oct 2008 10:28:33 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CB7A71FB72; Tue, 21 Oct 2008 10:28:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A44141FB72 for ; Tue, 21 Oct 2008 10:28:30 +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 19289-04 for ; Tue, 21 Oct 2008 10:27:54 +0200 (CEST) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by ronja.ntg.nl (Postfix) with ESMTP id 0E0D61FB5A for ; Tue, 21 Oct 2008 10:27:13 +0200 (CEST) Original-Received: by ug-out-1314.google.com with SMTP id s2so867620uge.1 for ; Tue, 21 Oct 2008 01:27:12 -0700 (PDT) Original-Received: by 10.103.229.12 with SMTP id g12mr4337195mur.6.1224577632688; Tue, 21 Oct 2008 01:27:12 -0700 (PDT) Original-Received: by 10.103.215.10 with HTTP; Tue, 21 Oct 2008 01:27:12 -0700 (PDT) In-Reply-To: <20081014202855.GA497@skynet> Content-Disposition: inline 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:44907 Archived-At: On Tue, Oct 14, 2008 at 10:28 PM, Alexandros Frantzis wrote: > 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] \settrue\concatnextitem > \item First item (should be right next to title) > \item Second item > \item Third item > \stopitemize > > \stopdesc > > \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________