ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Ali Ali <111414w@gmail.com>
Subject: [NTG-context] Re: Section number in the margin and the section title followed by paragraph!
Date: Sat, 27 Jan 2024 09:33:03 +0100	[thread overview]
Message-ID: <124ef846-6529-024a-9e6c-bec2f199dcf9@gmail.com> (raw)
In-Reply-To: <170633183126.4140450.14730066835246520464@cgl.ntg.nl>

Ali Ali schrieb am 27.01.2024 um 06:03:
> I've able to achieve the results I wanted by trial/errrr using the code shown below.
> """
> \def\subsecnumwrapper#1{\llap{#1\hskip8pt}}
> \setuphead[subsection][alternative=text,numbercommand=\subsecnumwrapper,distance=0pt]
> """
> I just wanted to know if there already an option defined to achieve the desired result.

\setuphead [subsection] [alternative=margin]
%\setuphead [subsection] [alternative=inmargin]
%\setuphead [subsection] [alternative=margintext]


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

  reply	other threads:[~2024-01-27  8:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-27  5:03 [NTG-context] " Ali Ali
2024-01-27  8:33 ` Wolfgang Schuster [this message]
2024-01-27 16:40   ` [NTG-context] " Ali Ali
2024-01-27 17:40     ` Pablo Rodriguez via ntg-context
2024-01-28  9:29       ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=124ef846-6529-024a-9e6c-bec2f199dcf9@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=111414w@gmail.com \
    --cc=ntg-context@ntg.nl \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).