Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #58: high pressure system failure


comp / comp.text.tex / Re: Figure placement

SubjectAuthor
* Figure placementdb
`* Re: Figure placementDr Engelbert Buxbaum
 +* Re: Figure placementdb
 |`- Re: Figure placementDr Engelbert Buxbaum
 `- Re: Figure placementdb

1
Subject: Figure placement
From: db
Newsgroups: comp.text.tex
Organization: A noiseless patient Spider
Date: Fri, 18 Oct 2024 09:47 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dieterhansbritz@gmail.com (db)
Newsgroups: comp.text.tex
Subject: Figure placement
Date: Fri, 18 Oct 2024 09:47:28 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <vetarg$38b6q$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 18 Oct 2024 11:47:29 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="528e7641bc6ef30f76c0c8dc952992dd";
logging-data="3419354"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JZtKcsmZrRhvgbnn/Waq23IxjXRx9G+c="
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
Cancel-Lock: sha1:SCSbunt1Xmy7E9/ZQfTAb3flVyg=
View all headers

I am frustrated by figure placement. I have a figure near the top
of an article that, if I write \begin{figure}[!h], it gets put in
the middle of a sentence, but if I write \begin{figure}[!t] it
naturally goes above the title.

Is it possible to force a figure to go where I want it?

--
db

Subject: Re: Figure placement
From: Dr Engelbert Buxbaum
Newsgroups: comp.text.tex
Organization: private
Date: Sat, 19 Oct 2024 08:30 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: engelbert_buxbaum@hotmail.com (Dr Engelbert Buxbaum)
Newsgroups: comp.text.tex
Subject: Re: Figure placement
Date: Sat, 19 Oct 2024 10:30:02 +0200
Organization: private
Lines: 17
Message-ID: <MPG.417d8c71d13b6ce59896a2@news.eternal-september.org>
References: <vetarg$38b6q$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 19 Oct 2024 10:30:02 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="6e1ea47bfd7cb7caab88751c9e1fbf96";
logging-data="4001323"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5t3PjSYYuZklBPguyCw8InI4zJ5dW2Hg="
User-Agent: MicroPlanet-Gravity/3.0.4
Cancel-Lock: sha1:YjQGq8mbSK74lA+O8DLKLKVtboI=
View all headers

In article <vetarg$38b6q$1@dont-email.me>, dieterhansbritz@gmail.com
says...
>
> I am frustrated by figure placement. I have a figure near the top
> of an article that, if I write \begin{figure}[!h], it gets put in
> the middle of a sentence, but if I write \begin{figure}[!t] it
> naturally goes above the title.
>
> Is it possible to force a figure to go where I want it?

"Forcing" of floats is generally a bad idea, if you want a figure or
table at a specific place, use the tabular or includegraphics commands
without wrapping them into a floating environment.

I do use the placeins package to place \FloatBarriers between sections,
this ensures that floats are placed near where they are referred to. The
rest I leave to LaTeX.

Subject: Re: Figure placement
From: db
Newsgroups: comp.text.tex
Organization: A noiseless patient Spider
Date: Sat, 19 Oct 2024 10:58 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dieterhansbritz@gmail.com (db)
Newsgroups: comp.text.tex
Subject: Re: Figure placement
Date: Sat, 19 Oct 2024 10:58:29 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <vf03ck$3rf5q$1@dont-email.me>
References: <vetarg$38b6q$1@dont-email.me>
<MPG.417d8c71d13b6ce59896a2@news.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 19 Oct 2024 12:58:29 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a9129c0ba371394a37f14c7ed6d32d0a";
logging-data="4046010"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19pTgjnYW1XSJ9nNlrMPNjdB37/3/kp5qA="
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
Cancel-Lock: sha1:4jtNAJUoYi6VhzcTYNCVJ5umEJs=
View all headers

On Sat, 19 Oct 2024 10:30:02 +0200, Dr Engelbert Buxbaum wrote:

> In article <vetarg$38b6q$1@dont-email.me>, dieterhansbritz@gmail.com
> says...
>>
>> I am frustrated by figure placement. I have a figure near the top of an
>> article that, if I write \begin{figure}[!h], it gets put in the middle
>> of a sentence, but if I write \begin{figure}[!t] it naturally goes
>> above the title.
>>
>> Is it possible to force a figure to go where I want it?
>
> "Forcing" of floats is generally a bad idea, if you want a figure or
> table at a specific place, use the tabular or includegraphics commands
> without wrapping them into a floating environment.
>
> I do use the placeins package to place \FloatBarriers between sections,
> this ensures that floats are placed near where they are referred to. The
> rest I leave to LaTeX.

OK, here is the template I use for figures:

\begin{figure}[!pb]%
\begin{center}
\includegraphics*[width=0.8\textwidth]{figs/.eps}
\caption{}\label{Fig:}
\end{center}
\end{figure}

What do I have to do to not wrap them in a floating
environment?

--
db

Subject: Re: Figure placement
From: db
Newsgroups: comp.text.tex
Organization: A noiseless patient Spider
Date: Sat, 19 Oct 2024 11:13 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dieterhansbritz@gmail.com (db)
Newsgroups: comp.text.tex
Subject: Re: Figure placement
Date: Sat, 19 Oct 2024 11:13:04 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <vf0480$3rno2$1@dont-email.me>
References: <vetarg$38b6q$1@dont-email.me>
<MPG.417d8c71d13b6ce59896a2@news.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 19 Oct 2024 13:13:04 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a9129c0ba371394a37f14c7ed6d32d0a";
logging-data="4054786"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+4Ch4eD3/ykNlnehuIqCULqGmbOAL8ZcQ="
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
Cancel-Lock: sha1:SMrzo6nqs9FqA2GYY+L5lIi6dY0=
View all headers

On Sat, 19 Oct 2024 10:30:02 +0200, Dr Engelbert Buxbaum wrote:

> In article <vetarg$38b6q$1@dont-email.me>, dieterhansbritz@gmail.com
> says...
>>
>> I am frustrated by figure placement. I have a figure near the top of an
>> article that, if I write \begin{figure}[!h], it gets put in the middle
>> of a sentence, but if I write \begin{figure}[!t] it naturally goes
>> above the title.
>>
>> Is it possible to force a figure to go where I want it?
>
> "Forcing" of floats is generally a bad idea, if you want a figure or
> table at a specific place, use the tabular or includegraphics commands
> without wrapping them into a floating environment.
>
> I do use the placeins package to place \FloatBarriers between sections,
> this ensures that floats are placed near where they are referred to. The
> rest I leave to LaTeX.

I found out how to do it. Use the package float and position H, not h.
--
db

Subject: Re: Figure placement
From: Dr Engelbert Buxbaum
Newsgroups: comp.text.tex
Organization: private
Date: Wed, 20 Nov 2024 22:01 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: engelbert_buxbaum@hotmail.com (Dr Engelbert Buxbaum)
Newsgroups: comp.text.tex
Subject: Re: Figure placement
Date: Wed, 20 Nov 2024 23:01:15 +0100
Organization: private
Lines: 37
Message-ID: <MPG.41a87a9246326f339896a7@news.eternal-september.org>
References: <vetarg$38b6q$1@dont-email.me> <MPG.417d8c71d13b6ce59896a2@news.eternal-september.org> <vf03ck$3rf5q$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 20 Nov 2024 23:01:15 +0100 (CET)
Injection-Info: dont-email.me; posting-host="ac9216900a9dabe779f5b1ec0f23ce8b";
logging-data="316753"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+iKa114h+c426GkAJFFuHbFlKVvePMQOM="
User-Agent: MicroPlanet-Gravity/3.0.4
Cancel-Lock: sha1:zI+EnfNfMM0PQLLNnEQOwGJ19vc=
View all headers

In article <vf03ck$3rf5q$1@dont-email.me>, dieterhansbritz@gmail.com
says...
>
> On Sat, 19 Oct 2024 10:30:02 +0200, Dr Engelbert Buxbaum wrote:
>
> > In article <vetarg$38b6q$1@dont-email.me>, dieterhansbritz@gmail.com
> > says...
> >>
> >> I am frustrated by figure placement. I have a figure near the top of an
> >> article that, if I write \begin{figure}[!h], it gets put in the middle
> >> of a sentence, but if I write \begin{figure}[!t] it naturally goes
> >> above the title.
> >>
> >> Is it possible to force a figure to go where I want it?
> >
> > "Forcing" of floats is generally a bad idea, if you want a figure or
> > table at a specific place, use the tabular or includegraphics commands
> > without wrapping them into a floating environment.
> >
> > I do use the placeins package to place \FloatBarriers between sections,
> > this ensures that floats are placed near where they are referred to. The
> > rest I leave to LaTeX.
>
> OK, here is the template I use for figures:
>
> \begin{figure}[!pb]%
> \begin{center}
> \includegraphics*[width=0.8\textwidth]{figs/.eps}
> \caption{}\label{Fig:}
> \end{center}
> \end{figure}
>
> What do I have to do to not wrap them in a floating
> environment?

Simply leave out the figure environment (first and last line), and the
caption. The latter you'll have to replace by normal text.

1

rocksolid light 0.9.8
clearnet tor