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_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,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 64B062C9AE for ; Fri, 15 Mar 2024 14:09:10 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 61F37484C9F for ; Fri, 15 Mar 2024 14:07:53 +0100 (CET) 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=univie.ac.at 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 QZnpmX7qjm6t for ; Fri, 15 Mar 2024 14:07:53 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id B16F0484CA0 for ; Fri, 15 Mar 2024 14:07:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 279F3484B9A for ; Fri, 15 Mar 2024 14:06:39 +0100 (CET) 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 6SYxcZpZeUiv for ; Fri, 15 Mar 2024 14:06:38 +0100 (CET) Received-SPF: None (mailfrom) identity=mailfrom; client-ip=131.130.3.115; helo=grace.univie.ac.at; envelope-from=ursula.hermann@univie.ac.at; receiver= Received: from grace.univie.ac.at (grace.univie.ac.at [131.130.3.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 B381A484B3A for ; Fri, 15 Mar 2024 14:06:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev4; h=MIME-Version:Content-Type:Message-ID:Date:Subject: To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=Cmw8DVKjeF3ItmF2nOOlD2oc8uCK6pRc+6oy/YPwM1k=; b=kNpgU/Jda6ROAaybWuvi0N6gYM +Tvo43266rbf/bJkP5g8HSx5UpQADgaWXYvkHnC/qcBRjXFvGd+sNGiRff818KqYA76MsMWlEs/TR 4n6UfvIA48f2jI/lXkgQgR1Eae62pKcuzYyieXI/QecKqhK6tkq/ldi278SK1hFY6LErffvbW6R4X 6bpObEHJN+L3n+1/Abo2ogp6vm3tGEQRAlRAstsHHUIZIVg4m72A8MBdbW2aQXXcPVrFZKCSsXdaj nn0JBy3NUZvKZRppzNzNABNTZQmUwoNZwe5wesbpaTnQakpQto3JcceXj2nOgnLPbnEkhwqKUuGQ+ CqaVzecA==; Received: from joan.univie.ac.at ([131.130.3.110] helo=joan.univie.ac.at) by grace.univie.ac.at with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.97.1) (envelope-from ) id 1rl7Gf-00000006Lu0-2X8H for ntg-context@ntg.nl; Fri, 15 Mar 2024 14:06:37 +0100 Received: from exdb2.d.univie.ac.at ([131.130.95.52] helo=EXDB2.d.univie.ac.at) by joan.univie.ac.at with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.97.1) (envelope-from ) id 1rl7Gf-00000005Rqm-0sMl for ntg-context@ntg.nl; Fri, 15 Mar 2024 14:06:37 +0100 Received: from EXDB1.d.univie.ac.at (131.130.95.51) by EXDB2.d.univie.ac.at (131.130.95.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Fri, 15 Mar 2024 14:06:30 +0100 Received: from EXDB1.d.univie.ac.at ([fe80::e345:900f:7707:9815]) by EXDB1.d.univie.ac.at ([fe80::e345:900f:7707:9815%4]) with mapi id 15.02.1544.009; Fri, 15 Mar 2024 14:06:30 +0100 From: Ursula Hermann To: mailing list for ConTeXt users Thread-Topic: Struggling with the distance and right margin text Thread-Index: AQHadthRpk6dul/0cU+i75A22zxc4A== Date: Fri, 15 Mar 2024 13:06:30 +0000 Message-ID: <4950e68606c144a7a32aabbfe9196b81@univie.ac.at> Accept-Language: de-AT, en-US Content-Language: de-AT X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.149.175.87] x-process: ESTProcessDone MIME-Version: 1.0 X-Univie-Virus-Scan: scanned by ClamAV on joan.univie.ac.at Message-ID-Hash: VCY2MYT74O6BSNYOVEBQBOW6A2MPSZIP X-Message-ID-Hash: VCY2MYT74O6BSNYOVEBQBOW6A2MPSZIP X-MailFrom: ursula.hermann@univie.ac.at 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] Struggling with the distance and right margin text List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============7771496503580134708==" --===============7771496503580134708== Content-Language: de-AT Content-Type: multipart/alternative; boundary="_000_4950e68606c144a7a32aabbfe9196b81univieacat_" --_000_4950e68606c144a7a32aabbfe9196b81univieacat_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear List, On the first page I had this example: \definepapersize[MyBook][width=3D19cm,height=3D29.7cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setu= ppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper \setupbodyfont[modern, 12.50pt] \definemargindata [MyInMargin][inleft] \definemarginframed[MyInMargin][topframe=3Don,bottomframe=3Don,rulethicknes= s=3D1pt,width=3D1.90cm] \defineenumeration [theorem] [ text=3DTheorem, title=3Dyes, width=3Dfit, distance=3D0.2em, alternative=3Dserried, ] \definetextbackground[GrayBackground][ location=3Dparagraph, background=3Dcolor, backgroundcolor=3Dlightgray, leftoffset=3D.5\bodyfontsize, rightoffset=3D.5\bodyfontsize, topoffset=3D.5\bodyfontsize, bottomoffset=3D.5\bodyfontsize, frame=3Doff,] \margintext{\blackrule[color=3Dblack, height=3D0.10ex, width=3D1cm]\\} \blackrule[color=3Dblack, height=3D0.10ex, width=3D13.50cm] \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17. (Vertauschung von All- und Existenzquantor).} \par So I have here an example from the second page: \definemargindata[inrightmargin][right][margin=3Dmargin,width=3D.50em\right= marginwidth,style=3D,color=3D] \definemarginframed[MyInMargin][topframe=3Don,bottomframe=3Don,rulethicknes= s=3D1pt, width=3D.90cm] \blackrule[color=3Dblack, height=3D0.10ex, width=3D13.40cm] {\blackrule[color=3Dblack, height=3D0.10ex, width=3D1cm, distance=3D.90cm]\= par \defineenumeration [theorem] [ text=3DTheorem, title=3Dyes, width=3Dfit, distance=3D0.2em, alternative=3Dserried, ] \inright{3.2.22} {\bf Theorem 3.2.22 (Rechenregeln f=FCr Quantoren)}. Seien \m P(\m x)und My problem here is that there is not the same distance between the the tex= t and the margintext . And now the margintext should be on the right side. So maybe someone could help me please. Many thanks. --_000_4950e68606c144a7a32aabbfe9196b81univieacat_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Dear List, 



