Skip to main content

Questions tagged [program]

The tag has no usage guidance.

0 votes
1 answer
80 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 ...
Mahboobeh Houshmand's user avatar
1 vote
1 answer
128 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} {...
Robert Pollak's user avatar
2 votes
2 answers
425 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 ...
Redhwan's user avatar
  • 139
1 vote
1 answer
58 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) ...
Adrián Mudarra Martín's user avatar
0 votes
0 answers
37 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 \...
sephill's user avatar
0 votes
0 answers
46 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} %--...
asmaa's user avatar
  • 31
1 vote
0 answers
258 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 ...
Andyc's user avatar
  • 555
1 vote
2 answers
899 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 ...
Ameyah's user avatar
  • 23
1 vote
0 answers
29 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{...
Malik Muaz's user avatar
4 votes
2 answers
206 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. ...
matthieu's user avatar
  • 143
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 ...
Hirek's user avatar
  • 333
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'. ...
Siam's user avatar
  • 123
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 ...
qqilihq's user avatar
  • 937
3 votes
1 answer
141 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 ...
qqilihq's user avatar
  • 937
3 votes
1 answer
217 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 ...
qqilihq's user avatar
  • 937

15 30 50 per page