I am getting an error whenever I am trying to view the document in Preview. The two errors are

"LaTeX Error: Command \singlespace already defined."


"LaTeX Error: Command \doublespace already defined."

I am a n00b when it comes to LaTeX, which is why I am using LyX.

closed as unclear what you're asking by Torbjørn T., Werner, egreg, ChrisS, jub0bs Mar 20 '14 at 0:18

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Hi, welcome to TeX.SX. Have you added anything to the LaTeX preamble, or done any other modifications? (Those errors wouldn't occur with the default template, so you must have done something.) Ideally, strip your .lyx file down to the minimum showing the problem, and edit your question to include either the exported LaTeX source, or the contents of the .lyx file (it is a plain text file, you can open it in Notepad or similar, and copy everything). – Torbjørn T. Dec 3 '13 at 21:49

Browse other questions tagged or ask your own question.