Ihor Radchenko writes:
> Denis Bitouzé writes:
>
>> Otherwise, all the options specified by `\lstset` can be applied as an
>> option of the `lstlisting` environment:
>>
>> ┌
>> │ \begin{lstlisting}[language=⟨language⟩,...]
>> └
>
> This should be the safest and the least verbose.
>
Denis Bitouzé writes:
> Otherwise, all the options specified by `\lstset` can be applied as an
> option of the `lstlisting` environment:
>
> ┌
> │ \begin{lstlisting}[language=⟨language⟩,...]
> └
This should be the safest and the least verbose.
I implemented the suggestion in the a
Le 18/10/22 à 04h14, Ihor Radchenko a écrit :
> Denis Bitouzé writes:
>
>> here is a feature request about the LaTeX export.
>>
>> With ~(setq org-latex-listings t)~, code blocks such as:
>>
>> ┌
>> │ #+BEGIN_SRC ⟨language⟩ :exports code
>> │ ...
>> │ #+END_SRC
>> └
>>
>> are ex
Denis Bitouzé writes:
> here is a feature request about the LaTeX export.
>
> With ~(setq org-latex-listings t)~, code blocks such as:
>
> ┌
> │ #+BEGIN_SRC ⟨language⟩ :exports code
> │ ...
> │ #+END_SRC
> └
>
> are exported to LaTeX into:
>
> ┌
> │ \lstset{language=⟨lan
Hi,
here is a feature request about the LaTeX export.
With ~(setq org-latex-listings t)~, code blocks such as:
┌
│ #+BEGIN_SRC ⟨language⟩ :exports code
│ ...
│ #+END_SRC
└
are exported to LaTeX into:
┌
│ \lstset{language=⟨language⟩,label= ,caption= ,captionpos=b,numbe