LaTeX forum ⇒ Text Formatting\ohm already defined

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
latexforever
Posts: 120
Joined: Fri Nov 14, 2008 9:40 pm

\ohm already defined

Postby latexforever » Sat Jul 11, 2009 1:54 pm

Hello,

I am using the following preamble.
  1. \documentclass[11pt,a4paper,twoside,final,makeidx,openright]{book}%report
  2. \usepackage[latin1]{inputenc}
  3. \usepackage[frenchb,english]{babel}
  4. \usepackage[allowzeroexp=true,obeymode=true,redefsymbols,textcelsius,textdegree,textminute,textmu,load={abbr,addn},decimalsymbol=comma]{siunitx}
  5.  
  6. \usepackage{circuitikz}
  7.  
  8. \usepackage{everyshi}
  9. \usepackage{amssymb}
  10. \usepackage{graphicx}
  11. \usepackage[usenames,dvipsnames]{pstricks}
  12. \usepackage[dvipsnames]{xcolor}
  13. %\usepackage{epsfig}
  14. \usepackage{fancybox}
  15. \usepackage{pst-grad} % For gradients
  16. \usepackage{pst-plot} % For axes
  17. %\usepackage{textcomp} % For degrees
  18. \usepackage{pst-text}
  19. \usepackage{pst-tree}
  20. \usepackage{pst-eps}
  21. \usepackage{pst-fill}
  22. \usepackage{pst-node}
  23. \usepackage{pst-math}
  24. \usepackage{psfrag}
  25. \usepackage{gensymb}
  26. \usepackage{lscape}
  27. \usepackage[usenames,dvipsnames]{pstricks}
  28. \usepackage{amsthm}
  29. \usepackage{lettrine}
  30. \usepackage{color}
  31. \usepackage{rotating}
  32. \usepackage{fancyhdr}
  33.  
  34. \begin{document}
  35. Test.
  36. \end{document}


At compilation, I receive ``command \ohm already defined,'' but I do not understand why. Can somebody tell me why, and how I can manage to make this right?

As this package depends on many files that can be unavailable on your computer, I have compressed the whole files and the .tex one. The resulting rar file is available for download on http://www.student.montefiore.ulg.ac.be/~merciadri/test.rar.


Thanks in advance.
Last edited by latexforever on Sat Jul 11, 2009 4:08 pm, edited 1 time in total.

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Sat Jul 11, 2009 3:25 pm

Try out on your own by excluding one package after the other (which is the principle of building a MWE). I suspect the gensymb package because I know from siunitx that it defines this command.

Please upload attachments to the forum server because external links can get lost with time.


Best regards
Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

latexforever
Posts: 120
Joined: Fri Nov 14, 2008 9:40 pm

Postby latexforever » Sat Jul 11, 2009 4:08 pm

That was it. Thanks.


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 3 guests