Draw until the end of a box
up vote
7
down vote
favorite
Is it possible to draw a line from n2 spanning the blah text and blinditemize without hardcoding the length?
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{tikz}
usepackage{blindtext}
usepackage{tabularx}
usetikzlibrary{positioning}
begin{document}
begin{minipage}[t]{0.70textwidth}
tikzset{every picture/.append style={remember picture},
fluffy/.style={fill opacity=0.1,circle,fill,inner sep=3pt,outer sep=1mm}}
blindtext
noindentbegin{tabularx}{linewidth}{@{} l @{~} |X| @{}}
cline{2-2}
begin{tikzpicture}[baseline=(l1.base)]
node[fluffy,label={[name=l1]left:n1-label}] at (0,0) (n1) {};
end{tikzpicture}
& textcolor{red}{title1} \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
begin{tikzpicture}[baseline=(l2.base)]
node[fluffy,label={[name=l2]left:n2-label}] at (0,0) (n2) {};
end{tikzpicture}
& title2 \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
end{tabularx}
begin{tikzpicture}[overlay]
draw (n1) -- (n2);
draw ([yshift=-0.05cm]n2.south) -- ([yshift=-3cm]n2.south);
end{tikzpicture}
end{minipage}
begin{minipage}[t]{0.30textwidth}
end{minipage}
end{document}
tikz-pgf tabularx
New contributor
Rod is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
7
down vote
favorite
Is it possible to draw a line from n2 spanning the blah text and blinditemize without hardcoding the length?
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{tikz}
usepackage{blindtext}
usepackage{tabularx}
usetikzlibrary{positioning}
begin{document}
begin{minipage}[t]{0.70textwidth}
tikzset{every picture/.append style={remember picture},
fluffy/.style={fill opacity=0.1,circle,fill,inner sep=3pt,outer sep=1mm}}
blindtext
noindentbegin{tabularx}{linewidth}{@{} l @{~} |X| @{}}
cline{2-2}
begin{tikzpicture}[baseline=(l1.base)]
node[fluffy,label={[name=l1]left:n1-label}] at (0,0) (n1) {};
end{tikzpicture}
& textcolor{red}{title1} \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
begin{tikzpicture}[baseline=(l2.base)]
node[fluffy,label={[name=l2]left:n2-label}] at (0,0) (n2) {};
end{tikzpicture}
& title2 \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
end{tabularx}
begin{tikzpicture}[overlay]
draw (n1) -- (n2);
draw ([yshift=-0.05cm]n2.south) -- ([yshift=-3cm]n2.south);
end{tikzpicture}
end{minipage}
begin{minipage}[t]{0.30textwidth}
end{minipage}
end{document}
tikz-pgf tabularx
New contributor
Rod is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
7
down vote
favorite
up vote
7
down vote
favorite
Is it possible to draw a line from n2 spanning the blah text and blinditemize without hardcoding the length?
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{tikz}
usepackage{blindtext}
usepackage{tabularx}
usetikzlibrary{positioning}
begin{document}
begin{minipage}[t]{0.70textwidth}
tikzset{every picture/.append style={remember picture},
fluffy/.style={fill opacity=0.1,circle,fill,inner sep=3pt,outer sep=1mm}}
blindtext
noindentbegin{tabularx}{linewidth}{@{} l @{~} |X| @{}}
cline{2-2}
begin{tikzpicture}[baseline=(l1.base)]
node[fluffy,label={[name=l1]left:n1-label}] at (0,0) (n1) {};
end{tikzpicture}
& textcolor{red}{title1} \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
begin{tikzpicture}[baseline=(l2.base)]
node[fluffy,label={[name=l2]left:n2-label}] at (0,0) (n2) {};
end{tikzpicture}
& title2 \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
end{tabularx}
begin{tikzpicture}[overlay]
draw (n1) -- (n2);
draw ([yshift=-0.05cm]n2.south) -- ([yshift=-3cm]n2.south);
end{tikzpicture}
end{minipage}
begin{minipage}[t]{0.30textwidth}
end{minipage}
end{document}
tikz-pgf tabularx
New contributor
Rod is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Is it possible to draw a line from n2 spanning the blah text and blinditemize without hardcoding the length?
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{tikz}
usepackage{blindtext}
usepackage{tabularx}
usetikzlibrary{positioning}
begin{document}
begin{minipage}[t]{0.70textwidth}
tikzset{every picture/.append style={remember picture},
fluffy/.style={fill opacity=0.1,circle,fill,inner sep=3pt,outer sep=1mm}}
blindtext
noindentbegin{tabularx}{linewidth}{@{} l @{~} |X| @{}}
cline{2-2}
begin{tikzpicture}[baseline=(l1.base)]
node[fluffy,label={[name=l1]left:n1-label}] at (0,0) (n1) {};
end{tikzpicture}
& textcolor{red}{title1} \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
begin{tikzpicture}[baseline=(l2.base)]
node[fluffy,label={[name=l2]left:n2-label}] at (0,0) (n2) {};
end{tikzpicture}
& title2 \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
end{tabularx}
begin{tikzpicture}[overlay]
draw (n1) -- (n2);
draw ([yshift=-0.05cm]n2.south) -- ([yshift=-3cm]n2.south);
end{tikzpicture}
end{minipage}
begin{minipage}[t]{0.30textwidth}
end{minipage}
end{document}
tikz-pgf tabularx
tikz-pgf tabularx
New contributor
Rod is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Rod is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited Dec 1 at 21:24
Bernard
163k769192
163k769192
New contributor
Rod is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Dec 1 at 19:25
Rod
1485
1485
New contributor
Rod is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Rod is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Rod is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
4
down vote
accepted
Seems like a job for tikzmark.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{tikz}
usepackage{blindtext}
usepackage{tabularx}
usetikzlibrary{positioning,tikzmark}
begin{document}
begin{minipage}[t]{0.70textwidth}
tikzset{every picture/.append style={remember picture},
fluffy/.style={fill opacity=0.1,circle,fill,inner sep=3pt,outer sep=1mm}}
blindtext
noindentbegin{tabularx}{linewidth}{@{} l @{~} |X| @{}}
cline{2-2}
begin{tikzpicture}[baseline=(l1.base)]
node[fluffy,label={[name=l1]left:n1-label}] at (0,0) (n1) {};
end{tikzpicture}
& textcolor{red}{title1} \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
begin{tikzpicture}[baseline=(l2.base)]
node[fluffy,label={[name=l2]left:n2-label}] at (0,0) (n2) {};
end{tikzpicture}
& title2 \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemizetikzmarknode{aux}{$vphantom{x_y}$}
\
cline{2-2}
end{tabularx}
begin{tikzpicture}[overlay]
draw (n1) -- (n2);
draw ([yshift=-0.05cm]n2.south) -- (n2.south|- aux.south);
end{tikzpicture}
end{minipage}
begin{minipage}[t]{0.30textwidth}
end{minipage}
end{document}

