I'm trying to remove the left-indentation inserted automatically before the subsection's text. \noindent and parindent are not working (I guess they're made to work with paragraphs not with sections).
See in the next screenshot in red the indentation (spacing) I'm trying to get rid of:
The only code I'm using to style the subsections (and sections) is the following:
\documentclass{article}
% customize sections style
\usepackage{titlesec}
\titlespacing\section{0pt}{12pt plus 2pt minus 2pt}{12pt plus 4pt minus 2pt}
\titlespacing\subsection{0pt}{12pt plus 2pt minus 2pt}{12pt plus 4pt minus 2pt}
% experience and education items
\newcommand{\experienceline}[3]{
\subsection*{
#1 \hfill \small #2 \newline
\normalsize #3
}
}
\begin{document}
% hobbies section
\section*{Hobbies}
\experienceline{Reading}{2011-2011}{Lorem ipsum dolor sit amet}
\end{document}

\smalland\normalsizetake an argument: they don't. – egreg Dec 17 '16 at 22:30miktexon Windows (I'm not sure this might be because of it). – Hakim Dec 17 '16 at 22:34\subsectionthere's no spacing. The indentation seems to be created by the<CR>character. – Hakim Dec 17 '16 at 23:28%sign. – Hakim Dec 18 '16 at 17:20