[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Playing down the text in org-mode
From: |
fatiparty |
Subject: |
Playing down the text in org-mode |
Date: |
Thu, 13 Jan 2022 20:31:06 +0100 (CET) |
Jan 14, 2022, 07:19 by maciaschain@posteo.net:
> John Kitchin writes:
>
>> It depends on what you mean. I can't think of a standard markup for
>> de-emphasis. You could imply it with color perhaps, e.g. some shade of
>> grey, or size by making it smaller. At least for LaTex/HTML, both of
>> those can be done. You would either need to use something like a
>> macro, or a link for something like that I think.
>>
>
> The problem is that the concept of nested emphasis only works in LaTeX.
> I agree that a macro would be a good solution, putting the argument in
> 'normal' text. An approximation could be:
>
> #+begin_src emacs-lisp
> (defun macro-no-emph (arg)
> (let* ((backend org-export-current-backend))
> (cond ((eq org-export-current-backend 'latex)
> (concat "@@latex:{\\normalfont @@" arg "@@latex:}@@"))
> ((eq org-export-current-backend 'html)
> (concat "@@html:<span style=\"font-style:normal;\">@@" arg
> "@@html:</span>@@"))
> ((eq org-export-current-backend 'odt)
> ;; a character style `normal' must be definded for odt
> (concat "@@odt:<text:span text:style-name=\"normal\">@@" arg
> "@@odt:</text:span>@@")))))
>
> (setq org-export-global-macros
> '(("noemph" . "(eval (mi-macro-emph $1))")))
> #+end_src
>
> /foo {{{noemph(bar)}}} baz/
>
I find not much need for nested non-emphasised within emphasized text.
What I am looking for in playing down, but as compared to normal text.
In summary, as there are characters to emphasize text over normal text,
I am asking if there could be a some other characters that show the text
in less conspicuous manner when compared to normal text.
- Playing down the text in org-mode, fatiparty, 2022/01/13
- Re: Playing down the text in org-mode, Juan Manuel Macías, 2022/01/13
- Re: Playing down the text in org-mode, John Kitchin, 2022/01/13
- Message not available
- Playing down the text in org-mode, fatiparty, 2022/01/13
- Re: Playing down the text in org-mode, John Kitchin, 2022/01/13
- Re: Playing down the text in org-mode, Juan Manuel Macías, 2022/01/13
- Playing down the text in org-mode, fatiparty, 2022/01/13
- Re: Playing down the text in org-mode, Juan Manuel Macías, 2022/01/13
- Playing down the text in org-mode, fatiparty, 2022/01/13
- Re: Playing down the text in org-mode, Ihor Radchenko, 2022/01/13
- Message not available
- Playing down the text in org-mode, fatiparty, 2022/01/13
- Re: Playing down the text in org-mode, Juan Manuel Macías, 2022/01/13
- Re: Playing down the text in org-mode, Eric S Fraga, 2022/01/14