Text Formatting\ohm already defined

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

\ohm already defined

Post by latexforever »

Hello,

I am using the following preamble.

Code: Select all

\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 ... i/test.rar.


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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

\ohm already defined

Post by localghost »

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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ 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

Re: \ohm already defined

Post by latexforever »

That was it. Thanks.
Post Reply