Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misalignment of org-table caused by targets and links #22

Open
ujikol opened this issue Feb 11, 2021 · 4 comments
Open

Misalignment of org-table caused by targets and links #22

ujikol opened this issue Feb 11, 2021 · 4 comments

Comments

@ujikol
Copy link

ujikol commented Feb 11, 2021

image

@ujikol
Copy link
Author

ujikol commented Feb 16, 2021

Can you give me quick solution/work-around?
(face-remap-add-relative 'org-link :fixed-pitch t) does not work

@kunalb
Copy link
Owner

kunalb commented Feb 16, 2021

The quickest one would be to make links fixed-pitch everywhere by customizing the face; I don't have a clean solution for just tables at the moment.

@ujikol
Copy link
Author

ujikol commented Feb 18, 2021

Yes, but how can I change a face exactly? (face-remap-add-relative 'org-link :fixed-pitch t) does not work.

@kunalb
Copy link
Owner

kunalb commented Feb 18, 2021

Oh, sorry I didn't understand -- this should do it (after loading the theme).

(set-face-attribute 'org-target nil 
                    :inherit 'fixed-pitch)
(set-face-attribute 'org-link nil 
                    :foreground "#0000ff"
                    :inherit 'fixed-pitch)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants