1

I want to write a set with 14 elements, for that I am using this but this keeps it all in one line and half of the set is visible only

$$S=\Bigg\{(0,0,2),(0,0,-2),(2^*,1,1^*),(2^*,-1,-1^*),(0^*,1,-1^*),(0^*,-1,1^*),(0^*,-1,-1^*)\\
(1,2^*,0^*),(-1,2^*,0^*),(1,0^*,-2^*),(-1,0^*,2^*),(1,0^*,0^*),(-1,0^*,0^*)\Bigg\}$$

See the image below-

enter image description here

What can I do to make set with in page?

1 Answer 1

3

use of $$ for displayed equations is deprecated. Instead it rather use \[ ...\]. In your case, this will not breake your set into two lines. For this you need some math environment fromasmath package or use tabular or arrayenvironment.

Since you didn't provide MWE, I wrote one for you:

\documentclass[12pt,border=3mm,preview]{standalone}
    \usepackage{amsmath}
    \usepackage{lipsum}

        \begin{document}
The examined set has \dots elements:
    \begin{multline}\label{eq:set-1}
S=\Bigl\{(0,0,2), (0,0,-2), (2^*,1,1^*), (2^*,-1,-1^*),(0^*,1,-1^*),\\
         (0^*,-1,1^*), (0^*,-1,-1^*), (1,2^*,0^*),(-1,2^*,0^*),\\
         (1,0^*,-2^*),(-1,0^*,2^*),(1,0^*,0^*),(-1,0^*,0^*)\Bigr\}
     \end{multline}
From \eqref{eq:set-1} we can see \dots 
    \end{document}

It gives the following result:

enter image description here

11
  • it says "\begin{multline} allowed only in paragr aph mode." I dont know what to do. I am typing project report. Commented Jul 18, 2015 at 19:16
  • Who this say? I newer hear this. multline is macro for displayed math like {qgin{equation} ... \end{equation} or \begin{gather} ... \end{gather} and so on.
    – Zarko
    Commented Jul 18, 2015 at 19:22
  • is there any other way, please tell me. I am stuck on this set. Commented Jul 18, 2015 at 19:30
  • What is wrong with proposed solution? If you like to have your set in more lines, just broke line with one more `\` in appropriate place in set. You should privide more data, I can only guess what you like to obtain.
    – Zarko
    Commented Jul 18, 2015 at 19:39
  • multline is not working. And also inside \[\] `\` is not braeking lines Commented Jul 18, 2015 at 19:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .