

\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{t1enc}
\usepackage[magyar]{babel}


\usepackage{graphicx}

\sloppy

\begin{document}

\section{Matematikai mód}

\subsection*{Sorközi kifejezések}

Ha $a$ pozitív, $az$ negatív, akkor $z$ negatív.

Mindegy, hogy $a^2 + b^2 = c^2$

\subsection*{Sorközi kifejezések}

\[ x_{1,2} = \frac {-b \pm \sqrt{b^2 - 4ac}} {2a} \]



...mindenki tudja, hogy a $\pi$ közelíthető
\aref({eq:pi}) kifejezéssel. Mégis megadjuk:
\begin{equation}
\label{eq:pi}
\pi = \lim_{n \to \infty} \sqrt{\sum_{k=1}^n
\frac 6 {k^2}}.
\end{equation}


\begin{equation}
\label{eq:emeletes}
\lim_{n \to \infty} \left( \sqrt {
\frac 1 { \frac 1 n + \sqrt {
\frac 1 { \frac 1 n + \sqrt {
\dots }}}}} \right) = ?
\end{equation}

$\sqrt[3]{2} \approx 1,\!26$

\[ f'(x) = \frac {\mathrm{d} f(x)}{\mathrm d x}\]

\[ x \geq 0, \textrm{ ha $x$ nemnegatív} \]

$f\colon x \mapsto x^2$.

\begin{eqnarray}
1^3 + 2^3 & = & (1 + 2)^2 \nonumber \\ \nonumber
1^3 + 2^3 + 3^3 & = & (1 + 2 + 3)^2 \\
& \vdots \nonumber \\
\sum_{i=1}^n i^3 & = & \left( \sum_{i=1}^n i \right)^2
\end{eqnarray}



\end{document}


\begin{figure}[bp]
\center
\resizebox{80mm}{!}{
\rotatebox{-90}{
%\includegraphics{maki.eps}
\includegraphics{maki.pdf}
}}
\caption{A \LaTeX\ órák mestere}
\label{fig:maki2}
\end{figure}



\begin{figure}
\begin{minipage}{0.49\columnwidth}
\includegraphics[width=\columnwidth]{plot.eps}
\caption{Overall mean fluid level as a function of $d$\label{fig:plot}}
\end{minipage}
\begin{minipage}{0.49\columnwidth}
\includegraphics[width=\columnwidth]{plot1.eps}
\caption{State dependent mean fluid level as a function of $d$\label{fig:plot1}}
\end{minipage}
\end{figure}

eps with proper bounding box to pdf:
ps2pdf -dEPSCrop maki.eps maki.pdf

pdf cropping to proper bounding box:
https://sourceforge.net/projects/briss/

