## 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

Hello,

I am using the following preamble.
\documentclass[11pt,a4paper,twoside,final,makeidx,openright]{book}%report\usepackage[latin1]{inputenc}\usepackage[frenchb,english]{babel}\usepackage[allowzeroexp=true,obeymode=true,redefsymbols,textcelsius,textdegree,textminute,textmu,load={abbr,addn},decimalsymbol=comma]{siunitx} \usepackage{circuitikz} \usepackage{everyshi}\usepackage{amssymb}\usepackage{graphicx}\usepackage[usenames,dvipsnames]{pstricks}\usepackage[dvipsnames]{xcolor}%\usepackage{epsfig}\usepackage{fancybox}\usepackage{pst-grad} % For gradients\usepackage{pst-plot} % For axes%\usepackage{textcomp} % For degrees\usepackage{pst-text}\usepackage{pst-tree}\usepackage{pst-eps}\usepackage{pst-fill}\usepackage{pst-node}\usepackage{pst-math}\usepackage{psfrag}\usepackage{gensymb}\usepackage{lscape}\usepackage[usenames,dvipsnames]{pstricks}\usepackage{amsthm}\usepackage{lettrine}\usepackage{color}\usepackage{rotating}\usepackage{fancyhdr} \begin{document}Test.\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.

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

localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 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.

Best regards
Thorsten
LaTeX Community Moderator

¹ 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
That was it. Thanks.