ADDENDUM A version with tikzmark instead of tikzmarknode, which should work with the older versions of tikzmark.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{tikz}
usepackage{blindtext}
usepackage{tabularx}
usetikzlibrary{positioning,tikzmark}
begin{document}
begin{minipage}[t]{0.70textwidth}
tikzset{every picture/.append style={remember picture},
fluffy/.style={fill opacity=0.1,circle,fill,inner sep=3pt,outer sep=1mm}}
blindtext
noindentbegin{tabularx}{linewidth}{@{} l @{~} |X| @{}}
cline{2-2}
begin{tikzpicture}[baseline=(l1.base)]
node[fluffy,label={[name=l1]left:n1-label}] at (0,0) (n1) {};
end{tikzpicture}
& textcolor{red}{title1} \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
begin{tikzpicture}[baseline=(l2.base)]
node[fluffy,label={[name=l2]left:n2-label}] at (0,0) (n2) {};
end{tikzpicture}
& title2 \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemizetikzmark{aux}
\
cline{2-2}
end{tabularx}
begin{tikzpicture}[overlay]
draw (n1) -- (n2);
coordinate (aux2) at ([yshift=-1mm]pic cs:aux);
draw ([yshift=-0.05cm]n2.south) -- (n2.south|- aux2.south);
end{tikzpicture}
end{minipage}
begin{minipage}[t]{0.30textwidth}
end{minipage}
end{document}
Thank you @marmot it works as expected but I get some errors in overleaf: Undefined control sequence (line 43), Package pgf Error: No shape named aux is known. (line 46) Should I worry about them?
– Rod
Dec 1 at 19:53
@Rod Most likely overleaf does not yet have the latest version oftikzmarkin it, in which the commandtikzmarknodeis defined. I will add a solution that should work with the old version oftikzmark.
– marmot
Dec 1 at 19:55
@Rod I added a version withouttikzmarknode. Could you please check if it works on overleaf (I never use overleaf)?
– marmot
Dec 1 at 19:59
It works like a charm. It seems I had some issue with the new macro ikzmarknode. Thank you again.
– Rod
Dec 1 at 21:03
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
Seems like a job for tikzmark.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{tikz}
usepackage{blindtext}
usepackage{tabularx}
usetikzlibrary{positioning,tikzmark}
begin{document}
begin{minipage}[t]{0.70textwidth}
tikzset{every picture/.append style={remember picture},
fluffy/.style={fill opacity=0.1,circle,fill,inner sep=3pt,outer sep=1mm}}
blindtext
noindentbegin{tabularx}{linewidth}{@{} l @{~} |X| @{}}
cline{2-2}
begin{tikzpicture}[baseline=(l1.base)]
node[fluffy,label={[name=l1]left:n1-label}] at (0,0) (n1) {};
end{tikzpicture}
& textcolor{red}{title1} \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
begin{tikzpicture}[baseline=(l2.base)]
node[fluffy,label={[name=l2]left:n2-label}] at (0,0) (n2) {};
end{tikzpicture}
& title2 \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemizetikzmarknode{aux}{$vphantom{x_y}$}
\
cline{2-2}
end{tabularx}
begin{tikzpicture}[overlay]
draw (n1) -- (n2);
draw ([yshift=-0.05cm]n2.south) -- (n2.south|- aux.south);
end{tikzpicture}
end{minipage}
begin{minipage}[t]{0.30textwidth}
end{minipage}
end{document}

