Reputation: 4702
I want to place text like site_volume
into a column of an org-table. Outside of tables I would wrap the text with =equals_signs= to guarantee the underscores within were displayed literally, but doing that inside tables causes the text to be treated as a formula and it gets replaced by ERROR!. Is there alternate literal syntax within tables?
Upvotes: 1
Views: 393
Reputation: 1360
Or use the shell backslash to 'quote' the underscore to avoid Org-mode interpreting it as markup, eg:
| Variable | File |
| some\_variable | test.c |
| some\_other\_variable | test2.c |
In combination with the following this can make things pretty readable in Emacs Org-mode buffers, even without exporting to HTML/PDF:
(setq org-pretty-entities t)
(setq org-hide-emphasis-markers t)
Upvotes: 1
Reputation: 5036
Try using the tilde (~) to quote the values instead of equals. It's for quoting things that don't need to be displayed in a fixed-width font.
Upvotes: 4