I'm trying to define a new command similar to
\newcommand {\mainv} {\par\noindent\hspace*{0pt}\ignorespaces}
However, I want to have some negative preceding vertical space. I know that \vspace
adds vertical space after the text. Is there a similar command that can add vertical space before the text?
The command that will provide the following output will be:
\main {This text is written using command main}
\mainv {This text is written using command mainv}
where \main
is defined as
\newcommand {\main} {\par\noindent\hspace*{0pt}\ignorespaces}
Best Answer
Something like this?