ADDENDUM A version with tikzmark instead of tikzmarknode, which should work with the older versions of tikzmark.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{tikz}
usepackage{blindtext}
usepackage{tabularx}
usetikzlibrary{positioning,tikzmark}
begin{document}
begin{minipage}[t]{0.70textwidth}
tikzset{every picture/.append style={remember picture},
fluffy/.style={fill opacity=0.1,circle,fill,inner sep=3pt,outer sep=1mm}}
blindtext
noindentbegin{tabularx}{linewidth}{@{} l @{~} |X| @{}}
cline{2-2}
begin{tikzpicture}[baseline=(l1.base)]
node[fluffy,label={[name=l1]left:n1-label}] at (0,0) (n1) {};
end{tikzpicture}
& textcolor{red}{title1} \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
begin{tikzpicture}[baseline=(l2.base)]
node[fluffy,label={[name=l2]left:n2-label}] at (0,0) (n2) {};
end{tikzpicture}
& title2 \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemizetikzmark{aux}
\
cline{2-2}
end{tabularx}
begin{tikzpicture}[overlay]
draw (n1) -- (n2);
coordinate (aux2) at ([yshift=-1mm]pic cs:aux);
draw ([yshift=-0.05cm]n2.south) -- (n2.south|- aux2.south);
end{tikzpicture}
end{minipage}
begin{minipage}[t]{0.30textwidth}
end{minipage}
end{document}
Thank you @marmot it works as expected but I get some errors in overleaf: Undefined control sequence (line 43), Package pgf Error: No shape named aux is known. (line 46) Should I worry about them?
– Rod
Dec 1 at 19:53
@Rod Most likely overleaf does not yet have the latest version oftikzmarkin it, in which the commandtikzmarknodeis defined. I will add a solution that should work with the old version oftikzmark.
– marmot
Dec 1 at 19:55
@Rod I added a version withouttikzmarknode. Could you please check if it works on overleaf (I never use overleaf)?
– marmot
Dec 1 at 19:59
It works like a charm. It seems I had some issue with the new macro ikzmarknode. Thank you again.
– Rod
Dec 1 at 21:03
add a comment |
up vote
4
down vote
accepted
Seems like a job for tikzmark.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{tikz}
usepackage{blindtext}
usepackage{tabularx}
usetikzlibrary{positioning,tikzmark}
begin{document}
begin{minipage}[t]{0.70textwidth}
tikzset{every picture/.append style={remember picture},
fluffy/.style={fill opacity=0.1,circle,fill,inner sep=3pt,outer sep=1mm}}
blindtext
noindentbegin{tabularx}{linewidth}{@{} l @{~} |X| @{}}
cline{2-2}
begin{tikzpicture}[baseline=(l1.base)]
node[fluffy,label={[name=l1]left:n1-label}] at (0,0) (n1) {};
end{tikzpicture}
& textcolor{red}{title1} \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
begin{tikzpicture}[baseline=(l2.base)]
node[fluffy,label={[name=l2]left:n2-label}] at (0,0) (n2) {};
end{tikzpicture}
& title2 \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemizetikzmarknode{aux}{$vphantom{x_y}$}
\
cline{2-2}
end{tabularx}
begin{tikzpicture}[overlay]
draw (n1) -- (n2);
draw ([yshift=-0.05cm]n2.south) -- (n2.south|- aux.south);
end{tikzpicture}
end{minipage}
begin{minipage}[t]{0.30textwidth}
end{minipage}
end{document}

