Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)FA
Far-Anywhere2876 @alien.top
BOT
Posts 4
Comments 0

Is there a way to override org-mode's default placement parameter for latex figures?

I know this can be done via #+attr_latex: :placement [] over the figure itself, but is there a variable I can set this parameter to always be [H] rather than its default value ([htbp]?

0

Any way to stop org mode from adding preceding commas from src blocks?

When writing C code in org mode, things , after pressing Enter or Tab, like...

*(p2+1)='e';

end up w/ preceding commas. I've tried w/ emacs -q and I have the same issue. Is there any short term fix for this?

UPDATE

I realize now this is a quoting mechanism to prevent confusion inside an org document, and that this should not be removed. Instead is there a good way to font lock these commas so that they are barely visible?

2

How to make org mode only fontify subscripts/superscripts if there are brackets?

I want to disable the fortification of things like a_b and a^b while letting things like a^{b} and a_{b} get fontified in org mode. Is there a good way to do this?

1

Is there a way to define an org entity in a way that it does not require a backslash?

Specifically, I want := to show up as ≔ in my buffer, and export as such.

If I do...

(add-to-list 'org-entities-user '(":=" "\\coloneq" t "≔" ":=" ":=" "≔"))

I need to add a backslash before the symbol. Is there a way to achieve what I want?

1