TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

marked as duplicate by Werner, Christian Hupfer, percusse, Papiro, 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.

Welcome to TeX.SX! Usually, we don't put a greeting or a “thank you” in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Accepting and upvoting answers is the preferred way here to say “thank you” to users who helped you. – Peter Jansson May 11 '13 at 16:07

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


share|improve this answer
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
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

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 files, to make them available to all my .tex files?

share|improve this answer
Welcome to TeX.SX! This is rather a comment than an answer and should be converted to a comment by a moderator. – Christian Hupfer Nov 20 '14 at 20:43
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – mafp Nov 20 '14 at 22:30
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. – ChrisS Nov 20 '14 at 22:52

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