ADDENDUM A version with tikzmark instead of tikzmarknode, which should work with the older versions of tikzmark.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{tikz}
usepackage{blindtext}
usepackage{tabularx}
usetikzlibrary{positioning,tikzmark}
begin{document}
begin{minipage}[t]{0.70textwidth}
tikzset{every picture/.append style={remember picture},
fluffy/.style={fill opacity=0.1,circle,fill,inner sep=3pt,outer sep=1mm}}
blindtext
noindentbegin{tabularx}{linewidth}{@{} l @{~} |X| @{}}
cline{2-2}
begin{tikzpicture}[baseline=(l1.base)]
node[fluffy,label={[name=l1]left:n1-label}] at (0,0) (n1) {};
end{tikzpicture}
& textcolor{red}{title1} \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
begin{tikzpicture}[baseline=(l2.base)]
node[fluffy,label={[name=l2]left:n2-label}] at (0,0) (n2) {};
end{tikzpicture}
& title2 \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemizetikzmark{aux}
\
cline{2-2}
end{tabularx}
begin{tikzpicture}[overlay]
draw (n1) -- (n2);
coordinate (aux2) at ([yshift=-1mm]pic cs:aux);
draw ([yshift=-0.05cm]n2.south) -- (n2.south|- aux2.south);
end{tikzpicture}
end{minipage}
begin{minipage}[t]{0.30textwidth}
end{minipage}
end{document}
Thank you @marmot it works as expected but I get some errors in overleaf: Undefined control sequence (line 43), Package pgf Error: No shape named aux is known. (line 46) Should I worry about them?
– Rod
Dec 1 at 19:53
@Rod Most likely overleaf does not yet have the latest version oftikzmarkin it, in which the commandtikzmarknodeis defined. I will add a solution that should work with the old version oftikzmark.
– marmot
Dec 1 at 19:55
@Rod I added a version withouttikzmarknode. Could you please check if it works on overleaf (I never use overleaf)?
– marmot
Dec 1 at 19:59
It works like a charm. It seems I had some issue with the new macro ikzmarknode. Thank you again.
– Rod
Dec 1 at 21:03
add a comment |
up vote
4
down vote
accepted
up vote
4
down vote
accepted
Seems like a job for tikzmark.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{tikz}
usepackage{blindtext}
usepackage{tabularx}
usetikzlibrary{positioning,tikzmark}
begin{document}
begin{minipage}[t]{0.70textwidth}
tikzset{every picture/.append style={remember picture},
fluffy/.style={fill opacity=0.1,circle,fill,inner sep=3pt,outer sep=1mm}}
blindtext
noindentbegin{tabularx}{linewidth}{@{} l @{~} |X| @{}}
cline{2-2}
begin{tikzpicture}[baseline=(l1.base)]
node[fluffy,label={[name=l1]left:n1-label}] at (0,0) (n1) {};
end{tikzpicture}
& textcolor{red}{title1} \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
begin{tikzpicture}[baseline=(l2.base)]
node[fluffy,label={[name=l2]left:n2-label}] at (0,0) (n2) {};
end{tikzpicture}
& title2 \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemizetikzmarknode{aux}{$vphantom{x_y}$}
\
cline{2-2}
end{tabularx}
begin{tikzpicture}[overlay]
draw (n1) -- (n2);
draw ([yshift=-0.05cm]n2.south) -- (n2.south|- aux.south);
end{tikzpicture}
end{minipage}
begin{minipage}[t]{0.30textwidth}
end{minipage}
end{document}

