Fixed Typo, added Compatibility to Orgmode PDF export with better margin control #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey there,
as I am currently starting my thesis, I took a look at the template and made some additions. This pull request containsnthe following:
Fixed a typo in the sty file:
TeX Gyre Heros
was misspelledAdded Compatibility for Orgmode export using Emacs, most changes are relatied to this:
settings.org
setupfile was addedorgmode_isw_template.org
, together with the resulting tex and pdf files.As Orgmode Compatibility also requires some setup on the Emacs side of things, I've added the necessary configuration snippets for Doom Emacs to the example file. See the Doom Emacs Documentation on how to install it and set it up. There might be additional system dependencies you also need to take care of for the export to work:
Why Orgmode?
There are a bunch of reasons, e.g. readability and the fact that org files are rendered on many Platforms such as Github, Gitlab or the fact that it can be exported into a myriad of other file formats.
After setting up Doom Emacs according to the instructions in the example file, it can be opened and exported to PDF using
C-c C-e l p
(which is the Emacs way of saying pressCtrl-c
Ctrl-e
l
p
) orM-x org-latex-export-to-pdf
(which means PressAlt
x
and then enterorg-latex-export-to-pdf
into the prompt). This export still causes errors, however they are related to the already existing example files which are inluded in the back of the example of the file, so I didn't take a closer look there.Added better Margin Control in the settings.org file. This allows for more finegrained control of the margins in case wider code blocks, figues or tables are used. Examples are in that file as well.
Apart from fixing the
TeX Gyre Heros
typo, all the changes I've made are contained to the Orgmode files.