From: Kyle Meyer <kyle@kyleam.com>
To: "Éric Würbel" <eric@vents-sauvages.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Tags LaTeX export question
Date: Sun, 03 Jan 2021 20:56:51 GMT [thread overview]
Message-ID: <877dotd9im.fsf@kyleam.com> (raw)
In-Reply-To: <87czyldbri.fsf@vents-sauvages.fr>
Éric Würbel writes:
> Hi listers,
>
> How can I customize healine tags export to LaTeX ?
>
> The default settings provide a first line-break but then no more,
> resulting in a truncation in case of a large number of tags.
>
> I need this for a computational poem.
>
> Oh, and if the solution needs elisp programming, no problem, so
> pointing me on some king of hook will be ok.
By default, the headline is formatted with
(defun org-latex-format-headline-default-function
(todo _todo-type priority text tags _info)
"Default format function for a headline.
See `org-latex-format-headline-function' for details."
(concat
(and todo (format "{\\bfseries\\sffamily %s} " todo))
(and priority (format "\\framebox{\\#%c} " priority))
text
(and tags
(format "\\hfill{}\\textsc{%s}"
(mapconcat #'org-latex--protect-text tags ":")))))
You could write a custom variant and point
org-latex-format-headline-function to it. (Or at least I think that
should work; I haven't tested it myself.)
prev parent reply other threads:[~2021-01-03 21:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-03 20:08 Tags LaTeX export question Éric Würbel
2021-01-03 20:44 ` Eric S Fraga
2021-01-03 20:49 ` Éric Würbel
2021-01-03 20:56 ` Kyle Meyer [this message]
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877dotd9im.fsf@kyleam.com \
--to=kyle@kyleam.com \
--cc=emacs-orgmode@gnu.org \
--cc=eric@vents-sauvages.fr \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).