0
\underline{y}={(y_{111}+y_{112}+...+y_{ijk})}^{T}

! Missing $ inserted.

                $
l.97 ...i, B = j, C = k and let \underline{y}={(y_
                                                  {111}+y_{112}+.....
  • 2
    Welcome to TeX.SX. This fragment of code isn't very useful. Apparently you have forgottten \begin{align}...\end{align} around the equation, but this is only a guess -- without any further information – user31729 Dec 27 '15 at 17:21
  • 1
    try remove braces ={ end}^ – touhami Dec 27 '15 at 17:25
  • @ChristianHupfer, I don't know much about latex. Should we start an equation with \begin{align}? – User235 Dec 27 '15 at 17:46
  • 1
    as @ChristianHupfer said with this one line of code we can not do any thing helpful. – touhami Dec 27 '15 at 17:52
  • 1
    @Sana, ideally, post a minimal example, which is basically your whole document, but stripped down to the actual problem you're encountering. – Turion Dec 27 '15 at 18:26
1

Not really sure if this is the output you are looking for, but here is my interpretation:

\documentclass[11pt]{article}
\usepackage{amsmath}
\begin{document}
Foo bar baz. Foo bar baz. Foo bar baz. Foo bar baz. Foo bar baz. Foo bar baz. Foo bar baz. %
$\underline{y}=(y_\mathrm{111}+y_\mathrm{112}+\dots +y_\mathrm{ijk})^{T}$ %
Foo bar baz. Foo bar baz. Foo bar baz. Foo bar baz. Foo bar baz. Foo bar baz. Foo bar baz.
\end{document}

enter image description here

  • You do know that plus; does look strange, don't you? ;-) – user31729 Dec 27 '15 at 17:47
  • @ChristianHupfer, I want an output which somewhat resembles the above stated one except that instead of plus i want + sign and excluding the ; symbol. – User235 Dec 27 '15 at 17:56
  • And also I am writing this equation within a sentence. – User235 Dec 27 '15 at 17:57
  • @Sana: runartrollet tried to make working code out of your fragment of non-working, er, say, 'code'. + and - are possible in LaTeX directly, there's no need of writing plus (apart from being wrong anyway here). You've shown a one-liner of code which does not reveal really what you want to achieve. – user31729 Dec 27 '15 at 17:59
  • 3
    Then you probably like to write some text $\underline{y}=(y_{111} + y_{112} + \dots + y_{ijk})^{T}$ and more text (based on guessing). It seems that you need to read some basic introduction to the LaTeX. – Zarko Dec 27 '15 at 18:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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