From: Heime <heimeborgia@protonmail.com>
To: Heime via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
Subject: Documentation of latex style functions
Date: Sat, 30 Dec 2023 00:50:02 +0000 [thread overview]
Message-ID: <nceIXelua8mRPFhXI4eyV8A4amVlA2jDFdR-vqO3NR3EnkHOjNBIpRYrGsc_hikq9xYuZ8Ij31okYsqjHRKz8wrYsdXYWtnXO5kyZ3P6Ukc=@protonmail.com> (raw)
Have made some Latex Style files with a number of functions and commands.
I would like to display some documentation for the Latex Style Functions
directly from Emacs. What possibilities are there to do such a thing ?
\NewDocumentCommand {\Firzp} { s O{blue} O{it} m }
{
\group_begin:
\color{#2} % FYR-KLR
\str_case:nnF {#3} % FYR-SHP
{
%% Render in roman or italic type
{rm} { \IfBooleanTF {#1} % {string-case-1} {string-code-1}
{ $\mathrm{#4}$ }
{ \mathrm{#4} } }
{it} { \IfBooleanTF {#1} % {string-case-2} {string-code-2}
{ $\mathit{#4}$ }
{ \mathit{#4} } }
}
%% {false-code} NotIn{#3,(rm,it)}
{
\IfBooleanTF {#1}
{ $\mathit{#4}$ }
{ \mathit{#4} }
}
\group_end:
} % \wvFyrZp ends here
next reply other threads:[~2023-12-30 0:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-30 0:50 Heime [this message]
2023-12-30 1:07 ` Documentation of latex style functions Emanuel Berg
2023-12-30 19:05 ` Heime
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='nceIXelua8mRPFhXI4eyV8A4amVlA2jDFdR-vqO3NR3EnkHOjNBIpRYrGsc_hikq9xYuZ8Ij31okYsqjHRKz8wrYsdXYWtnXO5kyZ3P6Ukc=@protonmail.com' \
--to=heimeborgia@protonmail.com \
--cc=help-gnu-emacs@gnu.org \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).