I'm looking for a way to write a macro that will add a line break after the text from the argument, but prevent that line break to add to another line break, if there is one following.
If I use \newcommand*\ask[1]{{\bf Q:} #1 \\} and then use \ask{How?} \\ I will have used two \\ and thus get two vertical spaces. But I just want one line break, no further vertical space. The same holds for \newline, \\* and \hfill\break.
Sorry, if my description sounds confusing, I may not have used the proper LaTeX terms. I hope you understand my question anyway.
\\should almost never be used outside of tables. use\par(or equivalently a blank line) also\textbf{G}(\bfis just for compatibility with the 1908's version of latex and is not defined by default in the latex format) – David Carlisle Sep 12 '14 at 09:46Qis presumably a heading of sorts in which case you should probably use a heading or list item command (which would automatically have the effect you want of ignoring any following blank lines)\section*{Q}xxxand\section*{Q} <blank line> xxxare typeset the same way – David Carlisle Sep 12 '14 at 10:04{}I can make the comments disappear and can create a different version of said document. – cxxl Sep 12 '14 at 20:14