All of lore.kernel.org
 help / color / mirror / Atom feed
From: Akira Yokosawa <akiyks@gmail.com>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: perfbook@vger.kernel.org, Akira Yokosawa <akiyks@gmail.com>
Subject: [PATCH 6/6] SMPdesign/partexercises: Move figure env next to first paragraph in QQA
Date: Sat, 7 Mar 2020 07:53:40 +0900	[thread overview]
Message-ID: <5df58040-1f56-a3cb-6a2d-9f9ffcd324bc@gmail.com> (raw)
In-Reply-To: <0a98646c-eb33-a27c-b974-ff38b8652a44@gmail.com>

From 6a10517e8890a37b34c4d3dbbb91372df1906ac1 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Fri, 6 Mar 2020 21:14:19 +0900
Subject: [PATCH 6/6] SMPdesign/partexercises: Move figure env next to first paragraph in QQA

This change removes the extra indent at the beginning of the
answer.

Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
 SMPdesign/partexercises.tex | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/SMPdesign/partexercises.tex b/SMPdesign/partexercises.tex
index 4ceaefeb..12945935 100644
--- a/SMPdesign/partexercises.tex
+++ b/SMPdesign/partexercises.tex
@@ -134,14 +134,6 @@ the acquisition and release algorithms.
 	Is there a better solution to the Dining
 	Philosophers Problem?
 \QuickQuizAnswer{
-%
-\begin{figure}[tb]
-\centering
-\includegraphics[scale=.7]{SMPdesign/DiningPhilosopher5PEM}
-\caption{Dining Philosophers Problem, Fully Partitioned}
-\QContributedBy{Figure}{fig:SMPdesign:Dining Philosophers Problem, Fully Partitioned}{Kornilios Kourtis}
-\end{figure}
-%
 	One such improved solution is shown in
 	Figure~\ref{fig:SMPdesign:Dining Philosophers Problem, Fully Partitioned},
 	where the philosophers are simply provided with an additional
@@ -150,6 +142,13 @@ the acquisition and release algorithms.
 	is never any need for philosophers to wait on one another.
 	In addition, this approach offers greatly improved disease control.
 
+\begin{figure}[tb]
+\centering
+\includegraphics[scale=.7]{SMPdesign/DiningPhilosopher5PEM}
+\caption{Dining Philosophers Problem, Fully Partitioned}
+\QContributedBy{Figure}{fig:SMPdesign:Dining Philosophers Problem, Fully Partitioned}{Kornilios Kourtis}
+\end{figure}
+
 	This solution might seem like cheating to some, but such
 	``cheating'' is key to finding good solutions to many
 	concurrency problems.
-- 
2.17.1



  parent reply	other threads:[~2020-03-06 22:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-06 22:46 [PATCH 0/6] Improve page/column breaks in Appendix E Akira Yokosawa
2020-03-06 22:47 ` [PATCH 1/6] qqz.sty: " Akira Yokosawa
2020-03-06 22:49 ` [PATCH 2/6] qqz.sty: Fix position of \goodbreak for accuracy of hyperlinks Akira Yokosawa
2020-03-06 22:50 ` [PATCH 3/6] toolsoftrade: Use nbsp in front of single letter variable Akira Yokosawa
2020-03-06 22:51 ` [PATCH 4/6] debugging: Add opening sentence in Answer to QQZ 11.2 Akira Yokosawa
2020-03-06 22:52 ` [PATCH 5/6] defer/rcuusage: Reverse nesting of fcvref and enumerate envs Akira Yokosawa
2020-03-06 22:53 ` Akira Yokosawa [this message]
2020-03-07  1:29 ` [PATCH 0/6] Improve page/column breaks in Appendix E Paul E. McKenney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5df58040-1f56-a3cb-6a2d-9f9ffcd324bc@gmail.com \
    --to=akiyks@gmail.com \
    --cc=paulmck@kernel.org \
    --cc=perfbook@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.