ADDENDUM A version with tikzmark instead of tikzmarknode, which should work with the older versions of tikzmark.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{tikz}
usepackage{blindtext}
usepackage{tabularx}
usetikzlibrary{positioning,tikzmark}
begin{document}
begin{minipage}[t]{0.70textwidth}
tikzset{every picture/.append style={remember picture},
fluffy/.style={fill opacity=0.1,circle,fill,inner sep=3pt,outer sep=1mm}}
blindtext
noindentbegin{tabularx}{linewidth}{@{} l @{~} |X| @{}}
cline{2-2}
begin{tikzpicture}[baseline=(l1.base)]
node[fluffy,label={[name=l1]left:n1-label}] at (0,0) (n1) {};
end{tikzpicture}
& textcolor{red}{title1} \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
begin{tikzpicture}[baseline=(l2.base)]
node[fluffy,label={[name=l2]left:n2-label}] at (0,0) (n2) {};
end{tikzpicture}
& title2 \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemizetikzmark{aux}
\
cline{2-2}
end{tabularx}
begin{tikzpicture}[overlay]
draw (n1) -- (n2);
coordinate (aux2) at ([yshift=-1mm]pic cs:aux);
draw ([yshift=-0.05cm]n2.south) -- (n2.south|- aux2.south);
end{tikzpicture}
end{minipage}
begin{minipage}[t]{0.30textwidth}
end{minipage}
end{document}
Seems like a job for tikzmark.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{tikz}
usepackage{blindtext}
usepackage{tabularx}
usetikzlibrary{positioning,tikzmark}
begin{document}
begin{minipage}[t]{0.70textwidth}
tikzset{every picture/.append style={remember picture},
fluffy/.style={fill opacity=0.1,circle,fill,inner sep=3pt,outer sep=1mm}}
blindtext
noindentbegin{tabularx}{linewidth}{@{} l @{~} |X| @{}}
cline{2-2}
begin{tikzpicture}[baseline=(l1.base)]
node[fluffy,label={[name=l1]left:n1-label}] at (0,0) (n1) {};
end{tikzpicture}
& textcolor{red}{title1} \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
begin{tikzpicture}[baseline=(l2.base)]
node[fluffy,label={[name=l2]left:n2-label}] at (0,0) (n2) {};
end{tikzpicture}
& title2 \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemizetikzmarknode{aux}{$vphantom{x_y}$}
\
cline{2-2}
end{tabularx}
begin{tikzpicture}[overlay]
draw (n1) -- (n2);
draw ([yshift=-0.05cm]n2.south) -- (n2.south|- aux.south);
end{tikzpicture}
end{minipage}
begin{minipage}[t]{0.30textwidth}
end{minipage}
end{document}

