I'm writing a book and then using LaTeX to create a personal review version because I like to have a specific look when editing. (I'm just using article class. I'm a beginner at LaTeX .
I want the text with no indent, a single line between the paragraphs, and the paragraphs manually numbered with the number in the left margin. I can get the line break fine, but the manual numbering is causing a slight indent of each paragraph. The problem disappears when I remove my numbering, but I prefer to be able to number the paragraphs manually.
My poor code:
\documentclass{article}
%Page
\usepackage[a4paper, left=6cm, right=5cm, top=2.5cm, top=4cm, showframe=true]{geometry}
\setlength{\parindent}{0em}
\setlength{\parskip}{1em}
%Fonts
\usepackage{fontspec}
\setmainfont{Equity Text B}
%Numbering
\reversemarginpar
\newcounter{paranum}
\newcommand{\xx}{%
\leavevmode
\refstepcounter{paranum}
\marginpar{\normalsize\textbf{[\arabic{paranum}]}.}}
\documentclass{...}
and ending with\end{document}
.