I am new to latex.
whenever i make a listings segment like the following:
\lstinputlisting[language=C++,title={main.cpp},caption={Code for main.cpp}]{CodeSegments/main.cpp}
the string "Listing #:" gets added to the line in the pdf (# is a counter starting from 1)
so my line above gives me "Listing 1: Code for main.cpp" (then the code)
I would like to remove the "Listing 1:" part.
how do i do that?
Hey like something i said? Helped you out? Or you just like supporting the Random Guy?
add to my rep. its quick and easy and definitely wont steal your girlfriend.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks