Remove ugly space under lstlistingLstlisting format Java codeRemove extra space from double quotes in lstlisting environmentUnderscore and asterisk color in lstlisting stringError to compile lstlistingCustomize keyword lstlistingLaTeX lstlisting's style for character literalshow to use accents inside a lstlistinglstlisting and bold keywordsPython comments not highlighted with lstlistingadditional keywords in lstlisting
Who determines when road center lines are solid or dashed?
What is this green alien supposed to be on the American covers of the "Hitchhiker's Guide to the Galaxy"?
Is it legal for a supermarket to refuse to sell an adult beer if an adult with them doesn’t have their ID?
Everyone but three
Operation Unzalgo
What details should I consider before agreeing for part of my salary to be 'retained' by employer?
Why do space operations use "nominal" to mean "working correctly"?
Why aren't there any women super GMs?
Which modern firearm should a time traveler bring to be easily reproducible for a historic civilization?
Random piece of plastic
When can a polynomial be written as a polynomial function of another polynomial?
What are the basics of commands in Minecraft Java Edition?
How to belay quickly ascending top-rope climbers?
Why were these characters absent in Spider-Man: Far From Home?
Naming your baby - does the name influence the child?
How do you give a date interval with diffuse dates?
What could make large expeditions ineffective for exploring territory full of dangers and valuable resources?
How would you say "Sorry, that was a mistake on my part"?
What was the average temperature of space near the Spitzer Satellite Telescope?
Why did my "seldom" get corrected?
What happens if a company buys back all of its shares?
Did Hitler say this quote about homeschooling?
What was the difference between a Games Console and a Home Computer?
How can one convert an expression to a string while keeping the quotation marks of strings that are part of the expression?
Remove ugly space under lstlisting
Lstlisting format Java codeRemove extra space from double quotes in lstlisting environmentUnderscore and asterisk color in lstlisting stringError to compile lstlistingCustomize keyword lstlistingLaTeX lstlisting's style for character literalshow to use accents inside a lstlistinglstlisting and bold keywordsPython comments not highlighted with lstlistingadditional keywords in lstlisting
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
the following code :
documentclassarticle
usepackage[margin=2.5cm]geometry
usepackagetikz
usepackage[many]tcolorbox
usepackagegraphicx
usepackagefloat
usepackagecaption
usepackagesubcaption
usepackagelistings
lstset
backgroundcolor=colorgray!10, % choose the background color; you must add usepackagecolor or usepackagexcolor; should come as last argument
%basicstyle=footnotesize, % the size of the fonts that are used for the code
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
breaklines=true, % sets automatic line breaking
captionpos=b, % sets the caption-position to bottom
commentstyle=colorcyan, % comment style
escapeinside=%**), % if you want to add LaTeX within your code
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
keywordstyle=colordarkblue, % keyword style
language=bash,
% numbers=left, % the language of the code
otherkeywords=xxx,
numbersep=5pt, % how far the line-numbers are from the code
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false, % underline spaces within strings only
showtabs=false, % show tabs within strings adding particular underscores
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
stringstyle=colorred, % string literal style
tabsize=2, % sets default tabsize to 2 spaces
title=lstname % show the filename of files included with lstinputlisting; also try caption instead of title
begindocument
sffamily
beginlstlisting[language=bash,caption=xxx]
ubuntu@kubernetesmaster:~$ sudo apt get install
endlstlisting
enddocument
Gives me :

How can I remove the ugly gray under the command?
Thanks for the help
lstlisting
add a comment |
the following code :
documentclassarticle
usepackage[margin=2.5cm]geometry
usepackagetikz
usepackage[many]tcolorbox
usepackagegraphicx
usepackagefloat
usepackagecaption
usepackagesubcaption
usepackagelistings
lstset
backgroundcolor=colorgray!10, % choose the background color; you must add usepackagecolor or usepackagexcolor; should come as last argument
%basicstyle=footnotesize, % the size of the fonts that are used for the code
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
breaklines=true, % sets automatic line breaking
captionpos=b, % sets the caption-position to bottom
commentstyle=colorcyan, % comment style
escapeinside=%**), % if you want to add LaTeX within your code
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
keywordstyle=colordarkblue, % keyword style
language=bash,
% numbers=left, % the language of the code
otherkeywords=xxx,
numbersep=5pt, % how far the line-numbers are from the code
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false, % underline spaces within strings only
showtabs=false, % show tabs within strings adding particular underscores
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
stringstyle=colorred, % string literal style
tabsize=2, % sets default tabsize to 2 spaces
title=lstname % show the filename of files included with lstinputlisting; also try caption instead of title
begindocument
sffamily
beginlstlisting[language=bash,caption=xxx]
ubuntu@kubernetesmaster:~$ sudo apt get install
endlstlisting
enddocument
Gives me :

How can I remove the ugly gray under the command?
Thanks for the help
lstlisting
Addingbelowskip=0ptto yourlstsetremoves all space after the listing.
– Alain Merigot
Jul 9 at 9:35
The culprit are the spaces beforeendlstlistingwhich add another line...
– Rmano
Jul 9 at 9:39
add a comment |
the following code :
documentclassarticle
usepackage[margin=2.5cm]geometry
usepackagetikz
usepackage[many]tcolorbox
usepackagegraphicx
usepackagefloat
usepackagecaption
usepackagesubcaption
usepackagelistings
lstset
backgroundcolor=colorgray!10, % choose the background color; you must add usepackagecolor or usepackagexcolor; should come as last argument
%basicstyle=footnotesize, % the size of the fonts that are used for the code
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
breaklines=true, % sets automatic line breaking
captionpos=b, % sets the caption-position to bottom
commentstyle=colorcyan, % comment style
escapeinside=%**), % if you want to add LaTeX within your code
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
keywordstyle=colordarkblue, % keyword style
language=bash,
% numbers=left, % the language of the code
otherkeywords=xxx,
numbersep=5pt, % how far the line-numbers are from the code
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false, % underline spaces within strings only
showtabs=false, % show tabs within strings adding particular underscores
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
stringstyle=colorred, % string literal style
tabsize=2, % sets default tabsize to 2 spaces
title=lstname % show the filename of files included with lstinputlisting; also try caption instead of title
begindocument
sffamily
beginlstlisting[language=bash,caption=xxx]
ubuntu@kubernetesmaster:~$ sudo apt get install
endlstlisting
enddocument
Gives me :

How can I remove the ugly gray under the command?
Thanks for the help
lstlisting
the following code :
documentclassarticle
usepackage[margin=2.5cm]geometry
usepackagetikz
usepackage[many]tcolorbox
usepackagegraphicx
usepackagefloat
usepackagecaption
usepackagesubcaption
usepackagelistings
lstset
backgroundcolor=colorgray!10, % choose the background color; you must add usepackagecolor or usepackagexcolor; should come as last argument
%basicstyle=footnotesize, % the size of the fonts that are used for the code
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
breaklines=true, % sets automatic line breaking
captionpos=b, % sets the caption-position to bottom
commentstyle=colorcyan, % comment style
escapeinside=%**), % if you want to add LaTeX within your code
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
keywordstyle=colordarkblue, % keyword style
language=bash,
% numbers=left, % the language of the code
otherkeywords=xxx,
numbersep=5pt, % how far the line-numbers are from the code
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false, % underline spaces within strings only
showtabs=false, % show tabs within strings adding particular underscores
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
stringstyle=colorred, % string literal style
tabsize=2, % sets default tabsize to 2 spaces
title=lstname % show the filename of files included with lstinputlisting; also try caption instead of title
begindocument
sffamily
beginlstlisting[language=bash,caption=xxx]
ubuntu@kubernetesmaster:~$ sudo apt get install
endlstlisting
enddocument
Gives me :

How can I remove the ugly gray under the command?
Thanks for the help
lstlisting
lstlisting
asked Jul 9 at 9:29
WarokWarok
4333 silver badges10 bronze badges
4333 silver badges10 bronze badges
Addingbelowskip=0ptto yourlstsetremoves all space after the listing.
– Alain Merigot
Jul 9 at 9:35
The culprit are the spaces beforeendlstlistingwhich add another line...
– Rmano
Jul 9 at 9:39
add a comment |
Addingbelowskip=0ptto yourlstsetremoves all space after the listing.
– Alain Merigot
Jul 9 at 9:35
The culprit are the spaces beforeendlstlistingwhich add another line...
– Rmano
Jul 9 at 9:39
Adding
belowskip=0pt to your lstset removes all space after the listing.– Alain Merigot
Jul 9 at 9:35
Adding
belowskip=0pt to your lstset removes all space after the listing.– Alain Merigot
Jul 9 at 9:35
The culprit are the spaces before
endlstlisting which add another line...– Rmano
Jul 9 at 9:39
The culprit are the spaces before
endlstlisting which add another line...– Rmano
Jul 9 at 9:39
add a comment |
1 Answer
1
active
oldest
votes
Well, simply remove some blanks causing your second line in listing:
beginlstlisting[language=bash,caption=xxx]
ubuntu@kubernetesmaster:~$ sudo apt get install
endlstlisting
With the complete corrected mwe
documentclassarticle
usepackage[margin=2.5cm]geometry
usepackagetikz
usepackage[many]tcolorbox
usepackagegraphicx
usepackagefloat
usepackagecaption
usepackagesubcaption
usepackagelistings
lstset
backgroundcolor=colorgray!10, % choose the background color; you must add usepackagecolor or usepackagexcolor; should come as last argument
%basicstyle=footnotesize, % the size of the fonts that are used for the code
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
breaklines=true, % sets automatic line breaking
captionpos=b, % sets the caption-position to bottom
commentstyle=colorcyan, % comment style
escapeinside=%**), % if you want to add LaTeX within your code
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
keywordstyle=colordarkblue, % keyword style
language=bash,
% numbers=left, % the language of the code
otherkeywords=xxx,
numbersep=5pt, % how far the line-numbers are from the code
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false, % underline spaces within strings only
showtabs=false, % show tabs within strings adding particular underscores
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
stringstyle=colorred, % string literal style
tabsize=2, % sets default tabsize to 2 spaces
title=lstname % show the filename of files included with lstinputlisting; also try caption instead of title
begindocument
sffamily
beginlstlisting[language=bash,caption=xxx]
ubuntu@kubernetesmaster:~$ sudo apt get install
endlstlisting
enddocument
you get the result:

my bad, i'm so dumb not seeing this thing. Sorry, and thanks for the help
– Warok
Jul 9 at 9:42
You are welcome! Feel free to upvote and accept my answer :-)
– Mensch
Jul 9 at 9:44
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f499219%2fremove-ugly-space-under-lstlisting%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Well, simply remove some blanks causing your second line in listing:
beginlstlisting[language=bash,caption=xxx]
ubuntu@kubernetesmaster:~$ sudo apt get install
endlstlisting
With the complete corrected mwe
documentclassarticle
usepackage[margin=2.5cm]geometry
usepackagetikz
usepackage[many]tcolorbox
usepackagegraphicx
usepackagefloat
usepackagecaption
usepackagesubcaption
usepackagelistings
lstset
backgroundcolor=colorgray!10, % choose the background color; you must add usepackagecolor or usepackagexcolor; should come as last argument
%basicstyle=footnotesize, % the size of the fonts that are used for the code
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
breaklines=true, % sets automatic line breaking
captionpos=b, % sets the caption-position to bottom
commentstyle=colorcyan, % comment style
escapeinside=%**), % if you want to add LaTeX within your code
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
keywordstyle=colordarkblue, % keyword style
language=bash,
% numbers=left, % the language of the code
otherkeywords=xxx,
numbersep=5pt, % how far the line-numbers are from the code
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false, % underline spaces within strings only
showtabs=false, % show tabs within strings adding particular underscores
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
stringstyle=colorred, % string literal style
tabsize=2, % sets default tabsize to 2 spaces
title=lstname % show the filename of files included with lstinputlisting; also try caption instead of title
begindocument
sffamily
beginlstlisting[language=bash,caption=xxx]
ubuntu@kubernetesmaster:~$ sudo apt get install
endlstlisting
enddocument
you get the result:

my bad, i'm so dumb not seeing this thing. Sorry, and thanks for the help
– Warok
Jul 9 at 9:42
You are welcome! Feel free to upvote and accept my answer :-)
– Mensch
Jul 9 at 9:44
add a comment |
Well, simply remove some blanks causing your second line in listing:
beginlstlisting[language=bash,caption=xxx]
ubuntu@kubernetesmaster:~$ sudo apt get install
endlstlisting
With the complete corrected mwe
documentclassarticle
usepackage[margin=2.5cm]geometry
usepackagetikz
usepackage[many]tcolorbox
usepackagegraphicx
usepackagefloat
usepackagecaption
usepackagesubcaption
usepackagelistings
lstset
backgroundcolor=colorgray!10, % choose the background color; you must add usepackagecolor or usepackagexcolor; should come as last argument
%basicstyle=footnotesize, % the size of the fonts that are used for the code
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
breaklines=true, % sets automatic line breaking
captionpos=b, % sets the caption-position to bottom
commentstyle=colorcyan, % comment style
escapeinside=%**), % if you want to add LaTeX within your code
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
keywordstyle=colordarkblue, % keyword style
language=bash,
% numbers=left, % the language of the code
otherkeywords=xxx,
numbersep=5pt, % how far the line-numbers are from the code
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false, % underline spaces within strings only
showtabs=false, % show tabs within strings adding particular underscores
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
stringstyle=colorred, % string literal style
tabsize=2, % sets default tabsize to 2 spaces
title=lstname % show the filename of files included with lstinputlisting; also try caption instead of title
begindocument
sffamily
beginlstlisting[language=bash,caption=xxx]
ubuntu@kubernetesmaster:~$ sudo apt get install
endlstlisting
enddocument
you get the result:

my bad, i'm so dumb not seeing this thing. Sorry, and thanks for the help
– Warok
Jul 9 at 9:42
You are welcome! Feel free to upvote and accept my answer :-)
– Mensch
Jul 9 at 9:44
add a comment |
Well, simply remove some blanks causing your second line in listing:
beginlstlisting[language=bash,caption=xxx]
ubuntu@kubernetesmaster:~$ sudo apt get install
endlstlisting
With the complete corrected mwe
documentclassarticle
usepackage[margin=2.5cm]geometry
usepackagetikz
usepackage[many]tcolorbox
usepackagegraphicx
usepackagefloat
usepackagecaption
usepackagesubcaption
usepackagelistings
lstset
backgroundcolor=colorgray!10, % choose the background color; you must add usepackagecolor or usepackagexcolor; should come as last argument
%basicstyle=footnotesize, % the size of the fonts that are used for the code
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
breaklines=true, % sets automatic line breaking
captionpos=b, % sets the caption-position to bottom
commentstyle=colorcyan, % comment style
escapeinside=%**), % if you want to add LaTeX within your code
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
keywordstyle=colordarkblue, % keyword style
language=bash,
% numbers=left, % the language of the code
otherkeywords=xxx,
numbersep=5pt, % how far the line-numbers are from the code
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false, % underline spaces within strings only
showtabs=false, % show tabs within strings adding particular underscores
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
stringstyle=colorred, % string literal style
tabsize=2, % sets default tabsize to 2 spaces
title=lstname % show the filename of files included with lstinputlisting; also try caption instead of title
begindocument
sffamily
beginlstlisting[language=bash,caption=xxx]
ubuntu@kubernetesmaster:~$ sudo apt get install
endlstlisting
enddocument
you get the result:

Well, simply remove some blanks causing your second line in listing:
beginlstlisting[language=bash,caption=xxx]
ubuntu@kubernetesmaster:~$ sudo apt get install
endlstlisting
With the complete corrected mwe
documentclassarticle
usepackage[margin=2.5cm]geometry
usepackagetikz
usepackage[many]tcolorbox
usepackagegraphicx
usepackagefloat
usepackagecaption
usepackagesubcaption
usepackagelistings
lstset
backgroundcolor=colorgray!10, % choose the background color; you must add usepackagecolor or usepackagexcolor; should come as last argument
%basicstyle=footnotesize, % the size of the fonts that are used for the code
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
breaklines=true, % sets automatic line breaking
captionpos=b, % sets the caption-position to bottom
commentstyle=colorcyan, % comment style
escapeinside=%**), % if you want to add LaTeX within your code
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
keywordstyle=colordarkblue, % keyword style
language=bash,
% numbers=left, % the language of the code
otherkeywords=xxx,
numbersep=5pt, % how far the line-numbers are from the code
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false, % underline spaces within strings only
showtabs=false, % show tabs within strings adding particular underscores
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
stringstyle=colorred, % string literal style
tabsize=2, % sets default tabsize to 2 spaces
title=lstname % show the filename of files included with lstinputlisting; also try caption instead of title
begindocument
sffamily
beginlstlisting[language=bash,caption=xxx]
ubuntu@kubernetesmaster:~$ sudo apt get install
endlstlisting
enddocument
you get the result:

answered Jul 9 at 9:37
MenschMensch
46.1k10 gold badges50 silver badges177 bronze badges
46.1k10 gold badges50 silver badges177 bronze badges
my bad, i'm so dumb not seeing this thing. Sorry, and thanks for the help
– Warok
Jul 9 at 9:42
You are welcome! Feel free to upvote and accept my answer :-)
– Mensch
Jul 9 at 9:44
add a comment |
my bad, i'm so dumb not seeing this thing. Sorry, and thanks for the help
– Warok
Jul 9 at 9:42
You are welcome! Feel free to upvote and accept my answer :-)
– Mensch
Jul 9 at 9:44
my bad, i'm so dumb not seeing this thing. Sorry, and thanks for the help
– Warok
Jul 9 at 9:42
my bad, i'm so dumb not seeing this thing. Sorry, and thanks for the help
– Warok
Jul 9 at 9:42
You are welcome! Feel free to upvote and accept my answer :-)
– Mensch
Jul 9 at 9:44
You are welcome! Feel free to upvote and accept my answer :-)
– Mensch
Jul 9 at 9:44
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f499219%2fremove-ugly-space-under-lstlisting%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Adding
belowskip=0ptto yourlstsetremoves all space after the listing.– Alain Merigot
Jul 9 at 9:35
The culprit are the spaces before
endlstlistingwhich add another line...– Rmano
Jul 9 at 9:39