I am using evironments to typeset some paragraphs of text with different fonts. I want the first paragraph after \begin{environment}
to have no indentation. My code is
\newenvironment{aut}{\par}{\par}
\AtBeginEnvironment{aut}{\vspace{\baselineskip}\fontfamily{pzc}\selectfont \par\noindent}
This doesn't have the desired effect, since the first paragraph is indented.
I also tried
\newenvironment{aut}{\par}{\par}
\AtBeginEnvironment{aut}{\vspace{\baselineskip}\fontfamily{pzc}\selectfont\par\parindent0pt}
but this sets the indent to zero for ALL paragraphs inside the environment, whereas I only want the first paragraph to have no indentation. Any suggestions? Thanks in advance!
\AtBeginEnvironment
here. But please post a working example rather than fragments. I would say that the order in which things are being done is not the one you are counting on and not confusing things with\AtBeginEnvironment
will solve the problem. But, as I can't test, obviously that's a guess.