[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 23:45:39 +0100 (CET) |
Jan 14, 2022, 09:39 by maciaschain@posteo.net:
> fatiparty@tutanota.com writes:
>
>> If I do something in emacs-lisp I would still need some form of
>> containment characters.
>>
>
> I think a custom link would suffice for text within the paragraph. A
> quick example:
>
> #+begin_src emacs-lisp
> (defface smaller
> '((t :foreground "#8D8D84" :height 0.9))
> "")
>
> (org-link-set-parameters "smaller"
> :face 'smaller
> :export (lambda (path desc format)
> (cond
> ((eq format 'latex)
> (format "{\\small %s}" desc)))))
> #+end_src
>
> This text is important, [[smaller:x][but this one is not so important]]
>
> A screenshot:
>
> https://i.imgur.com/11KbJHQ.png
>
> if you want finer tuning and more control over the format, John's
> scimax-editmarks package seems like a very interesting option (although
> I think Org should remain as format-agnostic as possible...)
>
> Best regards,
> Juan Manuel
>
I would be great if I can do something similar to a footnote (using mg: rather
than fn:)
but with the variation that the text is also within the square brackets.
Example:
[mg:1 Text here uses specialized typeface from main text]
- Re: Playing down the text in org-mode, (continued)
- Message not available
- Playing down the text in org-mode, fatiparty, 2022/01/14
- Re: Playing down the text in org-mode, Juan Manuel Macías, 2022/01/14
- Message not available
- Playing down the text in org-mode, fatiparty, 2022/01/14
- Re: Playing down the text in org-mode, Juan Manuel Macías, 2022/01/14
- Playing down the text in org-mode, fatiparty, 2022/01/14
- Re: Playing down the text in org-mode, Juan Manuel Macías, 2022/01/14
- Re: Playing down the text in org-mode, Tim Cross, 2022/01/14
- Message not available
- Playing down the text in org-mode,
fatiparty <=
- 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
- Playing down the text in org-mode, fatiparty, 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, Tim Cross, 2022/01/13
Re: Playing down the text in org-mode, autofrettage, 2022/01/14