I am trying to add else if instead of else in the algorithm, but it is not working.

I am using this package:


Latex code:

  • not working is not really helpful. What is not working? And biblatex and ifthenelse are completely irrelevant tags here – user31729 May 6 '16 at 17:16
  • There's no nested if, so what would be the reason for having “else if”? – egreg May 6 '16 at 17:23
  • I want to have if, elseif (or elif) and then else. – user3580316 May 6 '16 at 17:28
  • \ElseIf{response}{ (instead of eIf) outputs else if. But I agree with @egreg, in terms of (pseudo)code this seems to be incorrect. – Marijn May 6 '16 at 17:29
  • Dont you have elseif in pseudo code? – user3580316 May 6 '16 at 17:35

Your Answer

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

Browse other questions tagged or ask your own question.