Tagged Questions
6
votes
1answer
303 views
Is there an alternative to LaTeX which isn't whitespace sensitive?
I have been using LaTeX for about a year now, and I quite like it.
However, I like to space out my source code. In most languages, this doesn't cause an issue,
as extra newlines don't affect meaning.
...
1
vote
0answers
108 views
Print programs with its proper syntax by minted [closed]
I have post a question several weeks ago: Print programs with its proper syntax, and I finally decided to use the package minted.
I summarize a little bit my needs here: the language I define has its ...
1
vote
1answer
193 views
Print programs with automatically generated line numbers and tabbing
I have post a question several weeks ago: Print programs with its proper syntax, and I choose to use tabbing package at the moment.
Now I really need to keep the tabbing and print a line number ...
5
votes
5answers
2k views
Aligning pseudocode in LaTeX
My algorithms class is following strict guidelines for pseudocode. Let's say I have something like the following:
y = 0
for i = n downto 0
y = a_i + x * y
I want this to appear left-aligned on ...
16
votes
2answers
859 views
Print programs with its proper syntax
I have defined my own language whose syntax is very close to the one of Pascal. I would like to type the following program for instance. Many people use the packages algorithmicx or algorithm2e to ...
