Draw a line between two labels
up vote
6
down vote
favorite
I am looking for a way to draw a line between points (labels) in a text, like this:
documentclassarticle
begindocument
Cordially convinced did incommode existence put labelstartout suffering certainly. Besides another and saw ferrars limited ten say unknown. On at tolerably depending do perceived. Luckily eat joy see own shyness minuter. So before remark at depart. Did son unreserved themselves indulgence its. Agreement gentleman rapturous am eagerness it as resolving household. Direct wicket little of talked lasted formed or it. Sweetness consulted may prevailed for bed out sincerity.
Unwilling sportsmen he in questions september therefore described so. Attacks may set few believe moments was. Reasonably how possession shy way introduced age inquietude. Missed he engage no exeter of. Still tried means we awarelabelend order among on. Eldest father can design tastes did joy settle. Roused future he ye an marked. Arose mr rapid in so vexed words. Gay welcome led add lasting chiefly say looking.
enddocument
Is this possible at all? Can this maybe done with tikz?
tikz-pgf xetex draw
add a comment |
up vote
6
down vote
favorite
I am looking for a way to draw a line between points (labels) in a text, like this:
documentclassarticle
begindocument
Cordially convinced did incommode existence put labelstartout suffering certainly. Besides another and saw ferrars limited ten say unknown. On at tolerably depending do perceived. Luckily eat joy see own shyness minuter. So before remark at depart. Did son unreserved themselves indulgence its. Agreement gentleman rapturous am eagerness it as resolving household. Direct wicket little of talked lasted formed or it. Sweetness consulted may prevailed for bed out sincerity.
Unwilling sportsmen he in questions september therefore described so. Attacks may set few believe moments was. Reasonably how possession shy way introduced age inquietude. Missed he engage no exeter of. Still tried means we awarelabelend order among on. Eldest father can design tastes did joy settle. Roused future he ye an marked. Arose mr rapid in so vexed words. Gay welcome led add lasting chiefly say looking.
enddocument
Is this possible at all? Can this maybe done with tikz?
tikz-pgf xetex draw
Welcome to TeX.SX!
– Bobyandbob
Nov 9 at 11:58
add a comment |
up vote
6
down vote
favorite
up vote
6
down vote
favorite
I am looking for a way to draw a line between points (labels) in a text, like this:
documentclassarticle
begindocument
Cordially convinced did incommode existence put labelstartout suffering certainly. Besides another and saw ferrars limited ten say unknown. On at tolerably depending do perceived. Luckily eat joy see own shyness minuter. So before remark at depart. Did son unreserved themselves indulgence its. Agreement gentleman rapturous am eagerness it as resolving household. Direct wicket little of talked lasted formed or it. Sweetness consulted may prevailed for bed out sincerity.
Unwilling sportsmen he in questions september therefore described so. Attacks may set few believe moments was. Reasonably how possession shy way introduced age inquietude. Missed he engage no exeter of. Still tried means we awarelabelend order among on. Eldest father can design tastes did joy settle. Roused future he ye an marked. Arose mr rapid in so vexed words. Gay welcome led add lasting chiefly say looking.
enddocument
Is this possible at all? Can this maybe done with tikz?
tikz-pgf xetex draw
I am looking for a way to draw a line between points (labels) in a text, like this:
documentclassarticle
begindocument
Cordially convinced did incommode existence put labelstartout suffering certainly. Besides another and saw ferrars limited ten say unknown. On at tolerably depending do perceived. Luckily eat joy see own shyness minuter. So before remark at depart. Did son unreserved themselves indulgence its. Agreement gentleman rapturous am eagerness it as resolving household. Direct wicket little of talked lasted formed or it. Sweetness consulted may prevailed for bed out sincerity.
Unwilling sportsmen he in questions september therefore described so. Attacks may set few believe moments was. Reasonably how possession shy way introduced age inquietude. Missed he engage no exeter of. Still tried means we awarelabelend order among on. Eldest father can design tastes did joy settle. Roused future he ye an marked. Arose mr rapid in so vexed words. Gay welcome led add lasting chiefly say looking.
enddocument
Is this possible at all? Can this maybe done with tikz?
tikz-pgf xetex draw
tikz-pgf xetex draw
asked Nov 9 at 11:37
ingoboerner
312
312
Welcome to TeX.SX!
– Bobyandbob
Nov 9 at 11:58
add a comment |
Welcome to TeX.SX!
– Bobyandbob
Nov 9 at 11:58
Welcome to TeX.SX!
– Bobyandbob
Nov 9 at 11:58
Welcome to TeX.SX!
– Bobyandbob
Nov 9 at 11:58
add a comment |
2 Answers
2
active
oldest
votes
up vote
7
down vote
I fully agree with Sergei Golovan that tikzmark is the easiest way to go. However, I would like to argue that tikzmarknode, which is in the latest version(s) of this nice library, makes things even more straightforward.
documentclassarticle
usepackagetikz
usetikzlibrarytikzmark
begindocument
Cordially convinced did incommode existence tikzmarknodeputput out
suffering certainly. Besides another and saw ferrars limited ten say
unknown. On at tolerably depending do perceived. Luckily eat joy see own
shyness minuter. So before remark at depart. Did son unreserved themselves
indulgence its. Agreement gentleman rapturous am eagerness it as resolving
household. Direct wicket little of talked lasted formed or it. Sweetness
consulted may prevailed for bed out sincerity.
Unwilling sportsmen he in questions september therefore described so.
Attacks may set few believe moments was. Reasonably how possession shy way
introduced age inquietude. Missed he engage no exeter of. Still tried means
we aware tikzmarknodeorderorder among on. Eldest father can design tastes did
joy settle. Roused future he ye an marked. Arose mr rapid in so vexed
words. Gay welcome led add lasting chiefly say looking.
begintikzpicture[remember picture]
draw[overlay,red,very thick] (put.east) -- (order.south west);
endtikzpicture
enddocument

