Computer Lab: Adding LaTeX Styles
tehempe edited this page Nov 24, 2017
·
1 revision
The computers in the Lab have LaTeX installed but not all
necessary style files are installed. R Markdown typically depends
on framed
and I am aware of the fact that, in some cases,
you encounter an error that filehook
style is missing.
Therefore, we will install the following styles ourselves:
To put it simply, copy necessary files to ~/Library/texmf/tex/
. Done.
Well, it's not as easy as it sounds. The problem is that ~/Library
is invisible by default. (Do you remember that ~ is the home directory? If not, see: Home Directory).
Do the following one by one.
- Visit rokko-ma17q2/latex-styles, click on "Clone or Download" and click "Download ZIP". The files will be automatically be uncompressed when the download is complete.
- Find
texmf
folder within thelatex-styles-master
folder. After finding it, you will move thistexmf
folder into~/Library
(which is still invisible). - Open up a new Finder window (Command + N) or click on any blank space on the desktop image. Then hold Shift ⇧ + Command ⌘ + G on your keyboard (Press G while holding down both Shift ⇧ and Command ⌘ keys). A dialog box will open, as shown below.
- Type
~/Library
in the dialog box and click on Go. This step will open the~/Library
folder, even though it remains invisible to you. - Move
texmf
to that folder.
Do the homework!