Questions tagged [program]
The program tag has no usage guidance.
18
questions
0
votes
1
answer
66
views
The problem of using qcircuit package in Sringer Nature journal latex template
I cannot use qcircuit package in Springer Nature journal template, the latex template for Springer journal papers. It makes an error when I use that package in that template. Could anybody please help ...
1
vote
1
answer
101
views
Error "Missing \endcsname inserted." when using package "program" before "tikz-cd" [duplicate]
The code
\documentclass{article}
\usepackage{program} % from sn-jnl.cls
\usepackage{tikz-cd}
\begin{document}
test
\end{document}
yields the error
Missing \endcsname inserted. ...eoperator{||}{or} {...
2
votes
2
answers
362
views
Missing $ inserted |
I am using this template:
https://www.overleaf.com/latex/templates/springer-nature-latex-template/gsvvftmrppwq
my equation is:
\documentclass[pdflatex,sn-mathphys]{sn-jnl}% Math and Physical Sciences ...
1
vote
1
answer
57
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
0
answers
36
views
Latex error message [duplicate]
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
0
answers
45
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}
%--...
1
vote
0
answers
128
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
2
answers
641
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
0
answers
28
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
2
answers
197
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
0
answers
359
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
0
answers
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
1
answer
1k
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
2
answers
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
1
answer
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
1
answer
216
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
1
answer
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
1
answer
293
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.