Questions tagged [program]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
41 views

A case of code plot in C++

I am entering some C++ files inside my LateX main.tex, and it appears that LateX "writes" the space symbol when there's a space in a string inside listing. (I am using listingsutf8 package) ...
0
votes
0answers
24 views

Latex error message

I get this error message when running a markdown program. I am trying to knit to a pdf and for the tangram package, Lancet is a style I need for a report. ! Undefined control sequence. l.79 \...
0
votes
0answers
39 views

List of figures in latex document

every time i run my program the list of figures doesn't show so i need to know where the problem is , can someone help me please ?thank you here's my program : \documentclass[a4paper,12pt]{report} %--...
0
votes
0answers
45 views

Launch a program from a pdf file created with LaTeX

I have found a similar question here, but it regards opening a .pdf file from another one. I would like to open a .ods file from a link in the .pdf file, meaning it should launch LibreOffice Calc. I'm ...
1
vote
2answers
125 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 ...
1
vote
0answers
27 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
134 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
334 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
928 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
139 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
203 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
3k 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
282 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.