I'm trying to have no indentation in first line after section title. Changing the argument of \setbeforesecskip and \setaftersecskipto positive and negative value seem not to help (just "1sp" in\setaftersecskip gets some results but section title looks different then).
I noticed it's a tricky topic in memoir.
\documentclass[10pt,twoside, openright,twocolumn]{memoir}
\usepackage{lipsum}
% Section rules
\newcommand{\SecRule}[1][\medskipamount]{\par
\vspace*{\dimexpr-\parskip-\baselineskip+#1}
\noindent\rule{\columnwidth}{0.4mm}\par
\vspace*{\dimexpr-\parskip-.5\baselineskip+#1}}
\setbeforesecskip{-12mm}
\setaftersecskip {-1sp}
\setsecnumformat{\csname the#1\endcsname\par\nobreak\vspace{-0.1cm}
\SecRule \par\nobreak }
\newcommand{\ruledsec}[1]{
\fontsize{13pt}{12pt} \bfseries \centering \MakeUppercase{#1} \par
\vspace{0.2cm}
}
\setsecheadstyle{\ruledsec}
\begin{document}
\section{Test}
\lipsum[1]
\lipsum[1]
\end{document}
Following the replies to these topics did not help First paragraph of section becomes indented after setting \setbeforesecskip (memoir class) First paragraph indented after section title in margin

