From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44766 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Changing margins mid-page? Date: Thu, 16 Oct 2008 09:17:01 +0200 Message-ID: <115224fb0810160017g7f750728s6bd0959ff03b1724@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 1224141533 594 80.91.229.12 (16 Oct 2008 07:18:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2008 07:18:53 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 16 09:19:53 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 1KqN99-00079j-EF for gctc-ntg-context-518@m.gmane.org; Thu, 16 Oct 2008 09:19:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A4AE71FDE2; Thu, 16 Oct 2008 09:18:40 +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 00751-05-11; Thu, 16 Oct 2008 09:17:37 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5218E1FB6D; Thu, 16 Oct 2008 09:17:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E5ED01FB6B for ; Thu, 16 Oct 2008 09:17:35 +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 00957-06-3 for ; Thu, 16 Oct 2008 09:17:01 +0200 (CEST) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by ronja.ntg.nl (Postfix) with ESMTP id 9FE511FB6D for ; Thu, 16 Oct 2008 09:17:01 +0200 (CEST) Original-Received: by ug-out-1314.google.com with SMTP id s2so1393593uge.1 for ; Thu, 16 Oct 2008 00:17:01 -0700 (PDT) Original-Received: by 10.103.225.11 with SMTP id c11mr1188918mur.32.1224141421261; Thu, 16 Oct 2008 00:17:01 -0700 (PDT) Original-Received: by 10.103.215.10 with HTTP; Thu, 16 Oct 2008 00:17:01 -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:44766 Archived-At: On Tue, Oct 14, 2008 at 10:28 PM, Alexandros Frantzis wrote: > > 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 \startdesc{Description2} % \quad\startitemize[text,packed,nowhite,joinedup] \item First item (should be right next to title)\par \item Second item\par \item Third item \stopitemize \stopdesc > \stoptext > -------------------- END CODE ------------------------ 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 ___________________________________________________________________________________