Method: (WRITE-SOURCE T LATEX-GENERATOR)

Source

(defmethod write-source (source (generator latex-generator))
  (if (highlight-syntax generator)
      (write-line "\\begin{minted}[fontsize=\\footnotesize, framesep=2mm,baselinestretch=1.2, bgcolor=CodeBackground]{common-lisp}" *latex-stream*)
      (latex-command "begin" (if (listings generator) "lstlisting" "verbatim")))
  (write-line source *latex-stream*)
  (latex-command "end"
                 (cond
                   ((highlight-syntax generator) "minted")
                   ((listings generator) "lstlisting")
                   (t "verbatim"))))
Source Context