[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#100682: marked as done (Environment "figure" generates sometimes a blank line)



Your message dated Sat, 16 Jun 2001 15:11:24 -0700
with message-id <200106162211.f5GMBPjX017772@diziet.clawpaws.net>
and subject line Bug#100682: Environment "figure" generates sometimes a blank line 
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 13 Jun 2001 08:56:11 +0000
>From dedu@ese-metz.fr Wed Jun 13 03:56:11 2001
Return-path: <dedu@ese-metz.fr>
Received: from esemetz.ese-metz.fr [::ffff:193.48.224.212] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15A6Rf-0004ru-00; Wed, 13 Jun 2001 03:56:11 -0500
Received: from eminescu (eminescu.ese-metz.fr [193.48.224.218])
	by esemetz.ese-metz.fr (8.11.0/8.9.3) with ESMTP id f5D8sVk08723;
	Wed, 13 Jun 2001 10:54:32 +0200
Received: from dedu by eminescu with local (Exim 3.12 #1 (Debian))
	id 15A6Rw-0001Aq-00; Wed, 13 Jun 2001 10:56:28 +0200
From: Eugen Dedu <dedu@ese-metz.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Environment "figure" generates sometimes a blank line
X-Reportbug-Version: 0.54.1
X-Mailer: reportbug 0.54.1
Date: Wed, 13 Jun 2001 10:56:28 +0200
Message-Id: <[🔎] E15A6Rw-0001Aq-00@eminescu>
Delivered-To: submit@bugs.debian.org

Package: tetex-base
Version: 1.0-10
Severity: normal

If the environment 'figure' ends a paragraph, and if this paragraph
ends at the right margin of the page, a blank line is added.  Here is
an example:

\documentclass[a4paper,11pt]{article}

\usepackage{a4wide}
\usepackage{graphicx}

\begin{document}

Abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc
abc abc a figure~\ref{fig:f}.
\begin{figure}
  \caption{f}
  \label{fig:f}
\end{figure}

This new paragraph generates a blank line!

Abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc
abc abc figure~\ref{fig:ff}.
\begin{figure}
  \caption{f}
  \label{fig:ff}
\end{figure}

This new paragraph does not generate a blank line!

\end{document}

Thanks,
Eugen

-- System Information
Debian Release: 2.2
Architecture: i386
Kernel: Linux eminescu 2.2.19 #1 Sat Jun 9 13:04:06 EST 2001 i686

Versions of packages tetex-base depends on:
ii  dpkg-perl                     0.1-3.0    Perl interface modules for dpkg   


---------------------------------------
Received: (at 100682-close) by bugs.debian.org; 16 Jun 2001 22:11:31 +0000
>From c@eskimo.com Sat Jun 16 17:11:31 2001
Return-path: <c@eskimo.com>
Received: from fepout1.telus.net (priv-edtnes03-hme0.telusplanet.net) [::ffff:199.185.220.236] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15BOHz-0005pq-00; Sat, 16 Jun 2001 17:11:31 -0500
Received: from diziet.clawpaws.net ([209.53.35.36])
          by priv-edtnes03-hme0.telusplanet.net
          (InterMail vM.4.01.03.10 201-229-121-110) with ESMTP
          id <20010616221126.FRDE2296.priv-edtnes03-hme0.telusplanet.net@diziet.clawpaws.net>;
          Sat, 16 Jun 2001 16:11:26 -0600
Received: from diziet.clawpaws.net (localhost.clawpaws.net [127.0.0.1])
        by localhost.clawpaws.net (8.12.0.Beta7/8.12.0.Beta7/Debian 8.12.0.Beta7-1) with ESMTP id f5GMBPjX017772;
	Sat, 16 Jun 2001 15:11:26 -0700
Message-Id: <200106162211.f5GMBPjX017772@diziet.clawpaws.net>
To: Eugen Dedu <dedu@ese-metz.fr>, 100682-close@bugs.debian.org
cc: "C.M. Connelly" <c@eskimo.com>
From: "C.M. Connelly" <c@eskimo.com>
Subject: Re: Bug#100682: Environment "figure" generates sometimes a blank line 
Reply-To: "C.M. Connelly" <c@eskimo.com>
In-reply-to: Message from Eugen Dedu <dedu@ese-metz.fr> 
   of "Thu, 14 Jun 2001 09:46:58 +0200." <[🔎] 3B286BF2.CB6D589@ese-metz.fr> 
Date: Sat, 16 Jun 2001 15:11:24 -0700
Sender: c@eskimo.com
Delivered-To: 100682-close@bugs.debian.org


Eugen,

I'm closing this bug report now, but I'll also reply to your last
message.


You should be able to run a float environment right up against
text, and it should be handled properly by LaTeX.  That it isn't,
in some cases, is probably a bug in LaTeX, but not one that's
likely to be fixed, especially when there's a simple workaround.

As for where to put the code for a float, that's a matter of
taste.  Generally you probably want it to be fairly close to the
text you want it to appear near in the typeset document.  George
Gratzer recommends *moving* float environments to the place they
appear in the typeset text (once you've managed to get them to
appear where you want them, of course), and ``anchoring'' them by
adding an optional ``[h!]''  argument to the \begin command
(pg. 427 of the third edition of _Math into LaTeX_).

>From a ``keeping your source file clean'' perspective, I would
recommend not embedding float environments inside other text --
because LaTeX makes its own decisions about where floats will be
placed anyway, you're better off keeping things readable.

Also, since LaTeX calculates the figure/table numbers on one run,
and inserts them into the text on the next, you shouldn't worry
too much about whether the float code appears before or after a
reference.  The _Chicago Manual of Style_ (14th edition, pg. 387),
says:

   11.6  An illustration should be placed as close as possible to
	 the first text reference to it.  The illustration may
	 precede the reference only if it is on the same page as
	 the reference; otherwise it should follow.

Which means that placing the float after the paragraph where the
first reference appears is probably just fine.


I'm pleased to hear that you're considering using the twocolumn
style to fit more information onto the page -- there's a reason
that newspapers and magazines use multiple columns.  Remember
though, that various people may want to scribble comments in the
margins of your thesis, and thus filling the page with text isn't
always the best thing to do.

At the very least, you should make very sure that your document
will meet your school's regulations -- they probably specify
particular amounts of leading, right, left, and possibly top and
bottom margins, type size, and lots of other non-aesthetic
requirements.

You should probably check to make sure that your school doesn't
have its own thesis class (or recommend one from another school).
My partner recently completed her Ph.D. thesis, and was able to
adapt her university's official LaTeX thesis style so that it
typeset things better while still adhering to the thesis
regulations.  Those regulations said the text had to be ``double
spaced'', with no more than four lines per inch.  She ended up
finding a typeface that actually looks good at 12 pt (many don't)
and typesetting the thesis at exactly four lines per inch.  The
regulations also required that the thesis be printed single-sided,
which she really wanted to avoid.  In the end, she went to the
thesis librarian with a double-sided copy and convinced him that
it worked just as well.

As for ``having more ideas into a same page, in order to have a
more global view of the ideas of the document'', I think the best
way to get that sort of information across is by structuring the
document well and coming up with informative section titles --
giving your reader the chance to absorb your ideas gradually seems
better than confronting them with too much to think about all at
once!

Good luck with your thesis!

   Claire

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
 Behind the counter a boy with a shaven head stared vacantly into space, 
 a dozen spikes of microsoft protruding from the socket behind his ear.
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
   C.M. Connelly               c@eskimo.com                   SHC, DS
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ 



Reply to: