From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id B805C24CF2 for ; Mon, 3 Jun 2024 17:07:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 0E7BE484CF2 for ; Mon, 3 Jun 2024 17:05:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EK2BYmTFbgk9 for ; Mon, 3 Jun 2024 17:05:31 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 49ABC484CE5 for ; Mon, 3 Jun 2024 17:04:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 65F27484BA4 for ; Mon, 3 Jun 2024 17:04:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sLL87QWSsnRS for ; Mon, 3 Jun 2024 17:04:27 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.47; helo=mail-ed1-f47.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 1BC5D484BA2 for ; Mon, 3 Jun 2024 17:04:27 +0200 (CEST) Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-57a033c2ed4so2523133a12.1 for ; Mon, 03 Jun 2024 08:04:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717427066; x=1718031866; darn=ntg.nl; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject:from:to:cc :subject:date:message-id:reply-to; bh=qjGw8KVur0TLZye9TJo/9Z43rinUf4tAGB7OXUWE5iM=; b=Kky3Jpzhh1i+ZcOQkLXvm4xvmd0RXemmQTNFQfOeqsDz/oaeBadx+HH3dO645jviJE Lb6CCx9ix0kdk6eiwyU0tcVz07aa16y3xQVlXusuw5xY5ZMZhuQjxMm8CAMB1bBgeyCA rv+1OaAw7WDQtMAT6YwJ0lU+kMGmp3V9f3uv2vjRHuglcLwhm0rDcfjIdKm10AizSley D3DquJPCEjhf2V+OhDoLpxCEQJ4+FwUJAETaBj/jXkRu2qWgcTKwlk/rRekY1jVSbAAw XQxOMfyQvkEfbSt+okBGmo30Brqm9Hcu1hyA0WNPYI90Lex4CUebjljJfhpO3nlrYEpN tkAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717427066; x=1718031866; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qjGw8KVur0TLZye9TJo/9Z43rinUf4tAGB7OXUWE5iM=; b=NZtKKUSNNRPIwt7erb+Yn65LNxhbN1LtpJm4Hi7npYrk1mpepC0qXOKhNVNJlVRc3+ 0s4+9jABwxWlaheTLnr3lhzorzrqfCCBUUTazBENJAOYp4dJHo5XWwc6sSW/6p4CJl/H xloP7Mcf5zjt3HPS4XraWVi9dcL278n4RlOtmmNwqIhH0jmeMi97tr7ldRlUC8H+I/oF osG0lG6COzd4Z/XiWE7W3dSvVXCvzSH+QiqgcaA2OaQHPuh/mwcxg1SH0nDCDnu4jID6 g/PReFxt5Qq+Zc7mWgdoCuVKQa2Ag/cr+kKobENpm/zUc0B89AQbmR9l0M1effwSjh3d ovPQ== X-Gm-Message-State: AOJu0Yyc9ts5XX9fayf9O04Dp+RDVAZWGz0F3b/+eukro9g5cOTzwYel f2VzKtiwcfT6Rr9gDGfi67eNaiblQTXxxQQpLYofNp6W8igX/Kwz X-Google-Smtp-Source: AGHT+IH32RIFnSvGk0Ev6yHEaA681QcHWPXFeCBd1byhb7SrV3Q9nsYFcL7INtEK2xoQGKrpgrpsoA== X-Received: by 2002:a50:aad5:0:b0:578:638e:3683 with SMTP id 4fb4d7f45d1cf-57a3634b650mr7920269a12.5.1717427065368; Mon, 03 Jun 2024 08:04:25 -0700 (PDT) Received: from ?IPv6:2a02:810d:a8bf:dc10:8c29:eff7:bf00:38a0? ([2a02:810d:a8bf:dc10:8c29:eff7:bf00:38a0]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57a31c6d594sm5462958a12.69.2024.06.03.08.04.22 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Jun 2024 08:04:22 -0700 (PDT) To: mailing list for ConTeXt users , ai2472206007@yeah.net References: <171740730911.1996.8667532799233185101@cgl.ntg.nl> From: Wolfgang Schuster Message-ID: <238bcf95-efa2-fc9f-9076-9649f18a3aa1@gmail.com> Date: Mon, 3 Jun 2024 17:04:21 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.60 MIME-Version: 1.0 In-Reply-To: <171740730911.1996.8667532799233185101@cgl.ntg.nl> Content-Language: en-US Message-ID-Hash: MCET26K3B2G6GLQP4DWBFUJHHKNR7OC4 X-Message-ID-Hash: MCET26K3B2G6GLQP4DWBFUJHHKNR7OC4 X-MailFrom: wolfgang.schuster.lists@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Draft vertical text in margins List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit ai2472206007@yeah.net schrieb am 03.06.2024 um 11:35: > you can try 'setuptext' and '\setuptexttexts' to put "draft" in margin.and use 'orientation' to change direction. > > %%%% > \defineframed [marginframe] > [width=max, height=max, style=\ss, > corner=08, location=lohi, frame=off] > \setuptext [style={\ss}] > \setuptexttexts [margin] [] > [\marginframe{\hbox orientation 1 {DRAFT}}] > [\marginframe{\hbox orientation 1 {DRAFT}}] There is no need for low level option when you use \rotate, e.g. [\marginframe{\rotate[rotation=270]{DRAFT}}] \framed has a orientation key but it's not so easy to use in this case because you have to set length for width and height, e.g. \defineframed [marginframe] [width=\textheight, height=\rightmarginwidth, orientation=270] Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________