add a comment |
up vote
6
down vote
You can use tikz and its tikzmark library to do that. The code below requires two LaTeX passes.
documentclassarticle
usepackagetikz
usetikzlibrarytikzmark
begindocument
Cordially convinced did incommode existence puttikzmarkstart out
suffering certainly. Besides another and saw ferrars limited ten say
unknown. On at tolerably depending do perceived. Luckily eat joy see own
shyness minuter. So before remark at depart. Did son unreserved themselves
indulgence its. Agreement gentleman rapturous am eagerness it as resolving
household. Direct wicket little of talked lasted formed or it. Sweetness
consulted may prevailed for bed out sincerity.
Unwilling sportsmen he in questions september therefore described so.
Attacks may set few believe moments was. Reasonably how possession shy way
introduced age inquietude. Missed he engage no exeter of. Still tried means
we aware tikzmarkendorder among on. Eldest father can design tastes did
joy settle. Roused future he ye an marked. Arose mr rapid in so vexed
words. Gay welcome led add lasting chiefly say looking.
begintikzpicture[remember picture]
draw[overlay,red,very thick] (pic cs:start) -- (pic cs:end);
endtikzpicture
enddocument
The result:

Drawing the line work's perfectly! Is there a way to start at the top of the line?
– ingoboerner
Nov 9 at 12:03
Just put the tikzmark into a raised box:raisebox1extikzmarkstart.
– Sergei Golovan
Nov 9 at 12:19
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',
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%2f459123%2fdraw-a-line-between-two-labels%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
up vote
7
down vote
I fully agree with Sergei Golovan that tikzmark is the easiest way to go. However, I would like to argue that tikzmarknode, which is in the latest version(s) of this nice library, makes things even more straightforward.
documentclassarticle
usepackagetikz
usetikzlibrarytikzmark
begindocument
Cordially convinced did incommode existence tikzmarknodeputput out
suffering certainly. Besides another and saw ferrars limited ten say
unknown. On at tolerably depending do perceived. Luckily eat joy see own
shyness minuter. So before remark at depart. Did son unreserved themselves
indulgence its. Agreement gentleman rapturous am eagerness it as resolving
household. Direct wicket little of talked lasted formed or it. Sweetness
consulted may prevailed for bed out sincerity.
Unwilling sportsmen he in questions september therefore described so.
Attacks may set few believe moments was. Reasonably how possession shy way
introduced age inquietude. Missed he engage no exeter of. Still tried means
we aware tikzmarknodeorderorder among on. Eldest father can design tastes did
joy settle. Roused future he ye an marked. Arose mr rapid in so vexed
words. Gay welcome led add lasting chiefly say looking.
begintikzpicture[remember picture]
draw[overlay,red,very thick] (put.east) -- (order.south west);
endtikzpicture
enddocument

add a comment |
up vote
7
down vote
I fully agree with Sergei Golovan that tikzmark is the easiest way to go. However, I would like to argue that tikzmarknode, which is in the latest version(s) of this nice library, makes things even more straightforward.
documentclassarticle
usepackagetikz
usetikzlibrarytikzmark
begindocument
Cordially convinced did incommode existence tikzmarknodeputput out
suffering certainly. Besides another and saw ferrars limited ten say
unknown. On at tolerably depending do perceived. Luckily eat joy see own
shyness minuter. So before remark at depart. Did son unreserved themselves
indulgence its. Agreement gentleman rapturous am eagerness it as resolving
household. Direct wicket little of talked lasted formed or it. Sweetness
consulted may prevailed for bed out sincerity.
Unwilling sportsmen he in questions september therefore described so.
Attacks may set few believe moments was. Reasonably how possession shy way
introduced age inquietude. Missed he engage no exeter of. Still tried means
we aware tikzmarknodeorderorder among on. Eldest father can design tastes did
joy settle. Roused future he ye an marked. Arose mr rapid in so vexed
words. Gay welcome led add lasting chiefly say looking.
begintikzpicture[remember picture]
draw[overlay,red,very thick] (put.east) -- (order.south west);
endtikzpicture
enddocument

