I'm writing a document in LaTeX, but I can't figure out how I could write the circle symbol in order to indicate the composition of two linear maps, as LaTeX prints "error" when I compile the file. It's weird, as I have seen this in a math book, and I would like to write it in the same format in my file. Here you have what I've done so far:
\documentclass[a4paper,12pt]{article}
\usepackage{esvect}
\usepackage{amssymb}
\usepackage[utf8]{inputenc}
\usepackage[catalan]{babel}
\usepackage{enumerate}
\usepackage{color}
\usepackage{amsmath}
\usepackage{amsthm}
\newcommand{\matriu}[3]{M(#1,B_#2,B_#3)}
\newcommand{\vect}[2]{(#1_1,\dots ,#1_#2)}
\begin{document}
Siguin $B_1=\vect{u}{n}$ una base de $E_1$, $B_2=\vect{v}{m}$ una base de $E_2$ i
$B_3=\vect{w}{s}$ una base de $E_3$. Llavors
\begin{equation*} \matriu{f\circle g}{1}{2}=\matriu{g}{2}{3} \phantom{.} \matriu{f,1,2}
\end{equation*}
\end{document}
Thank you very much for your attention and sorry for any inconvenience I may cause (I'm a newbie on LaTeX).
\circ. – Corentin Mar 19 '13 at 16:13\circinstead of\circle. Second, replace\matriu{f,1,2}with\matriu{f}{1}{2}. – Mico Mar 19 '13 at 16:24