[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-mode pretty entities has \perp but not \parallel
From: |
Brady Trainor |
Subject: |
Re: [O] org-mode pretty entities has \perp but not \parallel |
Date: |
Tue, 18 Nov 2014 02:56:38 -0800 |
Rasmus <address@hidden> writes:
> Brady Trainor <address@hidden> writes:
>
[ snip ]
>> #+BEGIN_SRC emacs-lisp
>> ("parallel" "\\parallel" t "∥" "||" "||" "%")
>> #+END_SRC
>
> Except the ∥ that was somehow eaten in your snip (but OK below).
Hmm, not sure where that happened, I'll have to look out for that when I'm
emailing unicode parallel lines again. :)
>
>> I also tried to add something like
>>
>> #+BEGIN_SRC
>> ("|" "\\\|" t "∥" "||" "||" "%")
>> #+END_SRC
>>
>> with "\\\|" or "\\|", but it wasn't working for me. I didn't see any
>> non-alphabetical entities ("name") in the variable org-entities-user,
>> so I was guessing it wouldn't work with a one-line edit.
>
> I think they are not the same. I'd use $\|x\|_2$ for a norm, say.
> Parallel is a relation: $a\parallel b$.
Ah yes. Now this \| makes more sense.
>
>> Is the patch okay? I simply used C-x s d (C-g C-x b *Diff* RET).
>
> If you want to go "all in", which is a lot of fun, you have to submit a
> TINY PATCH:
>
> http://orgmode.org/worg/org-contribute.html
>
> Otherwise, I'm happy to submit it for you (though I'm not sure if
> something like this would go to maint or master...?)
>
> —Rasmus
Yes please do submit when you have the time, though I will try to get closer to
being setup for this when I can. (E.g., I'm currently on Elpa Org-mode... and
my commits are mostly linear for personal files.)