Search found 4 matches

by mm
Sat Apr 18, 2009 3:28 pm
Forum: General
Topic: lstlisting - behaviour like figure
Replies: 5
Views: 32162

lstlisting - behaviour like figure

Hello guys,

I can't find the solution for my problem:

I have some code in lstlisting. I want it to be on whole page (like it is in figures - not broken by new page). I have put it in figure tags, but then it is marked as figure, not listing.

So, how can i put listing that won't be break by new ...
by mm
Tue Mar 31, 2009 10:50 pm
Forum: General
Topic: Number of pages in bibliography items
Replies: 1
Views: 1509

Number of pages in bibliography items

Hello guys,

I have created the bibliography by:
\begin{thebibliography}

\bibitem[aa][aa]{xxx}

(...)

Now, i want to display the numbers of pages where certain bibitem is used. So, in the generated file it would be:
AA xxx 0, 5, 11
where 0,5 and 11 are the number of pages where it is used ...
by mm
Tue Mar 24, 2009 3:42 am
Forum: General
Topic: addcontentsline - not working
Replies: 1
Views: 2580

addcontentsline - not working

OK, i missed:

Code: Select all

\phantomsection
Sorry for spamming ;)
by mm
Tue Mar 24, 2009 3:39 am
Forum: General
Topic: addcontentsline - not working
Replies: 1
Views: 2580

addcontentsline - not working

Hello guys,

I have following code:
\clearpage
\addcontentsline{toc}{chapter}{Bibliography}

\begin{thebibliography}{99}

\bibitem[XXX]{XXX} XXX.
\end{thebibliography}


I tried to add the bibliography to toc. The code above works, with exception that there is no link created. When i click ...