alignment between an example in gb4e and the bracketed glossConflict between gb4e and my university style...
Why isn't the definition of absolute value applied when squaring a radical containing a variable?
A Note on N!
How can I change the color of a part of a line?
Pass By Reference VS Pass by Value
Pulling the rope with one hand is as heavy as with two hands?
Will a top journal at least read my introduction?
How to stop co-workers from teasing me because I know Russian?
Does Gita support doctrine of eternal samsara?
How to make a pipeline wait for end-of-file or stop after an error?
How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?
How can I place the product on a social media post better?
Can solid acids and bases have pH values? If not, how are they classified as acids or bases?
The Defining Moment
Who is the Umpire in this picture?
Term for maladaptive animal behavior that will lead to their demise?
What are the potential pitfalls when using metals as a currency?
What is the incentive for curl to release the library for free?
Do I have an "anti-research" personality?
Apply MapThread to all but one variable
How could Tony Stark make this in Endgame?
How can I practically buy stocks?
How would one muzzle a full grown polar bear in the 13th century?
Reducing vertical space in stackrel
Was is really necessary for the Lunar module LM to have 2 stages?
alignment between an example in gb4e and the bracketed gloss
Conflict between gb4e and my university style sheetHow can I label an interlinear gloss in gb4e?How can I label a numbered interlinear gloss in gb4e?Example using gb4e without gloss lineExtra space between gloss and translationsgb4e center example textVertical top align gloss with gll from gb4e in tabularHow to gloss lines in a dialogue in one example using gb4e?left-edge vertical alignment in gb4eHow to colour text inside aligned gb4e gloss examples?
I need to have the words on the first line not so wide apart as in ex. 1 (ovaj and zadatak) and ex. 3 (je and vazan). Also, if possible, I'd like to have the bracketed second line more aligned with the first line. Any suggestions? Thank you for any suggestions. Here's the code that I have borrowed:
documentclass[11pt]{article}
usepackage{tikz}
usetikzlibrary{calc}
usepackage{gb4e}
newlength{arrowht}
setlength{arrowht}{-2.5ex}% <-- changed
newcommand*exdepthstrut{{vrule height 0.75arrowht depth
-0.25arrowht width 0pt}}% <-- changed
newcommandtikzmark[1]{tikz[remember picture, baseline=(#1.base)]
node[anchor=base,inner sep=0pt, outer sep=0pt] (#1)
{#1exdepthstrut};}
% This code from http://tex.stackexchange.com/q/55068/2693
tikzset{
ncbar angle/.initial=90,
ncbar/.style={
to path=(tikztostart)
-- ($(tikztostart)!#1!pgfkeysvalueof{/tikz/ncbar angle}:(tikztotarget)$)
-- ($(tikztotarget)!($(tikztostart)!#1!pgfkeysvalueof{/tikz/ncbar angle}:(tikztotarget)$)!pgfkeysvalueof{/tikz/ncbar angle}:(tikztostart)$)
-- (tikztotarget)
},
ncbar/.default=arrowht,% <-- changed
}
% Thanks to Paul Gessler and Percusse for code improvement here
newcommand{arrow}[2]{begin{tikzpicture}[remember picture,overlay]
draw[->,shorten >=1ex,shorten <=1ex] ([yshift=1.25ex] #1.south) to
[ncbar] ([yshift=1.25ex] #2.south);% <-- changed
end{tikzpicture}
}
begin{itemize}
item Merger of Be:
end{itemize}
begin{document}
begin{exe}
ex Complex predicate formation
gll ~tikzmark{vazan} ~be ovaj zadatak veoma tikzmark{t}\
~[BeP [PredP $t_i${important$_i$}]][Be][ KP {this task$_i$}
[PredP {very} [Pred {$t_i$} ]]]] ]\
arrow{t}{vazan}
begin{itemize}
item Merger of T:
end{itemize}
ex Be to T
gll ~tikzmark{je} vazan tikzmark{t} ovaj zadatak veoma t t\
~[T [Be {is$_k$} [T]] [BeP {[PredP$_j$ {$t_i$} {important$_j$}
]} [Be t_k ] [ KP {this task$_i$} [PredP {very} $t_j$ ]]]]\
arrow{t}{je}
begin{itemize}
item merger of TP
end{itemize}
ex Predicate inversion
gll ~tikzmark{Veoma} je vazan t ovaj zadatak tikzmark{t} t
t\
~[TP [PredP$_l$ {very} $t_j$ ][T [Be {is$_k$} [T]] [BeP
{[PredP$_j$ {$t_i$} {important$_j$} ]} [Be t_k ] [ KP {this
task$_i$}
$t_l$]]]]]\
arrow{t}{Veoma}
end{exe}
end{document}
arrows linguistics gb4e
add a comment |
I need to have the words on the first line not so wide apart as in ex. 1 (ovaj and zadatak) and ex. 3 (je and vazan). Also, if possible, I'd like to have the bracketed second line more aligned with the first line. Any suggestions? Thank you for any suggestions. Here's the code that I have borrowed:
documentclass[11pt]{article}
usepackage{tikz}
usetikzlibrary{calc}
usepackage{gb4e}
newlength{arrowht}
setlength{arrowht}{-2.5ex}% <-- changed
newcommand*exdepthstrut{{vrule height 0.75arrowht depth
-0.25arrowht width 0pt}}% <-- changed
newcommandtikzmark[1]{tikz[remember picture, baseline=(#1.base)]
node[anchor=base,inner sep=0pt, outer sep=0pt] (#1)
{#1exdepthstrut};}
% This code from http://tex.stackexchange.com/q/55068/2693
tikzset{
ncbar angle/.initial=90,
ncbar/.style={
to path=(tikztostart)
-- ($(tikztostart)!#1!pgfkeysvalueof{/tikz/ncbar angle}:(tikztotarget)$)
-- ($(tikztotarget)!($(tikztostart)!#1!pgfkeysvalueof{/tikz/ncbar angle}:(tikztotarget)$)!pgfkeysvalueof{/tikz/ncbar angle}:(tikztostart)$)
-- (tikztotarget)
},
ncbar/.default=arrowht,% <-- changed
}
% Thanks to Paul Gessler and Percusse for code improvement here
newcommand{arrow}[2]{begin{tikzpicture}[remember picture,overlay]
draw[->,shorten >=1ex,shorten <=1ex] ([yshift=1.25ex] #1.south) to
[ncbar] ([yshift=1.25ex] #2.south);% <-- changed
end{tikzpicture}
}
begin{itemize}
item Merger of Be:
end{itemize}
begin{document}
begin{exe}
ex Complex predicate formation
gll ~tikzmark{vazan} ~be ovaj zadatak veoma tikzmark{t}\
~[BeP [PredP $t_i${important$_i$}]][Be][ KP {this task$_i$}
[PredP {very} [Pred {$t_i$} ]]]] ]\
arrow{t}{vazan}
begin{itemize}
item Merger of T:
end{itemize}
ex Be to T
gll ~tikzmark{je} vazan tikzmark{t} ovaj zadatak veoma t t\
~[T [Be {is$_k$} [T]] [BeP {[PredP$_j$ {$t_i$} {important$_j$}
]} [Be t_k ] [ KP {this task$_i$} [PredP {very} $t_j$ ]]]]\
arrow{t}{je}
begin{itemize}
item merger of TP
end{itemize}
ex Predicate inversion
gll ~tikzmark{Veoma} je vazan t ovaj zadatak tikzmark{t} t
t\
~[TP [PredP$_l$ {very} $t_j$ ][T [Be {is$_k$} [T]] [BeP
{[PredP$_j$ {$t_i$} {important$_j$} ]} [Be t_k ] [ KP {this
task$_i$}
$t_l$]]]]]\
arrow{t}{Veoma}
end{exe}
end{document}
arrows linguistics gb4e
add a comment |
I need to have the words on the first line not so wide apart as in ex. 1 (ovaj and zadatak) and ex. 3 (je and vazan). Also, if possible, I'd like to have the bracketed second line more aligned with the first line. Any suggestions? Thank you for any suggestions. Here's the code that I have borrowed:
documentclass[11pt]{article}
usepackage{tikz}
usetikzlibrary{calc}
usepackage{gb4e}
newlength{arrowht}
setlength{arrowht}{-2.5ex}% <-- changed
newcommand*exdepthstrut{{vrule height 0.75arrowht depth
-0.25arrowht width 0pt}}% <-- changed
newcommandtikzmark[1]{tikz[remember picture, baseline=(#1.base)]
node[anchor=base,inner sep=0pt, outer sep=0pt] (#1)
{#1exdepthstrut};}
% This code from http://tex.stackexchange.com/q/55068/2693
tikzset{
ncbar angle/.initial=90,
ncbar/.style={
to path=(tikztostart)
-- ($(tikztostart)!#1!pgfkeysvalueof{/tikz/ncbar angle}:(tikztotarget)$)
-- ($(tikztotarget)!($(tikztostart)!#1!pgfkeysvalueof{/tikz/ncbar angle}:(tikztotarget)$)!pgfkeysvalueof{/tikz/ncbar angle}:(tikztostart)$)
-- (tikztotarget)
},
ncbar/.default=arrowht,% <-- changed
}
% Thanks to Paul Gessler and Percusse for code improvement here
newcommand{arrow}[2]{begin{tikzpicture}[remember picture,overlay]
draw[->,shorten >=1ex,shorten <=1ex] ([yshift=1.25ex] #1.south) to
[ncbar] ([yshift=1.25ex] #2.south);% <-- changed
end{tikzpicture}
}
begin{itemize}
item Merger of Be:
end{itemize}
begin{document}
begin{exe}
ex Complex predicate formation
gll ~tikzmark{vazan} ~be ovaj zadatak veoma tikzmark{t}\
~[BeP [PredP $t_i${important$_i$}]][Be][ KP {this task$_i$}
[PredP {very} [Pred {$t_i$} ]]]] ]\
arrow{t}{vazan}
begin{itemize}
item Merger of T:
end{itemize}
ex Be to T
gll ~tikzmark{je} vazan tikzmark{t} ovaj zadatak veoma t t\
~[T [Be {is$_k$} [T]] [BeP {[PredP$_j$ {$t_i$} {important$_j$}
]} [Be t_k ] [ KP {this task$_i$} [PredP {very} $t_j$ ]]]]\
arrow{t}{je}
begin{itemize}
item merger of TP
end{itemize}
ex Predicate inversion
gll ~tikzmark{Veoma} je vazan t ovaj zadatak tikzmark{t} t
t\
~[TP [PredP$_l$ {very} $t_j$ ][T [Be {is$_k$} [T]] [BeP
{[PredP$_j$ {$t_i$} {important$_j$} ]} [Be t_k ] [ KP {this
task$_i$}
$t_l$]]]]]\
arrow{t}{Veoma}
end{exe}
end{document}
arrows linguistics gb4e
I need to have the words on the first line not so wide apart as in ex. 1 (ovaj and zadatak) and ex. 3 (je and vazan). Also, if possible, I'd like to have the bracketed second line more aligned with the first line. Any suggestions? Thank you for any suggestions. Here's the code that I have borrowed:
documentclass[11pt]{article}
usepackage{tikz}
usetikzlibrary{calc}
usepackage{gb4e}
newlength{arrowht}
setlength{arrowht}{-2.5ex}% <-- changed
newcommand*exdepthstrut{{vrule height 0.75arrowht depth
-0.25arrowht width 0pt}}% <-- changed
newcommandtikzmark[1]{tikz[remember picture, baseline=(#1.base)]
node[anchor=base,inner sep=0pt, outer sep=0pt] (#1)
{#1exdepthstrut};}
% This code from http://tex.stackexchange.com/q/55068/2693
tikzset{
ncbar angle/.initial=90,
ncbar/.style={
to path=(tikztostart)
-- ($(tikztostart)!#1!pgfkeysvalueof{/tikz/ncbar angle}:(tikztotarget)$)
-- ($(tikztotarget)!($(tikztostart)!#1!pgfkeysvalueof{/tikz/ncbar angle}:(tikztotarget)$)!pgfkeysvalueof{/tikz/ncbar angle}:(tikztostart)$)
-- (tikztotarget)
},
ncbar/.default=arrowht,% <-- changed
}
% Thanks to Paul Gessler and Percusse for code improvement here
newcommand{arrow}[2]{begin{tikzpicture}[remember picture,overlay]
draw[->,shorten >=1ex,shorten <=1ex] ([yshift=1.25ex] #1.south) to
[ncbar] ([yshift=1.25ex] #2.south);% <-- changed
end{tikzpicture}
}
begin{itemize}
item Merger of Be:
end{itemize}
begin{document}
begin{exe}
ex Complex predicate formation
gll ~tikzmark{vazan} ~be ovaj zadatak veoma tikzmark{t}\
~[BeP [PredP $t_i${important$_i$}]][Be][ KP {this task$_i$}
[PredP {very} [Pred {$t_i$} ]]]] ]\
arrow{t}{vazan}
begin{itemize}
item Merger of T:
end{itemize}
ex Be to T
gll ~tikzmark{je} vazan tikzmark{t} ovaj zadatak veoma t t\
~[T [Be {is$_k$} [T]] [BeP {[PredP$_j$ {$t_i$} {important$_j$}
]} [Be t_k ] [ KP {this task$_i$} [PredP {very} $t_j$ ]]]]\
arrow{t}{je}
begin{itemize}
item merger of TP
end{itemize}
ex Predicate inversion
gll ~tikzmark{Veoma} je vazan t ovaj zadatak tikzmark{t} t
t\
~[TP [PredP$_l$ {very} $t_j$ ][T [Be {is$_k$} [T]] [BeP
{[PredP$_j$ {$t_i$} {important$_j$} ]} [Be t_k ] [ KP {this
task$_i$}
$t_l$]]]]]\
arrow{t}{Veoma}
end{exe}
end{document}
arrows linguistics gb4e
arrows linguistics gb4e
asked 12 mins ago
danieladaniela
263
263
add a comment |
add a comment |
0
active
oldest
votes
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%2f488032%2falignment-between-an-example-in-gb4e-and-the-bracketed-gloss%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f488032%2falignment-between-an-example-in-gb4e-and-the-bracketed-gloss%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