listings Questions
25
Solved
Trying to include a source-file into my latex document using the listings package, i got problems with german umlauts inside of the comments in the code.
Using
\lstset{
extendedchars=\true,
inpute...
Passacaglia asked 12/7, 2009 at 15:41
5
Solved
Is there a command in PostgreSQL to select active connections to a given database?
psql states that I can't drop one of my databases because there are active connections to it, so I would like to ...
Angloirish asked 12/12, 2014 at 2:20
4
Solved
I tried to change the "List of Listings" text with the command
\renewcommand*{\lstlistlistingname}{List of XYZ}
before my \begin{document}. What's wrong with this?
By the way
\renewcommand*{\l...
Graphophone asked 25/4, 2010 at 20:47
5
Solved
I have a bunch of code in a lstlisting environment. How can I highlight (color background) just a particular chunk of code within the environment?
1
Solved
I'm trying to split my listing into several pages, but unfortunately, it doesn't work.
I have read it should work automatically if you set breaklines=true. I can't. Is there another option without...
1
Solved
My question is inspired from this one. However, the difference is that my output is PDF.
I have a C++ code saved in an external file. I want to print it into a r markdown PDF with syntax highlight...
Effloresce asked 12/5, 2020 at 19:30
4
Solved
I created my first repository with GitHub but when I try to google it, its not listing
RoboSpice-Extn-Retrofit-Tutorial
EDIT
I don't know how long it will take. On the other hand anyone ca...
1
Solved
I would like to incorporate listings of code drawn from external files in an Rmarkdown file. I would like it pretty (syntax highlighting, auto-indentation, etc.).
The code is not R code (otherwis...
Jokester asked 30/9, 2015 at 3:22
1
Solved
I am using minted along with listings LaTeX packages to style code snippets in my paper.
I am trying to change the numbering system of the code snippets to be section.numberinsection. So the two c...
1
Solved
I wish to insert a R code chunk in a LaTeX document. The default settings for the listings package also changes the font, but not the colour, which I need.
Although I understand that I can set the...
3
This is driving me crazy.
I want to center a lstlisting in LaTeX.
After 3 hours attempting here's some code:
\lstset{ %
caption=Descriptive Caption Text,
label=lst:descr_capti_text,
basicstyl...
2
When using:
\begin{listing}
...
\caption{foo}
\end{listing}
The caption will say: Listing x: foo. How can I replace the word Listing with something else?
3
I have an Amazon S3 account where I would like to store several directories of files.
I would like a visitor to this site to be able to see and download the files and folders I have placed there.
T...
1
Solved
I wrote a NASM program and created a listing file from it using nasm -f elf -l rs.lst rs.asm.
The program, which works perfectly, takes in a key input value, and outputs whether the value is a cont...
0
Hello guys I have tried to make a list like that. But nothing find. The items shown in list moves up and down. Main question is how to set items like a circle. This is possible in iphone, but...
3
Solved
How do I get a a complete list of all the urls that my rails application could generate?
I don't want the routes that I get get form rake routes, instead I want to get the actul URLs corrospondin...
Nordic asked 17/9, 2008 at 15:12
3
Solved
How can I set certain parts of an lstlisting in boldface?
\begin{lstlisting}[escapechar=@]
fun(foo, bar, @\textbf{baz}@ );
\end{lstlisting}
This compiles, but baz isn't set in boldface :( What a...
4
Solved
Does anybody know a provider offering TV listings (through API or download) for all channel and cable providers?
Or is there any independent company collecting/providing such data?
An API/RE...
Endothelioma asked 7/10, 2010 at 22:21
2
Solved
I am wondering how one is supposed to format Objective C code using the listings package of LaTeX? I know that the language supports C (Objective) , so how do i set this in the \lstset language opt...
1
Solved
Writing some docs with code snippets which I want to be copyable to run as written. These snippets may include lines with preceding spaces. The listings package formats the text fine, but the space...
1
I'm trying to create a verbatim environment with a colored background and which can span across pages (so using a colorbox is not an option). It seemed that the listings package was a good wa...
2
Solved
Listing style is normally used for source code listing, but to me the default font used is not so pretty for source code listing. Attached is a comparison between listing and verbatim.
http://img2...
1
Solved
I've been looking at Philip Bunge's post on how to create a "Tango" style with LaTeX listings, and trying to adapt this to make the default text style white and the background black (this is for sl...
Bothwell asked 28/6, 2010 at 13:57
1
Solved
I've got a list of listings at the end of my document following my list of tables and my list of figures. The thing that is really annoying me is that they look the same except the list of listings...
1
Solved
I have a question about the listings package. Do you know how to change it to get a title like this "Algorithm ## Title" rather than the casual "Listing ## Title" in the title line?
1 Next >
© 2022 - 2024 — McMap. All rights reserved.