TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Document class

I use the following document class: sig-alternate.cls

The document class can be found at: http://www.acm.org/sigs/publications/proceedings-templates


I have the following code:

\conferenceinfo{Text 1 here}{Text 2 here}

and I wish the output would be:

Text 1 here
Text 2 here

Right now both text sentences align after each other.

I have tried to look at double \ and also at \newline but haven't been successful so far.

share|improve this question
It would help those trying to help you if you provided an MWE starting with \documentclass and demonstrating the issue. – Steven B. Segletes Feb 26 '14 at 13:24
'\newcommand\conferenceinfo[2]{\noindent#1\par\noindent#2}`? (I'm assuming you don't want to indent the first argument.) – Marc van Dongen Feb 26 '14 at 13:25
@StevenB.Segletes Sorry about that, I will update the description. – kexxcream Feb 26 '14 at 13:26
@MarcvanDongen I tried your suggestion but both text sentences disappeared. I have updated the problem description that I use the ACM template. – kexxcream Feb 26 '14 at 13:30
Please provide a minimum working example, including a \documentclass command and a document environment. – Marc van Dongen Feb 26 '14 at 13:44
up vote 5 down vote accepted

You need to insert a paragraph break, but the usual \par command will not work here. Rather you need to use \endgraf:

Sample output snippet


\conferenceinfo{Text 1 here}{\endgraf Text 2 here.\endgraf More.}

\title{My title}

The \conferenceinfo macro is defined in a way that does not allow paragraph breaks in its arguments; \endgraf is the replacement command available in such situations (a relic from plain TeX).

share|improve this answer
Thank you very much for this, highly appreciated! – kexxcream Feb 26 '14 at 15:40

This seems to work flawlessly:

\usepackage{lipsum} % just for the example

\conferenceinfo{Text 1 here}{\\ Text 2 here.}

\title{My title}



enter image description here

Magnified view

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.