Questions tagged [lstdefinestyle]
49 questions
3
votes
1 answer
Input file path in modified listing environment
I have a modified environment for a listing called mylisting. I wanted to know how to include the path to the file to be used in the mylisting environment?
Here is the code that I have so…
Joe
- 9,080
0
votes
1 answer
How to format an algorithm using lstlisting
I'm writing an algorithm using lstlisting :
\lstset{language=C++}
\begin{lstlisting}[frame=single,caption=Algorithme de la méthode "HOG+SVM"]
HOGDescriptor hog;\\
hog.setSVMDetector(HOGDescriptor::getDefaultPeopleDetector());\\
…
para club20
- 65