Questions tagged [program]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
33 views

listings package und set lstinline style?

I set 3 styles in my lecture notes for 3 different code style enviroments (\lstdefinestyle and \lstnewenvironment). How can I set the \lstinline style to one of these? Or is it not possible? Because ...
0
votes
0answers
44 views

Computer equation solver with latex output to show method

I'm looking for software that would solve simple equations such as $\frac{1}{3x+2}=5$ or a quadratic and output a step-by-step solution in LaTeX. Does such software exist? I would like to see each ...
1
vote
0answers
26 views

Problem with packages program and tikz

When I try to use the packages tikz and program in the same document I get an error. Using just one of them works fine. Does anyone have an idea how to solve it? Here is my code: \documentclass{...
4
votes
2answers
102 views

Conflict between tikz-pgf and program

I have been trying to include tikz in a document that already has program included. I have read somewhere that tikz should be included before program, because program kind of uses a version of tikz. ...
3
votes
0answers
318 views

error when adding \usepackage{program}. Another breqn conflict. Bad character code (265)

Things were going ok for a day or 2 with no latex package conflicts, then I wanted to try the program package, but now I get strange errors. By trial and error it seems this happens because I am also ...
1
vote
0answers
44 views

Software to manage labelled objects for efficient cross-referencing (theorems, proofs, equationarrays, …) [duplicate]

Is there perhaps open-source software for managing labelled objects? I am looking for a BibDesk for theorems basically because I have rather many propositions and theorems floating around that I ...
2
votes
1answer
809 views

program IF-THEN-ELSE alignment

I am using the 'program' package to describe a function. When I use the IF-THEN-ELSE statement I expect the lines to be aligned relative to the 'if'. But the lines are aligned relative to the 'then'. ...
4
votes
2answers
2k views

Left indent for figure with program

In my document, I have some pseudocode sections created using the program environment (tried several alternatives, but liked that one most, so I want to stick to that). Now I would simply like to ...
3
votes
1answer
137 views

figure with program, caption prefix and dedicated list

I am using the program package for illustrating algorithms in my document, which I currently put into a figure environment. Now I want to have a dedicated list of algorithms in my document and not mix ...
3
votes
1answer
193 views

Line numbers for listings using program package

Is it possible to add line numbers to listings using the programpackage? (I know, that it should be possible within the much more sophisticated other listings packages available, but I would really ...
12
votes
1answer
2k views

Conflict between program and todonotes package

I want to add some pseudo-like code to my document using the program package, but when I add the package to my document, I get the following errors. I found out the problem being caused by a conflict ...
3
votes
1answer
275 views

change \FOR to \FOREACH in program package

In the program package, is it possible to introduce new keyword \FOREACH which behaves exactly like \FOR but writes foreach instead of for on the code.