On 2016-10-18, Jean-Marc Lasgouttes wrote:
> Le 18/10/2016 à 01:10, Guillaume Munch a écrit :
>> captions in listings appear as:

>>   \begin{lstlisting}%
>>   [caption={Caption}]
>>   \end{lstlisting}

> In this case and in the sub-caption case, I do not think that LaTeX 
> needs the "%".

Whitespace after a macro (\begin) is ignored, after "\begin{something}" not.
Even if it will not necessarily change something in the output, it is safer
to escape it with %.


Reply via email to