I am trying to write in component form, using \usepackage{amsmath}, \usepackage{amssymb} and \usepackage{amsbsy}. When I write \vij, there seems to be a mistake and the following appears. I downloaded an environments package online and I manage to write vectors in other forms quite well. If anyone could please advise where I went wrong it would be great!

FYI, the environments package include the following:

Environments package and Environments Package 2

  • 4
    Hello and welcome to Tex. Please do not post pictures of code, but the code itself. If possible, provide a MWE that compiles proberly or produces the error you have. – Roland Jan 13 at 4:55
  • You also need \usepackage{ifthen,xstring}. – Werner Jan 13 at 5:43
  • @Werner, got it. Thank you so much! – JC1 Jan 13 at 23:34

Your macros use \ifthenelse conditionals supplied by ifthen and xstring. Include those in your preamble as well and things should compile as expected:


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.