From: Bruce Horrocks <ntg@scorecrow.com>
To: ntg-context mailing list <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Seeking Advice on Electron Configuration Notation in ConTeXt
Date: Thu, 31 Oct 2024 11:34:56 +0000 [thread overview]
Message-ID: <20C977DD-E38E-483E-A522-7F0C1CA706FF@scorecrow.com> (raw)
In-Reply-To: <d386e659-791a-445e-829f-34c65095523d@xs4all.nl>
> On 30 Oct 2024, at 21:45, Hans Hagen <j.hagen@xs4all.nl> wrote:
>
>> 2. Using \installframedcommandhandler can be useful because it allows changing the \framed width and height but it requires a few changes:
>> a) Map style and style to foregroundstyle and foregroundcolor
>> b) Change the depth key to another name, e.g. voffset.
>
> makes sense, it probably makes less sense to also define a command (depends on usage i guess)
I agree with Wolfgang’s suggestions regarding the addition of framecommandhandler - I was going to suggest this thinking that the default line thickness might be too thin for printing.
But there are also some other features that could be added: e.g. a style parameter for the labels text so the font can be changed; and a vertical alignment (location=top|center|bottom).
And, although the StackExchange article originally linked used harpoons for the spin direction, other sources online use regular arrows so that might be an option to add?
Another detail - probably needs input from Jorge - at the moment if there is a single electron, the arrow is centred in the box. Would it help to have an option that up arrows align left and down arrows align right so that there is a space where the missing arrow would go?
(e.g. <https://chem.libretexts.org/Courses/Valley_City_State_University/Chem_115/Chapter_2%3A_Atomic_Structure/2.4_Electron_Configurations>)
So, all of that combined, suggests adding a defineelectrons and a setupelectrons as well?
I’d like to give it a go as a learning exercise - following Wolfgang’s module tutorial - but don’t want to step on anyone’s toes by taking over.
Regards,
—
Bruce Horrocks
Hampshire, UK
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2024-10-31 11:37 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5e4e292b-6d11-4b37-b00d-2e1aefdfe4b6@Spark>
2024-10-29 22:33 ` [NTG-context] " Jorge Manuel
2024-10-29 23:22 ` [NTG-context] " Hans Hagen
2024-10-30 0:21 ` Bruce Horrocks
2024-10-30 10:14 ` Hans Hagen
2024-10-30 10:25 ` Hans Hagen
2024-10-30 20:35 ` Wolfgang Schuster
2024-10-30 20:41 ` Hans Hagen
2024-10-30 21:07 ` Wolfgang Schuster
2024-10-30 21:45 ` Hans Hagen
2024-10-31 11:34 ` Bruce Horrocks [this message]
2024-10-31 12:13 ` Hans Hagen via ntg-context
2024-10-31 15:25 ` Jorge Manuel
2024-10-31 15:28 ` Hans Hagen via ntg-context
2024-10-31 15:47 ` Henning Hraban Ramm
2024-10-31 16:39 ` vm via ntg-context
2024-10-31 17:02 ` Henning Hraban Ramm
2024-10-31 17:38 ` vm via ntg-context
2024-10-31 18:01 ` Henning Hraban Ramm
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20C977DD-E38E-483E-A522-7F0C1CA706FF@scorecrow.com \
--to=ntg@scorecrow.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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).