ADDENDUM A version with tikzmark instead of tikzmarknode, which should work with the older versions of tikzmark.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{tikz}
usepackage{blindtext}
usepackage{tabularx}
usetikzlibrary{positioning,tikzmark}
begin{document}
begin{minipage}[t]{0.70textwidth}
tikzset{every picture/.append style={remember picture},
fluffy/.style={fill opacity=0.1,circle,fill,inner sep=3pt,outer sep=1mm}}
blindtext
noindentbegin{tabularx}{linewidth}{@{} l @{~} |X| @{}}
cline{2-2}
begin{tikzpicture}[baseline=(l1.base)]
node[fluffy,label={[name=l1]left:n1-label}] at (0,0) (n1) {};
end{tikzpicture}
& textcolor{red}{title1} \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemize
\
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
begin{tikzpicture}[baseline=(l2.base)]
node[fluffy,label={[name=l2]left:n2-label}] at (0,0) (n2) {};
end{tikzpicture}
& title2 \
cline{2-2}
multicolumn{1}{c}{~} & multicolumn{1}{c}{~} \
cline{2-2}
&
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
blinditemizetikzmark{aux}
\
cline{2-2}
end{tabularx}
begin{tikzpicture}[overlay]
draw (n1) -- (n2);
coordinate (aux2) at ([yshift=-1mm]pic cs:aux);
draw ([yshift=-0.05cm]n2.south) -- (n2.south|- aux2.south);
end{tikzpicture}
end{minipage}
begin{minipage}[t]{0.30textwidth}
end{minipage}
end{document}
edited Dec 1 at 19:58
answered Dec 1 at 19:43
marmot
81.4k491173
81.4k491173
Thank you @marmot it works as expected but I get some errors in overleaf: Undefined control sequence (line 43), Package pgf Error: No shape named aux is known. (line 46) Should I worry about them?
– Rod
Dec 1 at 19:53
@Rod Most likely overleaf does not yet have the latest version oftikzmarkin it, in which the commandtikzmarknodeis defined. I will add a solution that should work with the old version oftikzmark.
– marmot
Dec 1 at 19:55
@Rod I added a version withouttikzmarknode. Could you please check if it works on overleaf (I never use overleaf)?
– marmot
Dec 1 at 19:59
It works like a charm. It seems I had some issue with the new macro ikzmarknode. Thank you again.
– Rod
Dec 1 at 21:03
add a comment |
Thank you @marmot it works as expected but I get some errors in overleaf: Undefined control sequence (line 43), Package pgf Error: No shape named aux is known. (line 46) Should I worry about them?
– Rod
Dec 1 at 19:53
@Rod Most likely overleaf does not yet have the latest version oftikzmarkin it, in which the commandtikzmarknodeis defined. I will add a solution that should work with the old version oftikzmark.
– marmot
Dec 1 at 19:55
@Rod I added a version withouttikzmarknode. Could you please check if it works on overleaf (I never use overleaf)?
– marmot
Dec 1 at 19:59
It works like a charm. It seems I had some issue with the new macro ikzmarknode. Thank you again.
– Rod
Dec 1 at 21:03
Thank you @marmot it works as expected but I get some errors in overleaf: Undefined control sequence (line 43), Package pgf Error: No shape named aux is known. (line 46) Should I worry about them?
– Rod
Dec 1 at 19:53
Thank you @marmot it works as expected but I get some errors in overleaf: Undefined control sequence (line 43), Package pgf Error: No shape named aux is known. (line 46) Should I worry about them?
– Rod
Dec 1 at 19:53
@Rod Most likely overleaf does not yet have the latest version of
tikzmark in it, in which the command tikzmarknode is defined. I will add a solution that should work with the old version of tikzmark.– marmot
Dec 1 at 19:55
@Rod Most likely overleaf does not yet have the latest version of
tikzmark in it, in which the command tikzmarknode is defined. I will add a solution that should work with the old version of tikzmark.– marmot
Dec 1 at 19:55
@Rod I added a version without
tikzmarknode. Could you please check if it works on overleaf (I never use overleaf)?– marmot
Dec 1 at 19:59
@Rod I added a version without
tikzmarknode. Could you please check if it works on overleaf (I never use overleaf)?– marmot
Dec 1 at 19:59
It works like a charm. It seems I had some issue with the new macro ikzmarknode. Thank you again.
– Rod
Dec 1 at 21:03
It works like a charm. It seems I had some issue with the new macro ikzmarknode. Thank you again.
– Rod
Dec 1 at 21:03
add a comment |
Rod is a new contributor. Be nice, and check out our Code of Conduct.
Rod is a new contributor. Be nice, and check out our Code of Conduct.
Rod is a new contributor. Be nice, and check out our Code of Conduct.
Rod is a new contributor. Be nice, and check out our Code of Conduct.
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%2f462739%2fdraw-until-the-end-of-a-box%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