When using the following code I get unsightly spaces (following the opening parentheses, after the = and between the x' and y'):
[$](\quad \overline{x+y})=\quad \overline{x}\quad \overline{y}[/$]

What am I doing wrong?
If it helps, I am using Anki with its default header and footer settings:
\documentclass[12pt]{article}
\special{papersize=3in,5in}
\usepackage[utf8]{inputenc}
\usepackage{amssymb,amsmath}
\pagestyle{empty}
\setlength{\parindent}{0in}
\begin{document}
\end{document}
Also, please forgive me if I am unclear or have duplicated a question; I am new to TeX and unfamiliar with the terminology.


