Getting the proper interline spacing after a minipage environment
up vote
1
down vote
favorite
I have a TikZ
diagram to the right of a minipage
environment. I have some text that I want under the minipage
environment. The interline spacing is about half of the other interline spacing.
I don't insist on using a minipage
here. I just want the appropriate typesetting.
documentclass{amsart}
usepackage{mathtools}
usepackage[dvipsnames]{xcolor}
usepackage{tikz}
usetikzlibrary{calc,intersections}
usepackage{pgfplots}
pgfplotsset{compat=1.11}
setlength{oddsidemargin}{0.0in}
setlength{evensidemargin}{0.0in} setlength{textwidth}{6.1in}
setlength{topmargin}{0.0in} setlength{textheight}{9in}
begin{document}
noindent begin{minipage}[t]{4.875in}
noindent raggedright{textbf{1.) }The following figure depicts three congruent semicircles bounded by another \
semicircle; the diameters of the three smaller semicircles cover the diameter of \
the bigger semicircle, and each of the three smaller semicircles is tangent to \
two other semicircles at the endpoints of its diameter. textit{A} is the area of \
of the region enclosed by the three smaller semicircles and textit{B} is the area}
end{minipage}
%
hspace{-0.25cm}
%
raisebox{0mm}[0mm][0mm]
{
begin{tikzpicture}[baseline=(current bounding box.north west)]
coordinate (O) at (0,0);
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (O) circle (1.5pt);
end{tikzpicture}
} \
the region enclosed by the big semicircle but outside the three smaller semicircles. Compute the ratio of $A : B$.
end{document}
tex-core minipage
add a comment |
up vote
1
down vote
favorite
I have a TikZ
diagram to the right of a minipage
environment. I have some text that I want under the minipage
environment. The interline spacing is about half of the other interline spacing.
I don't insist on using a minipage
here. I just want the appropriate typesetting.
documentclass{amsart}
usepackage{mathtools}
usepackage[dvipsnames]{xcolor}
usepackage{tikz}
usetikzlibrary{calc,intersections}
usepackage{pgfplots}
pgfplotsset{compat=1.11}
setlength{oddsidemargin}{0.0in}
setlength{evensidemargin}{0.0in} setlength{textwidth}{6.1in}
setlength{topmargin}{0.0in} setlength{textheight}{9in}
begin{document}
noindent begin{minipage}[t]{4.875in}
noindent raggedright{textbf{1.) }The following figure depicts three congruent semicircles bounded by another \
semicircle; the diameters of the three smaller semicircles cover the diameter of \
the bigger semicircle, and each of the three smaller semicircles is tangent to \
two other semicircles at the endpoints of its diameter. textit{A} is the area of \
of the region enclosed by the three smaller semicircles and textit{B} is the area}
end{minipage}
%
hspace{-0.25cm}
%
raisebox{0mm}[0mm][0mm]
{
begin{tikzpicture}[baseline=(current bounding box.north west)]
coordinate (O) at (0,0);
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (O) circle (1.5pt);
end{tikzpicture}
} \
the region enclosed by the big semicircle but outside the three smaller semicircles. Compute the ratio of $A : B$.
end{document}
tex-core minipage
Did you see tex.stackexchange.com/q/34971/4427?
– egreg
3 hours ago
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have a TikZ
diagram to the right of a minipage
environment. I have some text that I want under the minipage
environment. The interline spacing is about half of the other interline spacing.
I don't insist on using a minipage
here. I just want the appropriate typesetting.
documentclass{amsart}
usepackage{mathtools}
usepackage[dvipsnames]{xcolor}
usepackage{tikz}
usetikzlibrary{calc,intersections}
usepackage{pgfplots}
pgfplotsset{compat=1.11}
setlength{oddsidemargin}{0.0in}
setlength{evensidemargin}{0.0in} setlength{textwidth}{6.1in}
setlength{topmargin}{0.0in} setlength{textheight}{9in}
begin{document}
noindent begin{minipage}[t]{4.875in}
noindent raggedright{textbf{1.) }The following figure depicts three congruent semicircles bounded by another \
semicircle; the diameters of the three smaller semicircles cover the diameter of \
the bigger semicircle, and each of the three smaller semicircles is tangent to \
two other semicircles at the endpoints of its diameter. textit{A} is the area of \
of the region enclosed by the three smaller semicircles and textit{B} is the area}
end{minipage}
%
hspace{-0.25cm}
%
raisebox{0mm}[0mm][0mm]
{
begin{tikzpicture}[baseline=(current bounding box.north west)]
coordinate (O) at (0,0);
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (O) circle (1.5pt);
end{tikzpicture}
} \
the region enclosed by the big semicircle but outside the three smaller semicircles. Compute the ratio of $A : B$.
end{document}
tex-core minipage
I have a TikZ
diagram to the right of a minipage
environment. I have some text that I want under the minipage
environment. The interline spacing is about half of the other interline spacing.
I don't insist on using a minipage
here. I just want the appropriate typesetting.
documentclass{amsart}
usepackage{mathtools}
usepackage[dvipsnames]{xcolor}
usepackage{tikz}
usetikzlibrary{calc,intersections}
usepackage{pgfplots}
pgfplotsset{compat=1.11}
setlength{oddsidemargin}{0.0in}
setlength{evensidemargin}{0.0in} setlength{textwidth}{6.1in}
setlength{topmargin}{0.0in} setlength{textheight}{9in}
begin{document}
noindent begin{minipage}[t]{4.875in}
noindent raggedright{textbf{1.) }The following figure depicts three congruent semicircles bounded by another \
semicircle; the diameters of the three smaller semicircles cover the diameter of \
the bigger semicircle, and each of the three smaller semicircles is tangent to \
two other semicircles at the endpoints of its diameter. textit{A} is the area of \
of the region enclosed by the three smaller semicircles and textit{B} is the area}
end{minipage}
%
hspace{-0.25cm}
%
raisebox{0mm}[0mm][0mm]
{
begin{tikzpicture}[baseline=(current bounding box.north west)]
coordinate (O) at (0,0);
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (O) circle (1.5pt);
end{tikzpicture}
} \
the region enclosed by the big semicircle but outside the three smaller semicircles. Compute the ratio of $A : B$.
end{document}
tex-core minipage
tex-core minipage
asked 3 hours ago
A gal named Desire
618139
618139
Did you see tex.stackexchange.com/q/34971/4427?
– egreg
3 hours ago
add a comment |
Did you see tex.stackexchange.com/q/34971/4427?
– egreg
3 hours ago
Did you see tex.stackexchange.com/q/34971/4427?
– egreg
3 hours ago
Did you see tex.stackexchange.com/q/34971/4427?
– egreg
3 hours ago
add a comment |
2 Answers
2
active
oldest
votes
up vote
2
down vote
You want to look at How to keep a constant baselineskip when using minipages (or parboxes)? but there's a much better alternative:
documentclass{amsart}
usepackage{mathtools}
usepackage{wrapfig}
usepackage[dvipsnames]{xcolor}
usepackage{tikz}
usetikzlibrary{calc,intersections}
usepackage{pgfplots}
pgfplotsset{compat=1.11}
setlength{oddsidemargin}{0.0in}
setlength{evensidemargin}{0.0in} setlength{textwidth}{6.1in}
setlength{topmargin}{0.0in} setlength{textheight}{9in}
begin{document}
noindent
begin{minipage}[t]{4.875in}raggedright
textbf{1.)} The following figure depicts three congruent semicircles
bounded by another semicircle; the diameters of the three smaller
semicircles cover the diameter of the bigger semicircle, and each of
the three smaller semicircles is tangent to two other semicircles at
the endpoints of its diameter. $A$ is the area of of the region
enclosed by the three smaller semicircles and $B$ is the areapar
xdeftpd{theprevdepth}
end{minipage}hfill
raisebox{0mm}[0mm][0mm]{%
begin{tikzpicture}[baseline=(current bounding box.north west)]
coordinate (O) at (0,0);
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (O) circle (1.5pt);
end{tikzpicture}
}
prevdepth=tpd
noindent
the region enclosed by the big semicircle but outside the three smaller
semicircles. Compute the ratio of $A : B$.
bigskip
begin{wrapfigure}[4]{r}{3.2cm}
vspace{-baselineskip}
begin{tikzpicture}[baseline=(current bounding box.south west)]
coordinate (O) at (0,0);
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (O) circle (1.5pt);
end{tikzpicture}
end{wrapfigure}
noindent
textbf{1.)} The following figure depicts three congruent semicircles
bounded by another semicircle; the diameters of the three smaller
semicircles cover the diameter of the bigger semicircle, and each of
the three smaller semicircles is tangent to two other semicircles at
the endpoints of its diameter. $A$ is the area of of the region
enclosed by the three smaller semicircles and $B$ is the area
the region enclosed by the big semicircle but outside the three smaller
semicircles. Compute the ratio of $A : B$.
end{document}
I am looking at your first display. The interline spacing is correct ... but now I would like "two" to be typeset on the fourth line and "the region" to be typeset on the fifth line.
– A gal named Desire
2 hours ago
What doesparxdeftpd{theprevdepth}
instructLaTeX
to do?
– A gal named Desire
2 hours ago
@AgalnamedDesire Did you read the linked question and answer? I would never alternate ragged right (with manual breaking) for a text such as this. The first way is as wrong as it can be, I added it just for showing the method for preserving the baseline skip.
– egreg
2 hours ago
What is the difference between usingraggedright
and manual line breaking?
– A gal named Desire
2 hours ago
I will look at your explanation in the link now.
– A gal named Desire
2 hours ago
|
show 1 more comment
up vote
0
down vote
it is not very clear to me what you like to obtain. see, if the my guessing is close to your goal:
for above result i use the wrapfig
package:
documentclass[dvipsname]{amsart}
usepackage{tikz}
usetikzlibrary{calc, intersections}
usepackage{wrapfig}
begin{document}
begin{wrapfigure}{r}{0.25textwidth}
begin{tikzpicture}
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (0,0) circle (1.5pt);
end{tikzpicture}
end{wrapfigure}
noindenttextbf{1.)}
The following figure depicts three congruent semicircles bounded by another
semicircle; the diameters of the three smaller semicircles cover the diameter
of the bigger semicircle, and each of the three smaller semicircles is tangent
to two other semicircles at the endpoints of its diameter. $A$ is the area of
of the region enclosed by the three smaller semicircles and $B} is the area
the region enclosed by the big semicircle but outside the three smaller
semicircles. Compute the ratio of $A : B$.
end{document}
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%2f466284%2fgetting-the-proper-interline-spacing-after-a-minipage-environment%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
2
down vote
You want to look at How to keep a constant baselineskip when using minipages (or parboxes)? but there's a much better alternative:
documentclass{amsart}
usepackage{mathtools}
usepackage{wrapfig}
usepackage[dvipsnames]{xcolor}
usepackage{tikz}
usetikzlibrary{calc,intersections}
usepackage{pgfplots}
pgfplotsset{compat=1.11}
setlength{oddsidemargin}{0.0in}
setlength{evensidemargin}{0.0in} setlength{textwidth}{6.1in}
setlength{topmargin}{0.0in} setlength{textheight}{9in}
begin{document}
noindent
begin{minipage}[t]{4.875in}raggedright
textbf{1.)} The following figure depicts three congruent semicircles
bounded by another semicircle; the diameters of the three smaller
semicircles cover the diameter of the bigger semicircle, and each of
the three smaller semicircles is tangent to two other semicircles at
the endpoints of its diameter. $A$ is the area of of the region
enclosed by the three smaller semicircles and $B$ is the areapar
xdeftpd{theprevdepth}
end{minipage}hfill
raisebox{0mm}[0mm][0mm]{%
begin{tikzpicture}[baseline=(current bounding box.north west)]
coordinate (O) at (0,0);
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (O) circle (1.5pt);
end{tikzpicture}
}
prevdepth=tpd
noindent
the region enclosed by the big semicircle but outside the three smaller
semicircles. Compute the ratio of $A : B$.
bigskip
begin{wrapfigure}[4]{r}{3.2cm}
vspace{-baselineskip}
begin{tikzpicture}[baseline=(current bounding box.south west)]
coordinate (O) at (0,0);
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (O) circle (1.5pt);
end{tikzpicture}
end{wrapfigure}
noindent
textbf{1.)} The following figure depicts three congruent semicircles
bounded by another semicircle; the diameters of the three smaller
semicircles cover the diameter of the bigger semicircle, and each of
the three smaller semicircles is tangent to two other semicircles at
the endpoints of its diameter. $A$ is the area of of the region
enclosed by the three smaller semicircles and $B$ is the area
the region enclosed by the big semicircle but outside the three smaller
semicircles. Compute the ratio of $A : B$.
end{document}
I am looking at your first display. The interline spacing is correct ... but now I would like "two" to be typeset on the fourth line and "the region" to be typeset on the fifth line.
– A gal named Desire
2 hours ago
What doesparxdeftpd{theprevdepth}
instructLaTeX
to do?
– A gal named Desire
2 hours ago
@AgalnamedDesire Did you read the linked question and answer? I would never alternate ragged right (with manual breaking) for a text such as this. The first way is as wrong as it can be, I added it just for showing the method for preserving the baseline skip.
– egreg
2 hours ago
What is the difference between usingraggedright
and manual line breaking?
– A gal named Desire
2 hours ago
I will look at your explanation in the link now.
– A gal named Desire
2 hours ago
|
show 1 more comment
up vote
2
down vote
You want to look at How to keep a constant baselineskip when using minipages (or parboxes)? but there's a much better alternative:
documentclass{amsart}
usepackage{mathtools}
usepackage{wrapfig}
usepackage[dvipsnames]{xcolor}
usepackage{tikz}
usetikzlibrary{calc,intersections}
usepackage{pgfplots}
pgfplotsset{compat=1.11}
setlength{oddsidemargin}{0.0in}
setlength{evensidemargin}{0.0in} setlength{textwidth}{6.1in}
setlength{topmargin}{0.0in} setlength{textheight}{9in}
begin{document}
noindent
begin{minipage}[t]{4.875in}raggedright
textbf{1.)} The following figure depicts three congruent semicircles
bounded by another semicircle; the diameters of the three smaller
semicircles cover the diameter of the bigger semicircle, and each of
the three smaller semicircles is tangent to two other semicircles at
the endpoints of its diameter. $A$ is the area of of the region
enclosed by the three smaller semicircles and $B$ is the areapar
xdeftpd{theprevdepth}
end{minipage}hfill
raisebox{0mm}[0mm][0mm]{%
begin{tikzpicture}[baseline=(current bounding box.north west)]
coordinate (O) at (0,0);
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (O) circle (1.5pt);
end{tikzpicture}
}
prevdepth=tpd
noindent
the region enclosed by the big semicircle but outside the three smaller
semicircles. Compute the ratio of $A : B$.
bigskip
begin{wrapfigure}[4]{r}{3.2cm}
vspace{-baselineskip}
begin{tikzpicture}[baseline=(current bounding box.south west)]
coordinate (O) at (0,0);
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (O) circle (1.5pt);
end{tikzpicture}
end{wrapfigure}
noindent
textbf{1.)} The following figure depicts three congruent semicircles
bounded by another semicircle; the diameters of the three smaller
semicircles cover the diameter of the bigger semicircle, and each of
the three smaller semicircles is tangent to two other semicircles at
the endpoints of its diameter. $A$ is the area of of the region
enclosed by the three smaller semicircles and $B$ is the area
the region enclosed by the big semicircle but outside the three smaller
semicircles. Compute the ratio of $A : B$.
end{document}
I am looking at your first display. The interline spacing is correct ... but now I would like "two" to be typeset on the fourth line and "the region" to be typeset on the fifth line.
– A gal named Desire
2 hours ago
What doesparxdeftpd{theprevdepth}
instructLaTeX
to do?
– A gal named Desire
2 hours ago
@AgalnamedDesire Did you read the linked question and answer? I would never alternate ragged right (with manual breaking) for a text such as this. The first way is as wrong as it can be, I added it just for showing the method for preserving the baseline skip.
– egreg
2 hours ago
What is the difference between usingraggedright
and manual line breaking?
– A gal named Desire
2 hours ago
I will look at your explanation in the link now.
– A gal named Desire
2 hours ago
|
show 1 more comment
up vote
2
down vote
up vote
2
down vote
You want to look at How to keep a constant baselineskip when using minipages (or parboxes)? but there's a much better alternative:
documentclass{amsart}
usepackage{mathtools}
usepackage{wrapfig}
usepackage[dvipsnames]{xcolor}
usepackage{tikz}
usetikzlibrary{calc,intersections}
usepackage{pgfplots}
pgfplotsset{compat=1.11}
setlength{oddsidemargin}{0.0in}
setlength{evensidemargin}{0.0in} setlength{textwidth}{6.1in}
setlength{topmargin}{0.0in} setlength{textheight}{9in}
begin{document}
noindent
begin{minipage}[t]{4.875in}raggedright
textbf{1.)} The following figure depicts three congruent semicircles
bounded by another semicircle; the diameters of the three smaller
semicircles cover the diameter of the bigger semicircle, and each of
the three smaller semicircles is tangent to two other semicircles at
the endpoints of its diameter. $A$ is the area of of the region
enclosed by the three smaller semicircles and $B$ is the areapar
xdeftpd{theprevdepth}
end{minipage}hfill
raisebox{0mm}[0mm][0mm]{%
begin{tikzpicture}[baseline=(current bounding box.north west)]
coordinate (O) at (0,0);
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (O) circle (1.5pt);
end{tikzpicture}
}
prevdepth=tpd
noindent
the region enclosed by the big semicircle but outside the three smaller
semicircles. Compute the ratio of $A : B$.
bigskip
begin{wrapfigure}[4]{r}{3.2cm}
vspace{-baselineskip}
begin{tikzpicture}[baseline=(current bounding box.south west)]
coordinate (O) at (0,0);
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (O) circle (1.5pt);
end{tikzpicture}
end{wrapfigure}
noindent
textbf{1.)} The following figure depicts three congruent semicircles
bounded by another semicircle; the diameters of the three smaller
semicircles cover the diameter of the bigger semicircle, and each of
the three smaller semicircles is tangent to two other semicircles at
the endpoints of its diameter. $A$ is the area of of the region
enclosed by the three smaller semicircles and $B$ is the area
the region enclosed by the big semicircle but outside the three smaller
semicircles. Compute the ratio of $A : B$.
end{document}
You want to look at How to keep a constant baselineskip when using minipages (or parboxes)? but there's a much better alternative:
documentclass{amsart}
usepackage{mathtools}
usepackage{wrapfig}
usepackage[dvipsnames]{xcolor}
usepackage{tikz}
usetikzlibrary{calc,intersections}
usepackage{pgfplots}
pgfplotsset{compat=1.11}
setlength{oddsidemargin}{0.0in}
setlength{evensidemargin}{0.0in} setlength{textwidth}{6.1in}
setlength{topmargin}{0.0in} setlength{textheight}{9in}
begin{document}
noindent
begin{minipage}[t]{4.875in}raggedright
textbf{1.)} The following figure depicts three congruent semicircles
bounded by another semicircle; the diameters of the three smaller
semicircles cover the diameter of the bigger semicircle, and each of
the three smaller semicircles is tangent to two other semicircles at
the endpoints of its diameter. $A$ is the area of of the region
enclosed by the three smaller semicircles and $B$ is the areapar
xdeftpd{theprevdepth}
end{minipage}hfill
raisebox{0mm}[0mm][0mm]{%
begin{tikzpicture}[baseline=(current bounding box.north west)]
coordinate (O) at (0,0);
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (O) circle (1.5pt);
end{tikzpicture}
}
prevdepth=tpd
noindent
the region enclosed by the big semicircle but outside the three smaller
semicircles. Compute the ratio of $A : B$.
bigskip
begin{wrapfigure}[4]{r}{3.2cm}
vspace{-baselineskip}
begin{tikzpicture}[baseline=(current bounding box.south west)]
coordinate (O) at (0,0);
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (O) circle (1.5pt);
end{tikzpicture}
end{wrapfigure}
noindent
textbf{1.)} The following figure depicts three congruent semicircles
bounded by another semicircle; the diameters of the three smaller
semicircles cover the diameter of the bigger semicircle, and each of
the three smaller semicircles is tangent to two other semicircles at
the endpoints of its diameter. $A$ is the area of of the region
enclosed by the three smaller semicircles and $B$ is the area
the region enclosed by the big semicircle but outside the three smaller
semicircles. Compute the ratio of $A : B$.
end{document}
answered 3 hours ago
egreg
705k8618763155
705k8618763155
I am looking at your first display. The interline spacing is correct ... but now I would like "two" to be typeset on the fourth line and "the region" to be typeset on the fifth line.
– A gal named Desire
2 hours ago
What doesparxdeftpd{theprevdepth}
instructLaTeX
to do?
– A gal named Desire
2 hours ago
@AgalnamedDesire Did you read the linked question and answer? I would never alternate ragged right (with manual breaking) for a text such as this. The first way is as wrong as it can be, I added it just for showing the method for preserving the baseline skip.
– egreg
2 hours ago
What is the difference between usingraggedright
and manual line breaking?
– A gal named Desire
2 hours ago
I will look at your explanation in the link now.
– A gal named Desire
2 hours ago
|
show 1 more comment
I am looking at your first display. The interline spacing is correct ... but now I would like "two" to be typeset on the fourth line and "the region" to be typeset on the fifth line.
– A gal named Desire
2 hours ago
What doesparxdeftpd{theprevdepth}
instructLaTeX
to do?
– A gal named Desire
2 hours ago
@AgalnamedDesire Did you read the linked question and answer? I would never alternate ragged right (with manual breaking) for a text such as this. The first way is as wrong as it can be, I added it just for showing the method for preserving the baseline skip.
– egreg
2 hours ago
What is the difference between usingraggedright
and manual line breaking?
– A gal named Desire
2 hours ago
I will look at your explanation in the link now.
– A gal named Desire
2 hours ago
I am looking at your first display. The interline spacing is correct ... but now I would like "two" to be typeset on the fourth line and "the region" to be typeset on the fifth line.
– A gal named Desire
2 hours ago
I am looking at your first display. The interline spacing is correct ... but now I would like "two" to be typeset on the fourth line and "the region" to be typeset on the fifth line.
– A gal named Desire
2 hours ago
What does
parxdeftpd{theprevdepth}
instruct LaTeX
to do?– A gal named Desire
2 hours ago
What does
parxdeftpd{theprevdepth}
instruct LaTeX
to do?– A gal named Desire
2 hours ago
@AgalnamedDesire Did you read the linked question and answer? I would never alternate ragged right (with manual breaking) for a text such as this. The first way is as wrong as it can be, I added it just for showing the method for preserving the baseline skip.
– egreg
2 hours ago
@AgalnamedDesire Did you read the linked question and answer? I would never alternate ragged right (with manual breaking) for a text such as this. The first way is as wrong as it can be, I added it just for showing the method for preserving the baseline skip.
– egreg
2 hours ago
What is the difference between using
raggedright
and manual line breaking?– A gal named Desire
2 hours ago
What is the difference between using
raggedright
and manual line breaking?– A gal named Desire
2 hours ago
I will look at your explanation in the link now.
– A gal named Desire
2 hours ago
I will look at your explanation in the link now.
– A gal named Desire
2 hours ago
|
show 1 more comment
up vote
0
down vote
it is not very clear to me what you like to obtain. see, if the my guessing is close to your goal:
for above result i use the wrapfig
package:
documentclass[dvipsname]{amsart}
usepackage{tikz}
usetikzlibrary{calc, intersections}
usepackage{wrapfig}
begin{document}
begin{wrapfigure}{r}{0.25textwidth}
begin{tikzpicture}
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (0,0) circle (1.5pt);
end{tikzpicture}
end{wrapfigure}
noindenttextbf{1.)}
The following figure depicts three congruent semicircles bounded by another
semicircle; the diameters of the three smaller semicircles cover the diameter
of the bigger semicircle, and each of the three smaller semicircles is tangent
to two other semicircles at the endpoints of its diameter. $A$ is the area of
of the region enclosed by the three smaller semicircles and $B} is the area
the region enclosed by the big semicircle but outside the three smaller
semicircles. Compute the ratio of $A : B$.
end{document}
add a comment |
up vote
0
down vote
it is not very clear to me what you like to obtain. see, if the my guessing is close to your goal:
for above result i use the wrapfig
package:
documentclass[dvipsname]{amsart}
usepackage{tikz}
usetikzlibrary{calc, intersections}
usepackage{wrapfig}
begin{document}
begin{wrapfigure}{r}{0.25textwidth}
begin{tikzpicture}
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (0,0) circle (1.5pt);
end{tikzpicture}
end{wrapfigure}
noindenttextbf{1.)}
The following figure depicts three congruent semicircles bounded by another
semicircle; the diameters of the three smaller semicircles cover the diameter
of the bigger semicircle, and each of the three smaller semicircles is tangent
to two other semicircles at the endpoints of its diameter. $A$ is the area of
of the region enclosed by the three smaller semicircles and $B} is the area
the region enclosed by the big semicircle but outside the three smaller
semicircles. Compute the ratio of $A : B$.
end{document}
add a comment |
up vote
0
down vote
up vote
0
down vote
it is not very clear to me what you like to obtain. see, if the my guessing is close to your goal:
for above result i use the wrapfig
package:
documentclass[dvipsname]{amsart}
usepackage{tikz}
usetikzlibrary{calc, intersections}
usepackage{wrapfig}
begin{document}
begin{wrapfigure}{r}{0.25textwidth}
begin{tikzpicture}
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (0,0) circle (1.5pt);
end{tikzpicture}
end{wrapfigure}
noindenttextbf{1.)}
The following figure depicts three congruent semicircles bounded by another
semicircle; the diameters of the three smaller semicircles cover the diameter
of the bigger semicircle, and each of the three smaller semicircles is tangent
to two other semicircles at the endpoints of its diameter. $A$ is the area of
of the region enclosed by the three smaller semicircles and $B} is the area
the region enclosed by the big semicircle but outside the three smaller
semicircles. Compute the ratio of $A : B$.
end{document}
it is not very clear to me what you like to obtain. see, if the my guessing is close to your goal:
for above result i use the wrapfig
package:
documentclass[dvipsname]{amsart}
usepackage{tikz}
usetikzlibrary{calc, intersections}
usepackage{wrapfig}
begin{document}
begin{wrapfigure}{r}{0.25textwidth}
begin{tikzpicture}
draw[fill=blue!50] (-1.5,0) -- (1.5,0) arc (0:180:1.5) -- cycle;
%
draw[fill=yellow] (-3/2,0) -- (-1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (-1/2,0) -- (1/2,0) arc (0:180:1/2) -- cycle;
draw[fill=yellow] (1/2,0) -- (3/2,0) arc (0:180:1/2) -- cycle;
draw[fill] (0,0) circle (1.5pt);
end{tikzpicture}
end{wrapfigure}
noindenttextbf{1.)}
The following figure depicts three congruent semicircles bounded by another
semicircle; the diameters of the three smaller semicircles cover the diameter
of the bigger semicircle, and each of the three smaller semicircles is tangent
to two other semicircles at the endpoints of its diameter. $A$ is the area of
of the region enclosed by the three smaller semicircles and $B} is the area
the region enclosed by the big semicircle but outside the three smaller
semicircles. Compute the ratio of $A : B$.
end{document}
answered 3 hours ago
Zarko
119k865155
119k865155
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.
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%2f466284%2fgetting-the-proper-interline-spacing-after-a-minipage-environment%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
Did you see tex.stackexchange.com/q/34971/4427?
– egreg
3 hours ago