# Even and odd side margin

I would like odd and even side margins in my document and I would like ask how could I set my document to automatically switching the margins. (And it would be important to keep the settings of the text).

This is my code right now:

\documentclass[a4paper,11pt]{article}
\usepackage{geometry}
\usepackage{multirow}
\usepackage{anysize}
\usepackage[utf8]{inputenc}
\usepackage[magyar]{babel}
\usepackage{url}
\usepackage{dsfont}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{relsize}
\usepackage{comment}
\usepackage{contour}
\usepackage{amssymb}
\usepackage{array}
\usepackage[normalem]{ulem}
%\usepackage{bbold}
\usepackage{subfigure}

\begin{document}
Some text.
\end{document}

• Are you looking for the [twopage] option of your documentclass? \documentclass[twoside]{article} – Rico May 19 '15 at 17:21
• Yes but when I try this it messes up my document, and I can't see any changes of the margins. – Alíz May 19 '15 at 17:32
• There are a huge number of answers to this question, but we can't know what will be useful without seeing a minimal example of your document and some suggestions about what margins you want. The best answer will likely be memoir. – Ryan May 19 '15 at 17:40
• [twoside] option does exactly this, if you have a case where it is not working show a small complete example document that shows the problem. – David Carlisle May 19 '15 at 18:01
• your example isn't really large enough to show any problem with changing the first line to \documentclass[twoside,a4paper,11pt]{article} which should be the answer. – David Carlisle May 19 '15 at 19:49