emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Macro replacement inside +attr_latex line


From: Berry, Charles
Subject: Re: Macro replacement inside +attr_latex line
Date: Thu, 6 Aug 2020 17:23:39 +0000


> On Aug 4, 2020, at 6:17 AM, Vikas Rawal <vikasrawal@gmail.com> wrote:
> 
> Found the answer in the mailing list archives
> (https://lists.gnu.org/archive/html/emacs-orgmode/2013-09/msg00234.html).
> Not allowed.
> 


But, ...

#+macro: attr_latex #+attr_latex: $1


* abc

{{{attr_latex(:width 10)}}}
[[file:abc.png]]

should get you started.

HTH,
CCB




> Vikas
> 
> On Tue, 4 Aug 2020 at 18:33, Vikas Rawal <vikasrawal@gmail.com> wrote:
>> 
>> Does orgmode macro replacement not work in an +attr_latex line? I was
>> thinking of using shortcuts for some complex latex syntax.
>> 
>> Vikas
> 
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]