0

I am not the best when it comes to working with programs like LaTeX and I am unable to open a .tex document, or rather 'LaTeX it' since it keeps coming up with this error. I have downloaded slashbox.sty, but I am not sure where to put it so that LaTeXiT can use it. Where should it go?

marked as duplicate by Werner, user31729, percusse, user13907, barbara beeton Nov 20 '14 at 21:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

How can I manually install a package on MiKTeX (Windows)

Basically, you can open a tex file with a text editor such as Apple TextEdit, notepad (Windows) or gedit (Gnome) for instance.

You can "LaTeX it" with the command pdflatex within an Apple Terminal or after typing cmd in the Windows start menu. Check out the FAQ of your LaTeX distro.

LaTeX begin

hth

  • I'm not quite sure what you mean. I have a .tex file I'd like to run so I can see it in pdf form, but I can't since when I try to use LaTeXiT an error comes up as above. Are you saying that by opening slashbox.sty in TextEdit I could get this to run? – user30542 May 11 '13 at 16:10
  • 1
    no, that was not the statement. at the begin, you should read a little bit instead of guessing. for instance, you are coding within a tex file (at the begin) and not within a sty file. – mnemonic May 11 '13 at 16:24
0

You need to create a folder inside your TeX home directory. You can find this directory typing this in your console:

kpsewhich -var-value=TEXMFHOME

Then, inside the directory that your console echoed create a folder that holds your .sty.

I think you should look at this question: Where do I place my own .sty or .cls files, to make them available to all my .tex files?

  • 3
    Welcome to TeX.SX! This is rather a comment than an answer and should be converted to a comment by a moderator. – user31729 Nov 20 '14 at 20:43

Not the answer you're looking for? Browse other questions tagged or ask your own question.