I am doing my master thesis in microsoft word, and I have to add pseudocode in this format (or similar):

enter image description here

How can I add pseudocode like this?

  • 3
    That pseudocode was produced using LaTeX. – user2768 Mar 23 at 15:42
  • Yes, my goal is to do not the same but similar. I guess I could check word by word, and put it in bold and do Indentation manually, but maybe there is an automatic way in word... – Chicago1988 Mar 23 at 15:44
  • 2
    The indentation gets easier if you switch to a fixed width font because the size of spaces and letters are the same. Whenever I need to represent code I use the Courier New font. Putting the pseudocode in its own single cell table rather than inline with the text of the document may also help you position it where you need it. – Adam Bosen Mar 23 at 17:31
  • If you can do Latex why are you using MS Word? – JeremyC Mar 23 at 23:00

Browse other questions tagged or ask your own question.