besides \linespread, the \center also is told an unrecognized command. I don't know what's wrong with TeXStudio. Can any one help me?

  • Please help us to help by providing a complete code which demonstrates your problem. The information you have provided is rather insufficient. – Masroor Nov 25 '14 at 8:15
  • 6
    Possibly a typographers' conspiration: they want nobody knows about \linespread so documents will be better spaced. ;-) Out of joke: TeXStudio people forgot to add it to their list. – egreg Nov 25 '14 at 8:32
  • 2
    In addition to what @egreg says, \center is a LaTeX environment rather than a command, so while \center will work it should be used as \begin{center} ... \end{center}. (I'm assuming you are using LaTeX here!) – Joseph Wright Nov 25 '14 at 8:34
  • @JosephWright what about \center ... \endcenter? – 1010011010 Jan 24 '15 at 19:29
  • 1
    @1010011010 Due to the way environment are implemented in LaTeX2e you can put \foo ... and perhaps \endfoo in place of \begin{foo} ... \end{foo}, but that does not make it 'supported'. Missing out \begin means no group is added, and there is no certainty that \endfoo is defined (it's not required for an environment to work). – Joseph Wright Jan 24 '15 at 19:34

See the FAQ: Why does TeXstudio mark a command as unrecognized

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.