Skip to content

Instantly share code, notes, and snippets.

@takahashim
Created February 6, 2015 15:51
Show Gist options
  • Save takahashim/74ee1e3a71bd1c155a9c to your computer and use it in GitHub Desktop.
Save takahashim/74ee1e3a71bd1c155a9c to your computer and use it in GitHub Desktop.
\documentclass{jsarticle}
\usepackage{listings, jlisting}
\begin{document}
%% OK
\begin{lstlisting}[caption=test1,language={ruby}]
class Foo
end
\end{lstlisting}
%% ???
\begin{lstlisting}[title=test2,language={ruby}]
class Foo
end
\end{lstlisting}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment