aboveglftskip in expex linguistic glosses
First of all I am not an expert in using LaTeX, I just started a few months back.
I am using MiKTeX with the expex
package for glossed linguistic examples.
If we take a look at a glossed example, we see a space above the fourth line which is the free translation (glft
):
To get rid of the vertical spacing above the glft-line, the expex documentation advisies you to use the command "aboveglftskip=0pt
" in the begingl
column.
I used this command in my document, but it still gives me a gloss with spacing before glft
.
I am using a weird template with a bunch of stuff in it, but it's likely to the beamer class.
But even if I strip my document of everything, and do a normal beamer or article class, it doesn't work:
documentclass{article}
usepackage{expex}
begin{document}
ex
begingl[everyglpreamble=it, belowglpreambleskip=0pt, aboveglftskip=0pt]
gla batis-ne //
glb feet-sc{3.sg.poss}//
glft`his/her feet'//
endgl
xe
clearpage
end{document}
According to the documentation, one can also use the command in the glft
line which I tried. It didn't work as well... Am I doing something wrong? I want to get rid of the vertical spacing above the glft line! I am also using the expex
package in a paper I am writing and it's working fine there.
spacing linguistics examples expex
add a comment |
First of all I am not an expert in using LaTeX, I just started a few months back.
I am using MiKTeX with the expex
package for glossed linguistic examples.
If we take a look at a glossed example, we see a space above the fourth line which is the free translation (glft
):
To get rid of the vertical spacing above the glft-line, the expex documentation advisies you to use the command "aboveglftskip=0pt
" in the begingl
column.
I used this command in my document, but it still gives me a gloss with spacing before glft
.
I am using a weird template with a bunch of stuff in it, but it's likely to the beamer class.
But even if I strip my document of everything, and do a normal beamer or article class, it doesn't work:
documentclass{article}
usepackage{expex}
begin{document}
ex
begingl[everyglpreamble=it, belowglpreambleskip=0pt, aboveglftskip=0pt]
gla batis-ne //
glb feet-sc{3.sg.poss}//
glft`his/her feet'//
endgl
xe
clearpage
end{document}
According to the documentation, one can also use the command in the glft
line which I tried. It didn't work as well... Am I doing something wrong? I want to get rid of the vertical spacing above the glft line! I am also using the expex
package in a paper I am writing and it's working fine there.
spacing linguistics examples expex
1
Welcome to TeX.SX! Please add your code in form of a minimal working example (MWE), starting withdocumentclass{...}
and ending withend{document}
, and not images.
– karlkoeller
Jan 10 '14 at 15:05
Welcome to TeX.SX! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting withdocumentclass{...}
and ending withend{document}
. Please don't just post screenshot of the code; otherwise people have to type it themselves to help you. You can edit your question to improve it.
– jubobs
Jan 10 '14 at 15:06
And anyway your code works fine for me. Do you have anything else in your document that can affect this behavior?
– karlkoeller
Jan 10 '14 at 15:06
There is no need to add a thank you remark as accepting or upvoting answer do just that. Also adding your signature at the end is not necessary since you already have it in your post (lower right corner). Welcome again to TeX.SX.
– azetina
Jan 10 '14 at 16:36
I also find no problem with your sample document. I wonder if perhaps you have an old version ofexpex
around that is being used. Also, you should not use two-letter font commands (see Will two-letter font style commands (bf , it , …) ever be resurrected in LaTeX? ) and also these commands do not take arguments. (See Is there a difference between textit and itshape?).
– Alan Munn
Jan 10 '14 at 16:52
add a comment |
First of all I am not an expert in using LaTeX, I just started a few months back.
I am using MiKTeX with the expex
package for glossed linguistic examples.
If we take a look at a glossed example, we see a space above the fourth line which is the free translation (glft
):
To get rid of the vertical spacing above the glft-line, the expex documentation advisies you to use the command "aboveglftskip=0pt
" in the begingl
column.
I used this command in my document, but it still gives me a gloss with spacing before glft
.
I am using a weird template with a bunch of stuff in it, but it's likely to the beamer class.
But even if I strip my document of everything, and do a normal beamer or article class, it doesn't work:
documentclass{article}
usepackage{expex}
begin{document}
ex
begingl[everyglpreamble=it, belowglpreambleskip=0pt, aboveglftskip=0pt]
gla batis-ne //
glb feet-sc{3.sg.poss}//
glft`his/her feet'//
endgl
xe
clearpage
end{document}
According to the documentation, one can also use the command in the glft
line which I tried. It didn't work as well... Am I doing something wrong? I want to get rid of the vertical spacing above the glft line! I am also using the expex
package in a paper I am writing and it's working fine there.
spacing linguistics examples expex
First of all I am not an expert in using LaTeX, I just started a few months back.
I am using MiKTeX with the expex
package for glossed linguistic examples.
If we take a look at a glossed example, we see a space above the fourth line which is the free translation (glft
):
To get rid of the vertical spacing above the glft-line, the expex documentation advisies you to use the command "aboveglftskip=0pt
" in the begingl
column.
I used this command in my document, but it still gives me a gloss with spacing before glft
.
I am using a weird template with a bunch of stuff in it, but it's likely to the beamer class.
But even if I strip my document of everything, and do a normal beamer or article class, it doesn't work:
documentclass{article}
usepackage{expex}
begin{document}
ex
begingl[everyglpreamble=it, belowglpreambleskip=0pt, aboveglftskip=0pt]
gla batis-ne //
glb feet-sc{3.sg.poss}//
glft`his/her feet'//
endgl
xe
clearpage
end{document}
According to the documentation, one can also use the command in the glft
line which I tried. It didn't work as well... Am I doing something wrong? I want to get rid of the vertical spacing above the glft line! I am also using the expex
package in a paper I am writing and it's working fine there.
spacing linguistics examples expex
spacing linguistics examples expex
edited Jan 10 '14 at 16:56
Alan Munn
162k28432708
162k28432708
asked Jan 10 '14 at 14:40
LucasLucas
261
261
1
Welcome to TeX.SX! Please add your code in form of a minimal working example (MWE), starting withdocumentclass{...}
and ending withend{document}
, and not images.
– karlkoeller
Jan 10 '14 at 15:05
Welcome to TeX.SX! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting withdocumentclass{...}
and ending withend{document}
. Please don't just post screenshot of the code; otherwise people have to type it themselves to help you. You can edit your question to improve it.
– jubobs
Jan 10 '14 at 15:06
And anyway your code works fine for me. Do you have anything else in your document that can affect this behavior?
– karlkoeller
Jan 10 '14 at 15:06
There is no need to add a thank you remark as accepting or upvoting answer do just that. Also adding your signature at the end is not necessary since you already have it in your post (lower right corner). Welcome again to TeX.SX.
– azetina
Jan 10 '14 at 16:36
I also find no problem with your sample document. I wonder if perhaps you have an old version ofexpex
around that is being used. Also, you should not use two-letter font commands (see Will two-letter font style commands (bf , it , …) ever be resurrected in LaTeX? ) and also these commands do not take arguments. (See Is there a difference between textit and itshape?).
– Alan Munn
Jan 10 '14 at 16:52
add a comment |
1
Welcome to TeX.SX! Please add your code in form of a minimal working example (MWE), starting withdocumentclass{...}
and ending withend{document}
, and not images.
– karlkoeller
Jan 10 '14 at 15:05
Welcome to TeX.SX! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting withdocumentclass{...}
and ending withend{document}
. Please don't just post screenshot of the code; otherwise people have to type it themselves to help you. You can edit your question to improve it.
– jubobs
Jan 10 '14 at 15:06
And anyway your code works fine for me. Do you have anything else in your document that can affect this behavior?
– karlkoeller
Jan 10 '14 at 15:06
There is no need to add a thank you remark as accepting or upvoting answer do just that. Also adding your signature at the end is not necessary since you already have it in your post (lower right corner). Welcome again to TeX.SX.
– azetina
Jan 10 '14 at 16:36
I also find no problem with your sample document. I wonder if perhaps you have an old version ofexpex
around that is being used. Also, you should not use two-letter font commands (see Will two-letter font style commands (bf , it , …) ever be resurrected in LaTeX? ) and also these commands do not take arguments. (See Is there a difference between textit and itshape?).
– Alan Munn
Jan 10 '14 at 16:52
1
1
Welcome to TeX.SX! Please add your code in form of a minimal working example (MWE), starting with
documentclass{...}
and ending with end{document}
, and not images.– karlkoeller
Jan 10 '14 at 15:05
Welcome to TeX.SX! Please add your code in form of a minimal working example (MWE), starting with
documentclass{...}
and ending with end{document}
, and not images.– karlkoeller
Jan 10 '14 at 15:05
Welcome to TeX.SX! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with
documentclass{...}
and ending with end{document}
. Please don't just post screenshot of the code; otherwise people have to type it themselves to help you. You can edit your question to improve it.– jubobs
Jan 10 '14 at 15:06
Welcome to TeX.SX! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with
documentclass{...}
and ending with end{document}
. Please don't just post screenshot of the code; otherwise people have to type it themselves to help you. You can edit your question to improve it.– jubobs
Jan 10 '14 at 15:06
And anyway your code works fine for me. Do you have anything else in your document that can affect this behavior?
– karlkoeller
Jan 10 '14 at 15:06
And anyway your code works fine for me. Do you have anything else in your document that can affect this behavior?
– karlkoeller
Jan 10 '14 at 15:06
There is no need to add a thank you remark as accepting or upvoting answer do just that. Also adding your signature at the end is not necessary since you already have it in your post (lower right corner). Welcome again to TeX.SX.
– azetina
Jan 10 '14 at 16:36
There is no need to add a thank you remark as accepting or upvoting answer do just that. Also adding your signature at the end is not necessary since you already have it in your post (lower right corner). Welcome again to TeX.SX.
– azetina
Jan 10 '14 at 16:36
I also find no problem with your sample document. I wonder if perhaps you have an old version of
expex
around that is being used. Also, you should not use two-letter font commands (see Will two-letter font style commands (bf , it , …) ever be resurrected in LaTeX? ) and also these commands do not take arguments. (See Is there a difference between textit and itshape?).– Alan Munn
Jan 10 '14 at 16:52
I also find no problem with your sample document. I wonder if perhaps you have an old version of
expex
around that is being used. Also, you should not use two-letter font commands (see Will two-letter font style commands (bf , it , …) ever be resurrected in LaTeX? ) and also these commands do not take arguments. (See Is there a difference between textit and itshape?).– Alan Munn
Jan 10 '14 at 16:52
add a comment |
2 Answers
2
active
oldest
votes
To my eye, aboveglftskip=0pt
doesn't get rid of all of the extra vertical space between the glosses and translation, even with the latest version of expex
(2014/03/10 v5.0b); see below. To take care of this, I usually use a negative value of aboveglftskip
(and belowglpreambleskip
, which has the same problem), but this seems to me to be just a hack.
Produced by this code:
documentclass{article}
usepackage{expex}
begin{document}
ex
begingl[everygla=]
glpreamble XXXXXXXX (default) //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX (default)//
endgl
xe
ex
begingl[everygla=, belowglpreambleskip=0pt, aboveglftskip=0pt]
glpreamble XXXXXXXX (0pt) //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX (0pt) //
endgl
xe
ex
begingl[everygla=, belowglpreambleskip=-0.5ex, aboveglftskip=-0.5ex]
glpreamble XXXXXXXX (-0.5ex) //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX (-0.5ex) //
endgl
xe
clearpage
end{document}
I get better results with-6pt
using FreeSerif (XeLaTeX) withparskip
set to6pt
.0.5ex
seems to be not enough. I believe it's adding an extra parskip, but I haven't tracked down exactly what it's doing yet.
– Jonathan W.
yesterday
FYI, I've filed an issue at theexpex
repository about this: github.com/frampton/ExPex/issues/8
– Jonathan W.
yesterday
add a comment |
I filed an issue about this at the expex
github repo, and the author reported a short-term work around.
TLDR: You can set parskip
to 0pt
in Everyex
(as below) and set a few other values to 0pt
.
lingset{Everyex={parskip=0pt}}
The following MWE is a complete work-around:
documentclass{article}
usepackage{expex}
setlength{parskip}{12pt}
lingset{
aboveglftskip=0pt,
belowglpreambleskip=0pt,
belowpreambleskip=0pt,
extraglskip=0pt,
Everyex={parskip=0pt},
}
begin{document}
ex
begingl[everygla={}]
glpreamble XXXXXXXX //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX //
endgl
xe
end{document}
It seems to result in evenly spaced lines:
Without extraglskip=0pt
, it looks like this, with most extra space gone:
If Everyex={parskip=0pt}
is additionally removed, the following is the result, with lots of extra space (due to the 12pt
parskip
):
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%2f153373%2faboveglftskip-in-expex-linguistic-glosses%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
To my eye, aboveglftskip=0pt
doesn't get rid of all of the extra vertical space between the glosses and translation, even with the latest version of expex
(2014/03/10 v5.0b); see below. To take care of this, I usually use a negative value of aboveglftskip
(and belowglpreambleskip
, which has the same problem), but this seems to me to be just a hack.
Produced by this code:
documentclass{article}
usepackage{expex}
begin{document}
ex
begingl[everygla=]
glpreamble XXXXXXXX (default) //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX (default)//
endgl
xe
ex
begingl[everygla=, belowglpreambleskip=0pt, aboveglftskip=0pt]
glpreamble XXXXXXXX (0pt) //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX (0pt) //
endgl
xe
ex
begingl[everygla=, belowglpreambleskip=-0.5ex, aboveglftskip=-0.5ex]
glpreamble XXXXXXXX (-0.5ex) //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX (-0.5ex) //
endgl
xe
clearpage
end{document}
I get better results with-6pt
using FreeSerif (XeLaTeX) withparskip
set to6pt
.0.5ex
seems to be not enough. I believe it's adding an extra parskip, but I haven't tracked down exactly what it's doing yet.
– Jonathan W.
yesterday
FYI, I've filed an issue at theexpex
repository about this: github.com/frampton/ExPex/issues/8
– Jonathan W.
yesterday
add a comment |
To my eye, aboveglftskip=0pt
doesn't get rid of all of the extra vertical space between the glosses and translation, even with the latest version of expex
(2014/03/10 v5.0b); see below. To take care of this, I usually use a negative value of aboveglftskip
(and belowglpreambleskip
, which has the same problem), but this seems to me to be just a hack.
Produced by this code:
documentclass{article}
usepackage{expex}
begin{document}
ex
begingl[everygla=]
glpreamble XXXXXXXX (default) //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX (default)//
endgl
xe
ex
begingl[everygla=, belowglpreambleskip=0pt, aboveglftskip=0pt]
glpreamble XXXXXXXX (0pt) //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX (0pt) //
endgl
xe
ex
begingl[everygla=, belowglpreambleskip=-0.5ex, aboveglftskip=-0.5ex]
glpreamble XXXXXXXX (-0.5ex) //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX (-0.5ex) //
endgl
xe
clearpage
end{document}
I get better results with-6pt
using FreeSerif (XeLaTeX) withparskip
set to6pt
.0.5ex
seems to be not enough. I believe it's adding an extra parskip, but I haven't tracked down exactly what it's doing yet.
– Jonathan W.
yesterday
FYI, I've filed an issue at theexpex
repository about this: github.com/frampton/ExPex/issues/8
– Jonathan W.
yesterday
add a comment |
To my eye, aboveglftskip=0pt
doesn't get rid of all of the extra vertical space between the glosses and translation, even with the latest version of expex
(2014/03/10 v5.0b); see below. To take care of this, I usually use a negative value of aboveglftskip
(and belowglpreambleskip
, which has the same problem), but this seems to me to be just a hack.
Produced by this code:
documentclass{article}
usepackage{expex}
begin{document}
ex
begingl[everygla=]
glpreamble XXXXXXXX (default) //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX (default)//
endgl
xe
ex
begingl[everygla=, belowglpreambleskip=0pt, aboveglftskip=0pt]
glpreamble XXXXXXXX (0pt) //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX (0pt) //
endgl
xe
ex
begingl[everygla=, belowglpreambleskip=-0.5ex, aboveglftskip=-0.5ex]
glpreamble XXXXXXXX (-0.5ex) //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX (-0.5ex) //
endgl
xe
clearpage
end{document}
To my eye, aboveglftskip=0pt
doesn't get rid of all of the extra vertical space between the glosses and translation, even with the latest version of expex
(2014/03/10 v5.0b); see below. To take care of this, I usually use a negative value of aboveglftskip
(and belowglpreambleskip
, which has the same problem), but this seems to me to be just a hack.
Produced by this code:
documentclass{article}
usepackage{expex}
begin{document}
ex
begingl[everygla=]
glpreamble XXXXXXXX (default) //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX (default)//
endgl
xe
ex
begingl[everygla=, belowglpreambleskip=0pt, aboveglftskip=0pt]
glpreamble XXXXXXXX (0pt) //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX (0pt) //
endgl
xe
ex
begingl[everygla=, belowglpreambleskip=-0.5ex, aboveglftskip=-0.5ex]
glpreamble XXXXXXXX (-0.5ex) //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX (-0.5ex) //
endgl
xe
clearpage
end{document}
answered Sep 25 '14 at 1:35
Jason ZentzJason Zentz
3,3831333
3,3831333
I get better results with-6pt
using FreeSerif (XeLaTeX) withparskip
set to6pt
.0.5ex
seems to be not enough. I believe it's adding an extra parskip, but I haven't tracked down exactly what it's doing yet.
– Jonathan W.
yesterday
FYI, I've filed an issue at theexpex
repository about this: github.com/frampton/ExPex/issues/8
– Jonathan W.
yesterday
add a comment |
I get better results with-6pt
using FreeSerif (XeLaTeX) withparskip
set to6pt
.0.5ex
seems to be not enough. I believe it's adding an extra parskip, but I haven't tracked down exactly what it's doing yet.
– Jonathan W.
yesterday
FYI, I've filed an issue at theexpex
repository about this: github.com/frampton/ExPex/issues/8
– Jonathan W.
yesterday
I get better results with
-6pt
using FreeSerif (XeLaTeX) with parskip
set to 6pt
. 0.5ex
seems to be not enough. I believe it's adding an extra parskip, but I haven't tracked down exactly what it's doing yet.– Jonathan W.
yesterday
I get better results with
-6pt
using FreeSerif (XeLaTeX) with parskip
set to 6pt
. 0.5ex
seems to be not enough. I believe it's adding an extra parskip, but I haven't tracked down exactly what it's doing yet.– Jonathan W.
yesterday
FYI, I've filed an issue at the
expex
repository about this: github.com/frampton/ExPex/issues/8– Jonathan W.
yesterday
FYI, I've filed an issue at the
expex
repository about this: github.com/frampton/ExPex/issues/8– Jonathan W.
yesterday
add a comment |
I filed an issue about this at the expex
github repo, and the author reported a short-term work around.
TLDR: You can set parskip
to 0pt
in Everyex
(as below) and set a few other values to 0pt
.
lingset{Everyex={parskip=0pt}}
The following MWE is a complete work-around:
documentclass{article}
usepackage{expex}
setlength{parskip}{12pt}
lingset{
aboveglftskip=0pt,
belowglpreambleskip=0pt,
belowpreambleskip=0pt,
extraglskip=0pt,
Everyex={parskip=0pt},
}
begin{document}
ex
begingl[everygla={}]
glpreamble XXXXXXXX //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX //
endgl
xe
end{document}
It seems to result in evenly spaced lines:
Without extraglskip=0pt
, it looks like this, with most extra space gone:
If Everyex={parskip=0pt}
is additionally removed, the following is the result, with lots of extra space (due to the 12pt
parskip
):
add a comment |
I filed an issue about this at the expex
github repo, and the author reported a short-term work around.
TLDR: You can set parskip
to 0pt
in Everyex
(as below) and set a few other values to 0pt
.
lingset{Everyex={parskip=0pt}}
The following MWE is a complete work-around:
documentclass{article}
usepackage{expex}
setlength{parskip}{12pt}
lingset{
aboveglftskip=0pt,
belowglpreambleskip=0pt,
belowpreambleskip=0pt,
extraglskip=0pt,
Everyex={parskip=0pt},
}
begin{document}
ex
begingl[everygla={}]
glpreamble XXXXXXXX //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX //
endgl
xe
end{document}
It seems to result in evenly spaced lines:
Without extraglskip=0pt
, it looks like this, with most extra space gone:
If Everyex={parskip=0pt}
is additionally removed, the following is the result, with lots of extra space (due to the 12pt
parskip
):
add a comment |
I filed an issue about this at the expex
github repo, and the author reported a short-term work around.
TLDR: You can set parskip
to 0pt
in Everyex
(as below) and set a few other values to 0pt
.
lingset{Everyex={parskip=0pt}}
The following MWE is a complete work-around:
documentclass{article}
usepackage{expex}
setlength{parskip}{12pt}
lingset{
aboveglftskip=0pt,
belowglpreambleskip=0pt,
belowpreambleskip=0pt,
extraglskip=0pt,
Everyex={parskip=0pt},
}
begin{document}
ex
begingl[everygla={}]
glpreamble XXXXXXXX //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX //
endgl
xe
end{document}
It seems to result in evenly spaced lines:
Without extraglskip=0pt
, it looks like this, with most extra space gone:
If Everyex={parskip=0pt}
is additionally removed, the following is the result, with lots of extra space (due to the 12pt
parskip
):
I filed an issue about this at the expex
github repo, and the author reported a short-term work around.
TLDR: You can set parskip
to 0pt
in Everyex
(as below) and set a few other values to 0pt
.
lingset{Everyex={parskip=0pt}}
The following MWE is a complete work-around:
documentclass{article}
usepackage{expex}
setlength{parskip}{12pt}
lingset{
aboveglftskip=0pt,
belowglpreambleskip=0pt,
belowpreambleskip=0pt,
extraglskip=0pt,
Everyex={parskip=0pt},
}
begin{document}
ex
begingl[everygla={}]
glpreamble XXXXXXXX //
gla XXXXXXXX //
glb XXXXXXXX //
glft XXXXXXXX //
endgl
xe
end{document}
It seems to result in evenly spaced lines:
Without extraglskip=0pt
, it looks like this, with most extra space gone:
If Everyex={parskip=0pt}
is additionally removed, the following is the result, with lots of extra space (due to the 12pt
parskip
):
answered 2 hours ago
Jonathan W.Jonathan W.
309412
309412
add a comment |
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%2f153373%2faboveglftskip-in-expex-linguistic-glosses%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
1
Welcome to TeX.SX! Please add your code in form of a minimal working example (MWE), starting with
documentclass{...}
and ending withend{document}
, and not images.– karlkoeller
Jan 10 '14 at 15:05
Welcome to TeX.SX! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with
documentclass{...}
and ending withend{document}
. Please don't just post screenshot of the code; otherwise people have to type it themselves to help you. You can edit your question to improve it.– jubobs
Jan 10 '14 at 15:06
And anyway your code works fine for me. Do you have anything else in your document that can affect this behavior?
– karlkoeller
Jan 10 '14 at 15:06
There is no need to add a thank you remark as accepting or upvoting answer do just that. Also adding your signature at the end is not necessary since you already have it in your post (lower right corner). Welcome again to TeX.SX.
– azetina
Jan 10 '14 at 16:36
I also find no problem with your sample document. I wonder if perhaps you have an old version of
expex
around that is being used. Also, you should not use two-letter font commands (see Will two-letter font style commands (bf , it , …) ever be resurrected in LaTeX? ) and also these commands do not take arguments. (See Is there a difference between textit and itshape?).– Alan Munn
Jan 10 '14 at 16:52