add a comment |
up vote
7
down vote
up vote
7
down vote
I fully agree with Sergei Golovan that tikzmark is the easiest way to go. However, I would like to argue that tikzmarknode, which is in the latest version(s) of this nice library, makes things even more straightforward.
documentclassarticle
usepackagetikz
usetikzlibrarytikzmark
begindocument
Cordially convinced did incommode existence tikzmarknodeputput out
suffering certainly. Besides another and saw ferrars limited ten say
unknown. On at tolerably depending do perceived. Luckily eat joy see own
shyness minuter. So before remark at depart. Did son unreserved themselves
indulgence its. Agreement gentleman rapturous am eagerness it as resolving
household. Direct wicket little of talked lasted formed or it. Sweetness
consulted may prevailed for bed out sincerity.
Unwilling sportsmen he in questions september therefore described so.
Attacks may set few believe moments was. Reasonably how possession shy way
introduced age inquietude. Missed he engage no exeter of. Still tried means
we aware tikzmarknodeorderorder among on. Eldest father can design tastes did
joy settle. Roused future he ye an marked. Arose mr rapid in so vexed
words. Gay welcome led add lasting chiefly say looking.
begintikzpicture[remember picture]
draw[overlay,red,very thick] (put.east) -- (order.south west);
endtikzpicture
enddocument

I fully agree with Sergei Golovan that tikzmark is the easiest way to go. However, I would like to argue that tikzmarknode, which is in the latest version(s) of this nice library, makes things even more straightforward.
documentclassarticle
usepackagetikz
usetikzlibrarytikzmark
begindocument
Cordially convinced did incommode existence tikzmarknodeputput out
suffering certainly. Besides another and saw ferrars limited ten say
unknown. On at tolerably depending do perceived. Luckily eat joy see own
shyness minuter. So before remark at depart. Did son unreserved themselves
indulgence its. Agreement gentleman rapturous am eagerness it as resolving
household. Direct wicket little of talked lasted formed or it. Sweetness
consulted may prevailed for bed out sincerity.
Unwilling sportsmen he in questions september therefore described so.
Attacks may set few believe moments was. Reasonably how possession shy way
introduced age inquietude. Missed he engage no exeter of. Still tried means
we aware tikzmarknodeorderorder among on. Eldest father can design tastes did
joy settle. Roused future he ye an marked. Arose mr rapid in so vexed
words. Gay welcome led add lasting chiefly say looking.
begintikzpicture[remember picture]
draw[overlay,red,very thick] (put.east) -- (order.south west);
endtikzpicture
enddocument

answered Nov 9 at 13:58
marmot
83.8k493178
83.8k493178
add a comment |
add a comment |
up vote
6
down vote
You can use tikz and its tikzmark library to do that. The code below requires two LaTeX passes.
documentclassarticle
usepackagetikz
usetikzlibrarytikzmark
begindocument
Cordially convinced did incommode existence puttikzmarkstart out
suffering certainly. Besides another and saw ferrars limited ten say
unknown. On at tolerably depending do perceived. Luckily eat joy see own
shyness minuter. So before remark at depart. Did son unreserved themselves
indulgence its. Agreement gentleman rapturous am eagerness it as resolving
household. Direct wicket little of talked lasted formed or it. Sweetness
consulted may prevailed for bed out sincerity.
Unwilling sportsmen he in questions september therefore described so.
Attacks may set few believe moments was. Reasonably how possession shy way
introduced age inquietude. Missed he engage no exeter of. Still tried means
we aware tikzmarkendorder among on. Eldest father can design tastes did
joy settle. Roused future he ye an marked. Arose mr rapid in so vexed
words. Gay welcome led add lasting chiefly say looking.
begintikzpicture[remember picture]
draw[overlay,red,very thick] (pic cs:start) -- (pic cs:end);
endtikzpicture
enddocument
The result:

