Hello localghost,
Thanks for your reply. I hope that you come back because I haven't solved these issues...
localghost wrote:Since I don't have the time for a detailed solution, here are some hints that let you solve the problem.
ougka wrote:[…] 1) Name the List of Listings in my TOC as "List of Listings" and not just "Listings"? […]
According to Section 4.9 of the manual you have to redefine
\lstlistlistingname.
Well, I tried to do this with the following :
Code: Select all
\renewcommand{\lstlistlistingname}{List of Listings}
but it didn't work.. any ideas? Please note that I want to chance the title of the Listings section in my TOC.
localghost wrote:
ougka wrote:[…] 2) Change the font of the box? […]
Read Section 4.6 of the package manual to setup the basic style of your listings.
Well, I read that but without any luck. I just want to change the font type, what is the style that they keep referring to in the manual?
localghost wrote:
ougka wrote:[…] 3) Add a bullet point symbol in the code! I used to do $\bullet$ but obviously it doesn't work in a \begin{lstlisting} […]
Read Section 4.14 of the package manual for escaping to LaTeX.
Done!
localghost wrote:
ougka wrote:[…] 4) how do I make it to have text around it and not be in a page on its own? This happens if I use the option float, but if I don't use it the listing breaks between pages which is ugly. […]
This should not occur if you just assign a caption to your listing. The listing floats but still allows text on the same page. See Section 4.3 of the package manual.
Well, if I don't use the word float, it breaks in two pages, and if use it, it goes on a page itself without any text around it (despite the fact that there is space around it for text)!
I would appreciate any help!