I want to counter paragraphs, always like x.y where x is section number and y is paragraph number in that section.
\documentclass[11pt, twocolumn, a4paper]{article}
\usepackage[left=1.5cm, text={18cm, 25cm}, top=2.5cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[IL2]{fontenc}
\usepackage[czech]{babel}
\usepackage{times}
\begin{document}
\section{A}
foo
\paragraph{Definition % 1.1 %}
here is definition 1.1 and i need to reference it later as 1.1
\section{B}
bar
\paragraph{Definition % 2.1 %}
\end{document}
Can anyone help please?


\subsections? What about\subsubsections? What\documentclassare you using? Please provide the community with a minimal working example (MWE). – Werner Mar 26 '14 at 23:47\paragraphis defined to be the section level below\subsubsectionIt is possible to redefine things to lose subsection and subsection but it's a lot simpler to simply use them. – David Carlisle Mar 26 '14 at 23:52amsthm, and welcome to TeX.SX :) – Sean Allred Mar 27 '14 at 00:06