Drawing the line work's perfectly! Is there a way to start at the top of the line?
– ingoboerner
Nov 9 at 12:03
Just put the tikzmark into a raised box:raisebox1extikzmarkstart.
– Sergei Golovan
Nov 9 at 12:19
add a comment |
up vote
6
down vote
You can use tikz and its tikzmark library to do that. The code below requires two LaTeX passes.
documentclassarticle
usepackagetikz
usetikzlibrarytikzmark
begindocument
Cordially convinced did incommode existence puttikzmarkstart out
suffering certainly. Besides another and saw ferrars limited ten say
unknown. On at tolerably depending do perceived. Luckily eat joy see own
shyness minuter. So before remark at depart. Did son unreserved themselves
indulgence its. Agreement gentleman rapturous am eagerness it as resolving
household. Direct wicket little of talked lasted formed or it. Sweetness
consulted may prevailed for bed out sincerity.
Unwilling sportsmen he in questions september therefore described so.
Attacks may set few believe moments was. Reasonably how possession shy way
introduced age inquietude. Missed he engage no exeter of. Still tried means
we aware tikzmarkendorder among on. Eldest father can design tastes did
joy settle. Roused future he ye an marked. Arose mr rapid in so vexed
words. Gay welcome led add lasting chiefly say looking.
begintikzpicture[remember picture]
draw[overlay,red,very thick] (pic cs:start) -- (pic cs:end);
endtikzpicture
enddocument
The result:

Drawing the line work's perfectly! Is there a way to start at the top of the line?
– ingoboerner
Nov 9 at 12:03
Just put the tikzmark into a raised box:raisebox1extikzmarkstart.
– Sergei Golovan
Nov 9 at 12:19
add a comment |
up vote
6
down vote
up vote
6
down vote
You can use tikz and its tikzmark library to do that. The code below requires two LaTeX passes.
documentclassarticle
usepackagetikz
usetikzlibrarytikzmark
begindocument
Cordially convinced did incommode existence puttikzmarkstart out
suffering certainly. Besides another and saw ferrars limited ten say
unknown. On at tolerably depending do perceived. Luckily eat joy see own
shyness minuter. So before remark at depart. Did son unreserved themselves
indulgence its. Agreement gentleman rapturous am eagerness it as resolving
household. Direct wicket little of talked lasted formed or it. Sweetness
consulted may prevailed for bed out sincerity.
Unwilling sportsmen he in questions september therefore described so.
Attacks may set few believe moments was. Reasonably how possession shy way
introduced age inquietude. Missed he engage no exeter of. Still tried means
we aware tikzmarkendorder among on. Eldest father can design tastes did
joy settle. Roused future he ye an marked. Arose mr rapid in so vexed
words. Gay welcome led add lasting chiefly say looking.
begintikzpicture[remember picture]
draw[overlay,red,very thick] (pic cs:start) -- (pic cs:end);
endtikzpicture
enddocument
The result:

You can use tikz and its tikzmark library to do that. The code below requires two LaTeX passes.
documentclassarticle
usepackagetikz
usetikzlibrarytikzmark
begindocument
Cordially convinced did incommode existence puttikzmarkstart out
suffering certainly. Besides another and saw ferrars limited ten say
unknown. On at tolerably depending do perceived. Luckily eat joy see own
shyness minuter. So before remark at depart. Did son unreserved themselves
indulgence its. Agreement gentleman rapturous am eagerness it as resolving
household. Direct wicket little of talked lasted formed or it. Sweetness
consulted may prevailed for bed out sincerity.
Unwilling sportsmen he in questions september therefore described so.
Attacks may set few believe moments was. Reasonably how possession shy way
introduced age inquietude. Missed he engage no exeter of. Still tried means
we aware tikzmarkendorder among on. Eldest father can design tastes did
joy settle. Roused future he ye an marked. Arose mr rapid in so vexed
words. Gay welcome led add lasting chiefly say looking.
begintikzpicture[remember picture]
draw[overlay,red,very thick] (pic cs:start) -- (pic cs:end);
endtikzpicture
enddocument
The result:

answered Nov 9 at 11:58
Sergei Golovan
4,0601514
4,0601514
Drawing the line work's perfectly! Is there a way to start at the top of the line?
– ingoboerner
Nov 9 at 12:03
Just put the tikzmark into a raised box:raisebox1extikzmarkstart.
– Sergei Golovan
Nov 9 at 12:19
add a comment |
Drawing the line work's perfectly! Is there a way to start at the top of the line?
– ingoboerner
Nov 9 at 12:03
Just put the tikzmark into a raised box:raisebox1extikzmarkstart.
– Sergei Golovan
Nov 9 at 12:19
Drawing the line work's perfectly! Is there a way to start at the top of the line?
– ingoboerner
Nov 9 at 12:03
Drawing the line work's perfectly! Is there a way to start at the top of the line?
– ingoboerner
Nov 9 at 12:03
Just put the tikzmark into a raised box:
raisebox1extikzmarkstart.– Sergei Golovan
Nov 9 at 12:19
Just put the tikzmark into a raised box:
raisebox1extikzmarkstart.– Sergei Golovan
Nov 9 at 12:19
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f459123%2fdraw-a-line-between-two-labels%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
Welcome to TeX.SX!
– Bobyandbob
Nov 9 at 11:58