Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Your life would be very empty if you had nothing to regret.


comp / comp.text.tex / "Force" location of pictures.

SubjectAuthor
* "Force" location of pictures.William Unruh
+* Re: "Force" location of pictures.Axel Berger
|`- Re: "Force" location of pictures.Dr Engelbert Buxbaum
`* Re: "Force" location of pictures.Holger Schieferdecker
 `- Re: "Force" location of pictures.Peter Flynn

1
Subject: "Force" location of pictures.
From: William Unruh
Newsgroups: comp.text.tex
Organization: A noiseless patient Spider
Date: Thu, 25 Jul 2024 21:19 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: comp.text.tex
Subject: "Force" location of pictures.
Date: Thu, 25 Jul 2024 21:19:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <v7ufh9$2ethk$4@dont-email.me>
Injection-Date: Thu, 25 Jul 2024 23:19:38 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="72e3893e9350ea3952db20c994505127";
logging-data="2586164"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18s2WLDAqOhIVyq1dLZFR0n"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:dFkqoyEVadGCU+1QLya5BC1JI6Q=
View all headers

I have a paper with 6 figures in it. Each picture takes up about 1/2 a
page. Latex spaces out the pictures so that the second last picture
it stuck in the middle of the Acknowledgements, and last is in the
middle of the Bibliography. I would like them spaced closer to where
they actually occur in the text. Is there some way of forcing the
pictures closer to where I want them in the text?

Subject: Re: "Force" location of pictures.
From: Axel Berger
Newsgroups: comp.text.tex
Date: Fri, 26 Jul 2024 08:00 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Spam@Berger-Odenthal.De (Axel Berger)
Newsgroups: comp.text.tex
Subject: Re: "Force" location of pictures.
Date: Fri, 26 Jul 2024 10:00:36 +0200
Lines: 45
Message-ID: <66A357A4.5AF3D0FA@Berger-Odenthal.De>
References: <v7ufh9$2ethk$4@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: individual.net Fh4tRHq9T9VGuIDud47LWgXHeR3zKgyc9V/9Ym7hdlbUQ30T18
Cancel-Lock: sha1:pknZKrvMYD4SWriHOFk4hRit/IM= sha256:jPvqvQ5GUwJeNTgbH/VQZmxOaLSwbWKpwY3cH1MI22k=
X-Mailer: Mozilla 4.8 [en] (Win98; U)
X-Accept-Language: en,de,nl,es,fr
View all headers

William Unruh wrote:
> Is there some way of forcing the
> pictures closer to where I want them in the text?

Many. You can specify [p] in the \begin{figure} to place two of your
pictures on a separate page.

LaTeX dislikes pages with too little text and many pictures. I have this
in my standard private package loaded with every document:

\renewcommand*{\topfraction}{.85}
\renewcommand*{\bottomfraction}{.75}
\renewcommand*{\textfraction}{.15}
\renewcommand*{\floatpagefraction}{.7}
\renewcommand*{\dbltopfraction}{.85}
\renewcommand*{\dblfloatpagefraction}{.7}
\setcounter{topnumber}{6}
\setcounter{bottomnumber}{4}
\setcounter{totalnumber}{9}
\setcounter{dbltopnumber}{4}
\setlength{\@fptop}{5pt}
\setlength{\@fpsep}{12pt plus1fil minus4pt}
\setlength{\@fpbot}{0pt plus3fil}
\setlength{\@dblfptop}{\@fptop} %{5pt}
\setlength{\@dblfpsep}{\@fpsep} %{12pt plus1fil minus4pt}
\setlength{\@dblfpbot}{\@fpbot} %{0pt plus3fil}
\setlength{\floatsep}{12pt plus2pt minus4pt}
\setlength{\dblfloatsep}{\floatsep} %{12pt plus2pt minus4pt}
\setlength{\textfloatsep}{14pt plus1filll minus6pt} %plus8pt
\setlength{\dbltextfloatsep}{\textfloatsep} %{14pt plus1filll minus6pt}
\setlength{\intextsep}{12pt plus6pt minus2pt}

Of course these are my values, tweak them to your likes and needs.

And last take a good look at package
\usepackage[above,below,section]{placeins}
Again, these are my options. Set yours to your taste and needs.

--
/¯\ No | Dipl.-Ing. F. Axel Berger Tel: +49/ 221/ 7771 8067
\ / HTML | Roald-Amundsen-Straße 2a Fax: +49/ 221/ 7771 8069
 X in | D-50829 Köln-Ossendorf http://berger-odenthal.de
/ \ Mail | -- No unannounced, large, binary attachments, please! --

Subject: Re: "Force" location of pictures.
From: Dr Engelbert Buxbaum
Newsgroups: comp.text.tex
Organization: private
Date: Mon, 29 Jul 2024 05:36 UTC
References: 1 2
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: "Force" location of pictures.
Date: Mon, 29 Jul 2024 07:36:26 +0200
Organization: private
Lines: 16
Message-ID: <MPG.410ec4e741bb84f59896ab@news.eternal-september.org>
References: <v7ufh9$2ethk$4@dont-email.me> <66A357A4.5AF3D0FA@Berger-Odenthal.De>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 29 Jul 2024 07:36:25 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="b801006961241bc6cd6d8f85b380d1b3";
logging-data="387619"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+CXlkz2vQea17q8YGtoAmcICXa9FWaqi8="
User-Agent: MicroPlanet-Gravity/3.0.4
Cancel-Lock: sha1:lYa5fT29L0cPXHXHkXXsHyRHPC0=
View all headers

In article <66A357A4.5AF3D0FA@Berger-Odenthal.De>, Spam@Berger-
Odenthal.De says...
>
> William Unruh wrote:
> > Is there some way of forcing the
> > pictures closer to where I want them in the text?
>
> Many. You can specify [p] in the \begin{figure} to place two of your
> pictures on a separate page.
>
> LaTeX dislikes pages with too little text and many pictures. I have this
> in my standard private package loaded with every document:

Another option is the placeins package, you can then set \FloatBarriers
for example to prevent floats from moving into another section or
chapter. That is perhaps the gentlest solution to your problem.

Subject: Re: "Force" location of pictures.
From: Holger Schieferdecke
Newsgroups: comp.text.tex
Organization: [ posted via ] IN-Ulm
Date: Tue, 30 Jul 2024 07:18 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.szaf.org!news.bawue.net!newsfeed.in-ulm.de!.POSTED!not-for-mail
From: spamless@gmx.de (Holger Schieferdecker)
Newsgroups: comp.text.tex
Subject: Re: "Force" location of pictures.
Date: Tue, 30 Jul 2024 09:18:06 +0200
Organization: [ posted via ] IN-Ulm
Message-ID: <v8a43dU28sorL1@usenet.in-ulm.de>
References: <v7ufh9$2ethk$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.in-ulm.de ED000EB2543AA4DE21913098E59F03A0
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101
Thunderbird/52.9.1
In-Reply-To: <v7ufh9$2ethk$4@dont-email.me>
View all headers

Am 25.07.2024 um 23:19 schrieb William Unruh:
> I have a paper with 6 figures in it. Each picture takes up about 1/2 a
> page. Latex spaces out the pictures so that the second last picture
> it stuck in the middle of the Acknowledgements, and last is in the
> middle of the Bibliography. I would like them spaced closer to where
> they actually occur in the text. Is there some way of forcing the
> pictures closer to where I want them in the text?

Besides the already mentioned solutions there is the package "float". It
provides an option [H] for floating environments which means to place it
exactly at the position it occurs in the input. You have to decide if
this is a good solution for each individual picture.

Another possibility is \clearpage before the Acknowledgements. That
would ensure that all pending floats are printed, afterwards it will
start a new page. But I don't know if a pagebreak is ok in your case.

Holger

Subject: Re: "Force" location of pictures.
From: Peter Flynn
Newsgroups: comp.text.tex
Organization: Usenet Labs Bozon Detector Facility
Date: Thu, 29 Aug 2024 11:02 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: peter@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.tex
Subject: Re: "Force" location of pictures.
Date: Thu, 29 Aug 2024 12:02:08 +0100
Organization: Usenet Labs Bozon Detector Facility
Lines: 20
Message-ID: <ljb2pgFc6evU1@mid.individual.net>
References: <v7ufh9$2ethk$4@dont-email.me> <v8a43dU28sorL1@usenet.in-ulm.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net GzQyu7blMWRZ/tky+3ErbQNY1uuip531HgaPk5lBVZqLhwqIF9
Cancel-Lock: sha1:mxvTRGR7aQi44ck873rqCydpU+k= sha256:FDLGOl0sDfhsCDUF1j3+GE18PDpJfrB5hI+7eTjwIcI=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <v8a43dU28sorL1@usenet.in-ulm.de>
View all headers

On 30/07/2024 08:18, Holger Schieferdecker wrote:
> Am 25.07.2024 um 23:19 schrieb William Unruh:
>>   I have a paper with 6 figures in it.
>
> Besides the already mentioned solutions there is the package "float".

There are also settings which control how much of the available page
space can be allowed for floats. The defaults are:

\setcounter{topnumber}{2}
\newcommand\topfraction{.7}
\setcounter{bottomnumber}{1}
\newcommand\bottomfraction{.3}
\setcounter{totalnumber}{3}
\newcommand\textfraction{.2}
\newcommand\floatpagefraction{.5}

Peter

1

rocksolid light 0.9.8
clearnet tor