Sha256: e1c9645b030a663305116b11c1ddc4a972fb8e17c623ff474c064af8e2bbc193
Contents?: true
Size: 364 Bytes
Versions: 127
Compression:
Stored size: 364 Bytes
Contents
We can include code listings, as seen in Listing~\ref{code:foo}. \begin{codelisting} \label{code:foo} Defining a foo function. %= ruby \begin{code} def foo "bar" end \end{code} \end{codelisting} Including the type of source code (in this case, Ruby) should result in syntax highlighting. (The type is put in a comment so that the markup is still valid \LaTeX.)
Version data entries
127 entries across 127 versions & 1 rubygems