On the first page I had this example:
\definepapersize[MyBook][width=3D19cm,height=3D29.7cm]
\setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %= \setuppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper
\setupbodyfont[modern, 12.50pt]
\definemargindata  [MyInMargin][inleft]
\definemarginframed[MyInMargin][topframe=3Don,bottomframe=3Don,rulethi= ckness=3D1pt,width=3D1.90cm]
\defineenumeration
  [theorem]
  [
    text=3DTheorem,
    title=3Dyes,
    width=3Dfit,
    distance=3D0.2em,
    alternative=3Dserried,
  ]
\definetextbackground[GrayBackground][
  location=3Dparagraph,
  background=3Dcolor,
  backgroundcolor=3Dlightgray,
  leftoffset=3D.5\bodyfontsize,
  rightoffset=3D.5\bodyfontsize,
  topoffset=3D.5\bodyfontsize,
  bottomoffset=3D.5\bodyfontsize,
  frame=3Doff,]
  \margintext{\blackrule[color=3Dblack, height=3D0.10ex, width=3D= 1cm]\\}
  \blackrule[color=3Dblack, height=3D0.10ex, width=3D13.50cm]
\starttext
\margintext {1.1.1}
{\bf Beispiel 3.2.17. (Vertauschung von All- und Existenzquantor).} \p= ar

So  I have here an example from the second page: 


\definemargindata[inrightmargin][right][ma= rgin=3Dmargin,width=3D.50em\rightmarginwidth,style=3D,color=3D]

\definemarginframed[MyInMargin][topframe=3Don,bottomframe=3Don,rulethi= ckness=3D1pt, width=3D.90cm]
\blackrule[color=3Dblack, height=3D0.10ex, width=3D13.40cm]
{\blackrule[color=3Dblack, height=3D0.10ex, width=3D1cm, distance=3D.9= 0cm]\par
\defineenumeration
  [theorem]
  [
    text=3DTheorem,
    title=3Dyes,
    width=3Dfit,
    distance=3D0.2em,
    alternative=3Dserried,
  ]
\inright{3.2.22}
{\bf Theorem 3.2.22 (Rechenregeln f=FCr Quantoren)}. Seien \m P(\m x)u= nd 

My problem here is that there is not the same distance between the &nb= sp;the text and the  margintext .

And now the margintext should be on the right side. 

So maybe someone could help me please. 
Many thanks. 




--_000_4950e68606c144a7a32aabbfe9196b81univieacat_-- --===============7771496503580134708== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============7771496503580134708==--