all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Documentation of latex style functions
@ 2023-12-30  0:50 Heime
  2023-12-30  1:07 ` Emanuel Berg
  0 siblings, 1 reply; 3+ messages in thread
From: Heime @ 2023-12-30  0:50 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor


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






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-30 19:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-30  0:50 Documentation of latex style functions Heime
2023-12-30  1:07 ` Emanuel Berg
2023-12-30 19:05   ` Heime

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.