I just read it but I don't know how I can use parameters like "caption" or "title". Inside the lstlisting (between the begin and end) the command will be just ignored and included as text. And afterwards it will just be for the paragraph following the listing.
Any ideas?
Search found 4 matches
- Fri Apr 06, 2012 3:06 pm
- Forum: General
- Topic: listings | Number Listing Blocks
- Replies: 3
- Views: 2577
- Fri Apr 06, 2012 12:52 pm
- Forum: General
- Topic: listings | Number Listing Blocks
- Replies: 3
- Views: 2577
listings | Number Listing Blocks
Hey there,
I am writing a huge document and I would love to be able to number the blocks of lstlistings I'm using. I would like to use captions as in figures, just named: "Code N. (...)".
Here is a minimal working example:
\documentclass[a4paper,12pt]{report}
\usepackage[utf8]{inputenc ...
I am writing a huge document and I would love to be able to number the blocks of lstlistings I'm using. I would like to use captions as in figures, just named: "Code N. (...)".
Here is a minimal working example:
\documentclass[a4paper,12pt]{report}
\usepackage[utf8]{inputenc ...
- Sun Mar 18, 2012 6:06 am
- Forum: General
- Topic: Avoid color-highlighting of hyperrefs and URLs?
- Replies: 2
- Views: 4172
Avoid color-highlighting of hyperrefs and URLs?
Hey there,
I have been working with LaTeX for a while and I was wondering if there was any way of avoiding the aesthetically displeasing and not very professional border of color around URLs or footnote references (as well as cites to bibitems and refs to figures).
Here is an example that will ...
I have been working with LaTeX for a while and I was wondering if there was any way of avoiding the aesthetically displeasing and not very professional border of color around URLs or footnote references (as well as cites to bibitems and refs to figures).
Here is an example that will ...
- Sat Mar 17, 2012 11:51 pm
- Forum: Text Formatting
- Topic: Start of new Paragraph (with Indentation)
- Replies: 1
- Views: 6475
Start of new Paragraph (with Indentation)
Hey guys,
I was wondering if there is another way of starting a new paragraph other than pushing enter two times. I have tried writing \\ (line break, from what I understand), but that starts a new paragraph without indenting the first line (and since it's not the first paragraph, I would want that ...
I was wondering if there is another way of starting a new paragraph other than pushing enter two times. I have tried writing \\ (line break, from what I understand), but that starts a new paragraph without indenting the first line (and since it's not the first paragraph, I would want that ...