* Should be possible to export list items emphasized by default?
@ 2021-11-14 17:08 Ypo
2021-11-17 13:33 ` Juan Manuel Macías
0 siblings, 1 reply; 2+ messages in thread
From: Ypo @ 2021-11-14 17:08 UTC (permalink / raw)
To: Org-mode
[-- Attachment #1: Type: text/plain, Size: 265 bytes --]
Is it intended to not be able to emphasize the whole item of a list?
Example:
/1. Introduction/
It doesn't work as a list item
1. //Introduction//
It works as a list item but, when exporting, it doesn't export the whole
item emphasized.
Best regards,
Ypo
[-- Attachment #2: Type: text/html, Size: 947 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Should be possible to export list items emphasized by default?
2021-11-14 17:08 Should be possible to export list items emphasized by default? Ypo
@ 2021-11-17 13:33 ` Juan Manuel Macías
0 siblings, 0 replies; 2+ messages in thread
From: Juan Manuel Macías @ 2021-11-17 13:33 UTC (permalink / raw)
To: Ypo; +Cc: orgmode
Ypo writes:
> /1. Introduction/
>
> It doesn't work as a list item
>
> 1. /Introduction/
>
> It works as a list item but, when exporting, it doesn't export the
> whole item emphasized.
If I have understood correctly, you want to export the label emphasized
as well, not just the item content... It does not make much sense to
emphasize a label within a list by direct formatting: the style of the
labels must be homogeneous and consistent. On the other hand, the style
for a list environment must be modified in LaTeX globally. The easy way
is to use the enumitem package. For example, if you want all labels in
italics:
#+LaTeX_Header: \usepackage{enumitem}
#+ATTR_LaTeX: :options [label=\emph{\arabic*}.]
1. /foo/
2. /bar/
3. /baz/
The :options attribute pass an optional argument to the `enumerate'
environment, with all the options for the environment (a list of comma
separated keyval values):
\begin{enumerate}[label=\emph{\arabic*}.]
\item \emph{foo}
\item \emph{bar}
\item \emph{baz}
\end{enumerate}
See: https://www.ctan.org/pkg/enumitem
Best regards,
Juan Manuel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-17 13:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-14 17:08 Should be possible to export list items emphasized by default? Ypo
2021-11-17 13:33 ` Juan Manuel Macías
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).