Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Between infinite and short there is a big difference. -- G. H. Gonnet


computers / comp.text.tex / Re: A4 and two A5 on A4

SubjectAuthor
* A4 and two A5 on A4Cecil Westerhof
+* Re: A4 and two A5 on A4Rolf Niepraschk
|+- Re: A4 and two A5 on A4Cecil Westerhof
|+* Re: A4 and two A5 on A4Eric Pozharski
||+* Re: A4 and two A5 on A4Peter Flynn
|||`- Re: A4 and two A5 on A4Axel Berger
||`- Re: A4 and two A5 on A4Ulrich D i e z
|`* Re: A4 and two A5 on A4Cecil Westerhof
| `* Re: A4 and two A5 on A4Peter Flynn
|  `* Re: A4 and two A5 on A4Cecil Westerhof
|   `- Re: A4 and two A5 on A4Cecil Westerhof
+- Re: A4 and two A5 on A4Nicola Talbot
`* Re: A4 and two A5 on A4Ulrich D i e z
 `- Re: A4 and two A5 on A4Ulrich D i e z

1
A4 and two A5 on A4

<87edtuc5r8.fsf@munus.decebal.nl>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5680&group=comp.text.tex#5680

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Cecil@decebal.nl (Cecil Westerhof)
Newsgroups: comp.text.tex
Subject: A4 and two A5 on A4
Date: Wed, 23 Nov 2022 11:41:31 +0100
Organization: Decebal Computing
Lines: 10
Message-ID: <87edtuc5r8.fsf@munus.decebal.nl>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="ddabc390b307dc4580bd49279de71efb";
logging-data="388381"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182ZQ+Kep2VhKZXDdP4DmLH0j4d8NnayU0="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:mocpK40i216cUCDkOTnX0+IlMS4=
sha1:spVoDzBOkV6u1DY3Adfc1/SqpY4=
 by: Cecil Westerhof - Wed, 23 Nov 2022 10:41 UTC

I have a document that I want to create as A4, but also as two A5 on
an A4. (The same document, but shrinked.)
Is this possible with latex?

I am using lualatex if that makes a difference.

--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Re: A4 and two A5 on A4

<ju73d4FfiqhU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5683&group=comp.text.tex#5683

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Rolf.Niepraschk@gmx.de (Rolf Niepraschk)
Newsgroups: comp.text.tex
Subject: Re: A4 and two A5 on A4
Date: Wed, 23 Nov 2022 18:25:56 +0100
Lines: 14
Message-ID: <ju73d4FfiqhU1@mid.individual.net>
References: <87edtuc5r8.fsf@munus.decebal.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net mNcdkJmu16fDo7XDI+zZ3Q0nvipxLh3jYxy1SCMahPLcvztF5z
Cancel-Lock: sha1:di9D4AOrheZh9G2r5zud2kToD8Y=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.5.0
Content-Language: de-DE
In-Reply-To: <87edtuc5r8.fsf@munus.decebal.nl>
 by: Rolf Niepraschk - Wed, 23 Nov 2022 17:25 UTC

Am 23.11.22 um 11:41 schrieb Cecil Westerhof:
> I have a document that I want to create as A4, but also as two A5 on
> an A4. (The same document, but shrinked.)
> Is this possible with latex?
>
> I am using lualatex if that makes a difference.
>

Create a new LaTeX document and load the original document into it via
pdfpages. See pdfpages documentation.

....Rolf

Re: A4 and two A5 on A4

<87a64hcy9g.fsf@munus.decebal.nl>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5684&group=comp.text.tex#5684

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Cecil@decebal.nl (Cecil Westerhof)
Newsgroups: comp.text.tex
Subject: Re: A4 and two A5 on A4
Date: Wed, 23 Nov 2022 19:38:03 +0100
Organization: Decebal Computing
Lines: 18
Message-ID: <87a64hcy9g.fsf@munus.decebal.nl>
References: <87edtuc5r8.fsf@munus.decebal.nl>
<ju73d4FfiqhU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="ddabc390b307dc4580bd49279de71efb";
logging-data="462442"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+FlZzodO7Qaf2MRoKOH2zbhbIlGVs4zgo="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:cCnai6/ruzxZn7J6sY1M4DbkbAE=
sha1:C/xWC0DAfnXRCgZc6sHj8Q/r41s=
 by: Cecil Westerhof - Wed, 23 Nov 2022 18:38 UTC

Rolf Niepraschk <Rolf.Niepraschk@gmx.de> writes:

> Am 23.11.22 um 11:41 schrieb Cecil Westerhof:
>> I have a document that I want to create as A4, but also as two A5 on
>> an A4. (The same document, but shrinked.)
>> Is this possible with latex?
>> I am using lualatex if that makes a difference.
>>
>
> Create a new LaTeX document and load the original document into it via
> pdfpages. See pdfpages documentation.

Thanks, I will look into that.

--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Re: A4 and two A5 on A4

<tloqop$8mk$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5690&group=comp.text.tex#5690

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!aioe.org!rPYNlnsFYrilpVliWBN+ug.user.46.165.242.75.POSTED!not-for-mail
From: lists@dickimaw-books.com (Nicola Talbot)
Newsgroups: comp.text.tex
Subject: Re: A4 and two A5 on A4
Date: Thu, 24 Nov 2022 22:21:13 +0000
Organization: Aioe.org NNTP Server
Message-ID: <tloqop$8mk$1@gioia.aioe.org>
References: <87edtuc5r8.fsf@munus.decebal.nl>
Reply-To: lists+tex@dickimaw-books.com
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="8916"; posting-host="rPYNlnsFYrilpVliWBN+ug.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.5.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-GB
 by: Nicola Talbot - Thu, 24 Nov 2022 22:21 UTC

On 23/11/2022 10:41, Cecil Westerhof wrote:
> I have a document that I want to create as A4, but also as two A5 on
> an A4. (The same document, but shrinked.)
> Is this possible with latex?
>
> I am using lualatex if that makes a difference.
>

Try pdfjam (https://ctan.org/pkg/pdfjam). I think the syntax is
something like:

pdfjam --nup 2x1 filename.pdf

Regards
Nicola Talbot
--
Dickimaw Books
Home: https://www.dickimaw-books.com/
Creating a LaTeX Minimal Example:
https://www.dickimaw-books.com/latex/minexample/
LaTeX Resources: https://www.dickimaw-books.com/latexresources.html

Re: A4 and two A5 on A4

<slrntnuhmi.4fh.whynot@orphan.zombinet>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5691&group=comp.text.tex#5691

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: whynot@pozharski.name (Eric Pozharski)
Newsgroups: comp.text.tex
Subject: Re: A4 and two A5 on A4
Date: Thu, 24 Nov 2022 10:26:26 +0000
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <slrntnuhmi.4fh.whynot@orphan.zombinet>
References: <87edtuc5r8.fsf@munus.decebal.nl>
<ju73d4FfiqhU1@mid.individual.net>
Injection-Info: reader01.eternal-september.org; posting-host="3315eb23bc9602330dea2a8341d56452";
logging-data="824014"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/nwsNfwGmTow/m9IesJQ6X"
User-Agent: slrn/pre1.0.0-18 (Linux)
Cancel-Lock: sha1:H68A7pAEhRZHCUhVRn3P9hD/TuY=
 by: Eric Pozharski - Thu, 24 Nov 2022 10:26 UTC

with <ju73d4FfiqhU1@mid.individual.net> Rolf Niepraschk wrote:
> Am 23.11.22 um 11:41 schrieb Cecil Westerhof:

>> I have a document that I want to create as A4, but also as two A5 on
>> an A4. (The same document, but shrinked.) Is this possible with
>> latex?

I was doing this (two A5s on one A4) for years. Here comes what I've
learned.

Fonts refuse to scale (bonus horror -- printing on ink-jet, if you know
what I mean). Thus either 12pt on A4 with questionable typesetting (and
occassionaly unreadable scaled to A5). Or comfortable 10pt that's
utterly unreadable on A5.

Thus I've ended up with 9pt (or even 8pt) on A5, and reordering
aproprietely on A4 -- see? no scaling!

>> I am using lualatex if that makes a difference.

I'm not sure it's relevant -- scaling is much deeper.

> Create a new LaTeX document and load the original document into it via
> pdfpages. See pdfpages documentation.

I'm not badmouthing or anything, but (back then, a decade ago) did't
work for me -- boxes went ballistic, bookletting was impossible. I've
used psutils instead (but you need postscript for this to work, of
course).

Please consider this. If what you want is one-shot -- do it once and
forget about it. If it becomes routine -- invent a procedure of
typesetting your documents twice -- for two paper sizes two different
base-font sizes.

--
Torvalds' goal for Linux is very simple: World Domination
Stallman's goal for GNU is even simpler: Freedom

Re: A4 and two A5 on A4

<jubr6qF76p1U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5694&group=comp.text.tex#5694

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: peter@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.tex
Subject: Re: A4 and two A5 on A4
Date: Fri, 25 Nov 2022 12:36:42 +0000
Organization: Usenet Labs Bozon Detector Facility
Lines: 27
Message-ID: <jubr6qF76p1U1@mid.individual.net>
References: <87edtuc5r8.fsf@munus.decebal.nl>
<ju73d4FfiqhU1@mid.individual.net> <slrntnuhmi.4fh.whynot@orphan.zombinet>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net VVGroenO1T+QJmVDME7VFwPRntNxB+beiFlVMJz8XPMbM6Y84w
Cancel-Lock: sha1:k6CKDB5UBWmsnFhSKQaicrNF2DE=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Content-Language: en-US
In-Reply-To: <slrntnuhmi.4fh.whynot@orphan.zombinet>
 by: Peter Flynn - Fri, 25 Nov 2022 12:36 UTC

On 24/11/2022 10:26, Eric Pozharski wrote:
> with <ju73d4FfiqhU1@mid.individual.net> Rolf Niepraschk wrote:
>> Am 23.11.22 um 11:41 schrieb Cecil Westerhof:
>
>>> I have a document that I want to create as A4, but also as two A5 on
>>> an A4. (The same document, but shrinked.) Is this possible with
>>> latex?
>
> I was doing this (two A5s on one A4) for years. Here comes what I've
> learned.
>
> Fonts refuse to scale (bonus horror -- printing on ink-jet, if you know
> what I mean). [...] I've
> used psutils instead (but you need postscript for this to work, of
> course).

If this was a decade ago and you were using plain LaTeX --> DVI --> PS
then font scaling with Type 3 fonts could be an issue, except that I've
been doing a4 documents 2up to make 4pp A5 signatures for several
decades and never had that problem.

If you're generating PDF with pdflatex or xelatex or lualatex and all
your fonts are either Type 1 (for pdflatex) or TT/OT (for xelatex and
lualatex) then the problem should not arise.

Peter

Re: A4 and two A5 on A4

<6380EA38.CF74B1C3@Berger-Odenthal.De>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5697&group=comp.text.tex#5697

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Spam@Berger-Odenthal.De (Axel Berger)
Newsgroups: comp.text.tex
Subject: Re: A4 and two A5 on A4
Date: Fri, 25 Nov 2022 17:15:52 +0100
Lines: 20
Message-ID: <6380EA38.CF74B1C3@Berger-Odenthal.De>
References: <87edtuc5r8.fsf@munus.decebal.nl>
<ju73d4FfiqhU1@mid.individual.net> <slrntnuhmi.4fh.whynot@orphan.zombinet> <jubr6qF76p1U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: individual.net 2ckU3dVhJrMT8gb8LRDfSAzSJy9cbbk13c5WRNTYqaWTYDTeD8
Cancel-Lock: sha1:CW0ObLwOrvz33+TCYarWd+caohA=
X-Mailer: Mozilla 4.8 [en] (Win98; U)
X-Accept-Language: en,de,nl,es,fr
 by: Axel Berger - Fri, 25 Nov 2022 16:15 UTC

Peter Flynn wrote:
> then the problem should not arise.

Same here. Except what Eric seems to be saying, not sure if I understand
correctly, is that A5 scaled up yields a rather large font (from e.g. 10
to 14 pt) or the other way round a tiny one. That will always remain
true. Also A4 without large fonts yields over long lines, so you will
choose either wide margins or two columns.

That said technically there is no reason against. I have printed A4
pages two up and given a good printer they remain legible, but I'm short
sighted and can go quite near with glasses off.

--
/¯\ 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! --

Re: A4 and two A5 on A4

<87iliv8ff8.fsf@munus.decebal.nl>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5722&group=comp.text.tex#5722

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Cecil@decebal.nl (Cecil Westerhof)
Newsgroups: comp.text.tex
Subject: Re: A4 and two A5 on A4
Date: Thu, 01 Dec 2022 13:41:15 +0100
Organization: Decebal Computing
Lines: 32
Message-ID: <87iliv8ff8.fsf@munus.decebal.nl>
References: <87edtuc5r8.fsf@munus.decebal.nl>
<ju73d4FfiqhU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="78840d37b45a5a729795eebd1b415193";
logging-data="2951407"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19QoQGjTqvjqA0aSQaeqKPvmiNs1trRjCQ="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:PbetmfYvF3tF3wkDMYSsT8mSAEU=
sha1:kpN0Xs9t8pr0jISnqQHUSwlXjAM=
 by: Cecil Westerhof - Thu, 1 Dec 2022 12:41 UTC

Rolf Niepraschk <Rolf.Niepraschk@gmx.de> writes:

> Am 23.11.22 um 11:41 schrieb Cecil Westerhof:
>> I have a document that I want to create as A4, but also as two A5 on
>> an A4. (The same document, but shrinked.)
>> Is this possible with latex?
>> I am using lualatex if that makes a difference.
>>
>
> Create a new LaTeX document and load the original document into it via
> pdfpages. See pdfpages documentation.

I use the following:
\documentclass[a4paper]{article}

\usepackage{pdfpages}

\begin{document}

\includepdf[nup=1x2, pages={1, 1}, landscape]{Generated/flyer.pdf}

\end{document}

There is only one slight problem: the two are a bit to close to
each-other. When I cut the A4 to 2 A5, the left page has left a bigger
margin as right, while for the right page it is the other way around.
Can I do something about that?

--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Re: A4 and two A5 on A4

<jusps6FpcjiU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5727&group=comp.text.tex#5727

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: peter@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.tex
Subject: Re: A4 and two A5 on A4
Date: Thu, 1 Dec 2022 22:58:14 +0000
Organization: Usenet Labs Bozon Detector Facility
Lines: 41
Message-ID: <jusps6FpcjiU1@mid.individual.net>
References: <87edtuc5r8.fsf@munus.decebal.nl>
<ju73d4FfiqhU1@mid.individual.net> <87iliv8ff8.fsf@munus.decebal.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net +/1QsEO4svA1SaJvqKgL0AjSPVNlriqcT7JeeYPzy/hU9aQCsK
Cancel-Lock: sha1:bLTM3iVycMuYvpuhQn8xehDZ2VU=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Content-Language: en-US
In-Reply-To: <87iliv8ff8.fsf@munus.decebal.nl>
 by: Peter Flynn - Thu, 1 Dec 2022 22:58 UTC

On 01/12/2022 12:41, Cecil Westerhof wrote:
> Rolf Niepraschk <Rolf.Niepraschk@gmx.de> writes:
>
>> Am 23.11.22 um 11:41 schrieb Cecil Westerhof:
>>> I have a document that I want to create as A4, but also as two A5 on
>>> an A4. (The same document, but shrinked.)
>>> Is this possible with latex?
>>> I am using lualatex if that makes a difference.
>>>
>>
>> Create a new LaTeX document and load the original document into it via
>> pdfpages. See pdfpages documentation.
>
> I use the following:
> \documentclass[a4paper]{article}
>
> \usepackage{pdfpages}
>
> \begin{document}
>
> \includepdf[nup=1x2, pages={1, 1}, landscape]{Generated/flyer.pdf}
>
> \end{document}
>
> There is only one slight problem: the two are a bit to close to
> each-other. When I cut the A4 to 2 A5, the left page has left a bigger
> margin as right, while for the right page it is the other way around.
> Can I do something about that?

Use the geometry package to get rid of all margins

\usepackage[a4paper,margin=0pt,nohead,nofoot]{geometry}
\pagestyle{empty}

However, some printers have an unprintable margin, so they force the
image to shift down and right. If your printer driver has a "photo
bleed" setting that prints to the edge of the paper, try that. But
that's a physical problem, out of the range of LaTeX to deal with.

Peter

Re: A4 and two A5 on A4

<87o7sm6t46.fsf@munus.decebal.nl>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5731&group=comp.text.tex#5731

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Cecil@decebal.nl (Cecil Westerhof)
Newsgroups: comp.text.tex
Subject: Re: A4 and two A5 on A4
Date: Fri, 02 Dec 2022 10:40:41 +0100
Organization: Decebal Computing
Lines: 51
Message-ID: <87o7sm6t46.fsf@munus.decebal.nl>
References: <87edtuc5r8.fsf@munus.decebal.nl>
<ju73d4FfiqhU1@mid.individual.net> <87iliv8ff8.fsf@munus.decebal.nl>
<jusps6FpcjiU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="e538a948f266eb7f729e17e9045af5f3";
logging-data="3220074"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18VRROm1rFmKTV19kGPlwD3fyuK+OZeUlg="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:X3TbtZXEk7SP5QjE/gVgZ+F6o3E=
sha1:rqvXaUXl1TMSpNa3vsCDC9pATgw=
 by: Cecil Westerhof - Fri, 2 Dec 2022 09:40 UTC

Peter Flynn <peter@silmaril.ie> writes:

> On 01/12/2022 12:41, Cecil Westerhof wrote:
>> Rolf Niepraschk <Rolf.Niepraschk@gmx.de> writes:
>>
>>> Am 23.11.22 um 11:41 schrieb Cecil Westerhof:
>>>> I have a document that I want to create as A4, but also as two A5 on
>>>> an A4. (The same document, but shrinked.)
>>>> Is this possible with latex?
>>>> I am using lualatex if that makes a difference.
>>>>
>>>
>>> Create a new LaTeX document and load the original document into it via
>>> pdfpages. See pdfpages documentation.
>> I use the following:
>> \documentclass[a4paper]{article}
>> \usepackage{pdfpages}
>> \begin{document}
>> \includepdf[nup=1x2, pages={1, 1},
>> landscape]{Generated/flyer.pdf}
>> \end{document}
>> There is only one slight problem: the two are a bit to close to
>> each-other. When I cut the A4 to 2 A5, the left page has left a bigger
>> margin as right, while for the right page it is the other way around.
>> Can I do something about that?
>
> Use the geometry package to get rid of all margins
>
> \usepackage[a4paper,margin=0pt,nohead,nofoot]{geometry}
> \pagestyle{empty}
>
> However, some printers have an unprintable margin, so they force the
> image to shift down and right. If your printer driver has a "photo
> bleed" setting that prints to the edge of the paper, try that. But
> that's a physical problem, out of the range of LaTeX to deal with.

That works. On my printer it loses a little bit from the first
character on the left side and a little bit on the last character on
the right side. I could change that with increasing the left and right
margin.

By the way: I put your addition before pdfpages. Does it matter where
I put it?

Thanks.

--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Re: A4 and two A5 on A4

<87cz926r3a.fsf@munus.decebal.nl>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5732&group=comp.text.tex#5732

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Cecil@decebal.nl (Cecil Westerhof)
Newsgroups: comp.text.tex
Subject: Re: A4 and two A5 on A4
Date: Fri, 02 Dec 2022 11:24:25 +0100
Organization: Decebal Computing
Lines: 68
Message-ID: <87cz926r3a.fsf@munus.decebal.nl>
References: <87edtuc5r8.fsf@munus.decebal.nl>
<ju73d4FfiqhU1@mid.individual.net> <87iliv8ff8.fsf@munus.decebal.nl>
<jusps6FpcjiU1@mid.individual.net> <87o7sm6t46.fsf@munus.decebal.nl>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="e538a948f266eb7f729e17e9045af5f3";
logging-data="3225645"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181z7iCEOUT86yCrrebEXYm5qpVPDKr7dc="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:iCnEUpr2WMApsOr5oFWJyGK9qXk=
sha1:8OQ4nwfs4t+veBbYS1cflBMmG+w=
 by: Cecil Westerhof - Fri, 2 Dec 2022 10:24 UTC

Cecil Westerhof <Cecil@decebal.nl> writes:

> Peter Flynn <peter@silmaril.ie> writes:
>
>> On 01/12/2022 12:41, Cecil Westerhof wrote:
>>> Rolf Niepraschk <Rolf.Niepraschk@gmx.de> writes:
>>>
>>>> Am 23.11.22 um 11:41 schrieb Cecil Westerhof:
>>>>> I have a document that I want to create as A4, but also as two A5 on
>>>>> an A4. (The same document, but shrinked.)
>>>>> Is this possible with latex?
>>>>> I am using lualatex if that makes a difference.
>>>>>
>>>>
>>>> Create a new LaTeX document and load the original document into it via
>>>> pdfpages. See pdfpages documentation.
>>> I use the following:
>>> \documentclass[a4paper]{article}
>>> \usepackage{pdfpages}
>>> \begin{document}
>>> \includepdf[nup=1x2, pages={1, 1},
>>> landscape]{Generated/flyer.pdf}
>>> \end{document}
>>> There is only one slight problem: the two are a bit to close to
>>> each-other. When I cut the A4 to 2 A5, the left page has left a bigger
>>> margin as right, while for the right page it is the other way around.
>>> Can I do something about that?
>>
>> Use the geometry package to get rid of all margins
>>
>> \usepackage[a4paper,margin=0pt,nohead,nofoot]{geometry}
>> \pagestyle{empty}
>>
>> However, some printers have an unprintable margin, so they force the
>> image to shift down and right. If your printer driver has a "photo
>> bleed" setting that prints to the edge of the paper, try that. But
>> that's a physical problem, out of the range of LaTeX to deal with.
>
> That works. On my printer it loses a little bit from the first
> character on the left side and a little bit on the last character on
> the right side. I could change that with increasing the left and right
> margin.

By in the original document changing:
\usepackage[
top = .5cm,
bottom = .5cm,
outer = .5cm,
inner = .5cm
]{geometry}

to:
\usepackage[
top = .5cm,
bottom = .5cm,
outer = .6cm,
inner = .6cm
]{geometry}

It is OK.

Sadly the printer had already printed the document. Well, I know it
for the next time.

--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Re: A4 and two A5 on A4

<tmcl2u$ikrl$1@solani.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5733&group=comp.text.tex#5733

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: ud.usenetcorrespondence@web.de (Ulrich D i e z)
Newsgroups: comp.text.tex
Subject: Re: A4 and two A5 on A4
Date: Fri, 2 Dec 2022 11:47:22 +0100
Message-ID: <tmcl2u$ikrl$1@solani.org>
References: <87edtuc5r8.fsf@munus.decebal.nl>
<ju73d4FfiqhU1@mid.individual.net> <slrntnuhmi.4fh.whynot@orphan.zombinet>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 2 Dec 2022 10:46:54 -0000 (UTC)
Injection-Info: solani.org;
logging-data="611189"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:60.0) Gecko/20100101
Thunderbird/60.9.0
Cancel-Lock: sha1:3Lv85ZDZIQwAEWubzaO6dMOuW28=
X-User-ID: eJwFwYEBwCAIA7CXFGin54wC/59gAuemviAYGIwAVN3TE9s0TaRJ0cllp81D586f1bnkPfUAMJMSVQ==
In-Reply-To: <slrntnuhmi.4fh.whynot@orphan.zombinet>
Content-Language: en-US
 by: Ulrich D i e z - Fri, 2 Dec 2022 10:47 UTC

Eric Pozharski wrote:

[about shrinking a document from A5 to A4 via pdfpages so that two
A4 pages of the document get scaled in height and width to 50% and
placed on one sheet of A4 paper]

The way of approaching matters depends on the purpose.
E.g.: Shall the downscaled document only be used for printing
on paper so that loosing hyperlinks and "fillability" of forms
doesn't matter?

> Fonts refuse to scale (bonus horror -- printing on ink-jet, if you know
> what I mean). Thus either 12pt on A4 with questionable typesetting (and
> occassionaly unreadable scaled to A5). Or comfortable 10pt that's
> utterly unreadable on A5.

E.g., typesetting in font of size 24pt and scaling with a scaling
factor of 50% is not the same as typesetting with a font of size 12pt.

There is a reason why many fonts are not delivered in just one size
but in different sizes.

If, e.g., you downscale with a scaling-factor of 50% some material
typeset with a font of size 24pt, then the shapes of glyphs/letters
often don't look the same as the glyphs/letters when typesetting
with a font of size 12 pt.

Thus, when doing this I never encountered technical problems with
up- or downscaling fonts this way, but the horror was that some
fonts did not look good at all any more when re-scaled.

Some other problems encountered were:

- If the to-be downscaled document contained text that was already
typeset in a small font size, e.g., footnotes with mathematical
expressions nested in exponents of mathematical formulas, components
(dots, strokes, lines) of the glyphs of the characters typeset in
small font size turned out so thin that ink-jet-printers did not
print them any more.

- I had some tikzpicture underlaying some graphs with a millimeter
raster for graph-paper. After downscaling the lines of the
millimeter raster were so thin that that the ink-jet-printer
did not print them any more.

- When inserting pages of a pdf-document into another pdf-document
as images, as is done, e.g., by the package pdfpages, then you
loose all hyperlinks and also forms won't be fillable any more.

If I need a document with fonts of smaller size to be typeset on
paper of smaller size, I tend not to downscale but to typeset it
using smaller papersize and layout and smaller fonts.

But this approach comes along with other problems:

- If unitlengths/units of
* coordinates within picture-environments/tikzpicture-environments
* measurements of images to be included via \includegraphics
* whatsoever other dimensions used in the document
are hardcoded for one paper-size, those things will have the
same measurements regardless modifications of paper-size/layout
and font-size. Hardcoding thickness of some lines/rules for
ensuring that they get printed is a good thing. But hardcoding
the measurements of a photo-picture probably is not. ;-)

- If you wish two A4-pages of the document to occur on one sheet
of A4-paper and wish to preserve hyperlinks and fillable forms
and the like, this might require sticking to papersize A4
while typesetting for papersize A5 while having the output-
routine patched to place two pages of the document on one
sheet of paper. Laying hands on output-routines is a task which
might not be taken for trivial by some people.

Sincerely

Ulrich0

Re: A4 and two A5 on A4

<tmdjpd$j554$1@solani.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5735&group=comp.text.tex#5735

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: ud.usenetcorrespondence@web.de (Ulrich D i e z)
Newsgroups: comp.text.tex
Subject: Re: A4 and two A5 on A4
Date: Fri, 2 Dec 2022 20:31:20 +0100
Message-ID: <tmdjpd$j554$1@solani.org>
References: <87edtuc5r8.fsf@munus.decebal.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 2 Dec 2022 19:30:53 -0000 (UTC)
Injection-Info: solani.org;
logging-data="627876"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:60.0) Gecko/20100101
Thunderbird/60.9.0
Cancel-Lock: sha1:itSpWUGvHkDkVnnLTzZ0LtHI+Hk=
X-User-ID: eJwNykEBwDAIA0BNUBJiZ1DwL2G99+HQ2BkEA4u1odcMoLH0vl+aR8QeAk2FWrffahm2Sj8aExE/
Content-Language: en-US
In-Reply-To: <87edtuc5r8.fsf@munus.decebal.nl>
 by: Ulrich D i e z - Fri, 2 Dec 2022 19:31 UTC

Cecil Westerhof wrote:

> I have a document that I want to create as A4, but also as two A5 on
> an A4. (The same document, but shrinked.)
> Is this possible with latex?
>
> I am using lualatex if that makes a difference.

Assume you have a document in A4/portrait:

MyDocument.tex :

\documentclass[a4paper,twoside]{article}
%===================[adjust margins/layout for the example]====================
% Margins: horizontal recto (usually righthand-page whose number is odd):
% left margin: 1cm, right margin: 2cm 1cm
% horizontal verso (usually lefthand-page whose number is even):
% left margin: 2cm, right margin:
% vertical: top-margin: 1.5cm, bottom-margin: 1.5cm
% (This way the ratio
% larger horizontal margin : top/bottom-margin : smaller horizontal margin
% is 2:3:4 ,)
% Pagestyle plain with no headheight and no headsep as there won't be any
% pages with page-headers.
% \flushbottom.
%------------------------------------------------------------------------------
% Additional infrastructure:
\newlength\bottommargin
\newbox\scratchbox
\newcount\pagelineamount
%------------------------------------------------------------------------------
% Page style:
\pagestyle{plain}%
\headheight=0pt
\headsep=0pt
%------------------------------------------------------------------------------
% Margins:
\evensidemargin=2cm
\oddsidemargin=.5\evensidemargin
\topmargin=1.5\oddsidemargin
\bottommargin=\topmargin
%..............................................................................
% Margin-paragraphs:
% - Shall go into outer/wider margins:
% (Left and right margin are not of equal width.
% Thus each time you switch via \normalmarginpar and \reversemarginpar
% you need to recalculate \marginparwidth.)
\marginparsep=.2\evensidemargin
\marginparwidth=\evensidemargin
\advance\marginparwidth-2\marginparsep
% Distance of bottom-line of text-block on page to baseline of page-number
% in footer:
\footskip=.5\bottommargin
{% assuming footer contains only page numbers in arabic digits in normalfont:
\setbox\scratchbox=\hbox{\normalfont 1234567890}%
\global\advance\footskip.5\ht\scratchbox
\global\advance\footskip-.5\dp\scratchbox}%
%..............................................................................
% Adjust parameters to TeX's peculiarities:
\csname @ifundefined\endcsname{pagewidth}{}{\pagewidth=\paperwidth}%
\csname @ifundefined\endcsname{pdfpagewidth}{}{\pdfpagewidth=\paperwidth}%
\csname @ifundefined\endcsname{pageheight}{}{\pageheight=\paperheight}%
\csname @ifundefined\endcsname{pdfpageheight}{}{\pdfpageheight=\paperheight}%
\textwidth=\paperwidth
\advance\textwidth-\oddsidemargin
\advance\textwidth-\evensidemargin
\advance\oddsidemargin-1in
\advance\evensidemargin-1in
\textheight=\paperheight
\advance\textheight-\topmargin
\advance\textheight-\bottommargin
\advance\textheight-\headheight
\advance\textheight-\headsep
\advance\topmargin-1in
{% adjust \topskip=the distance of the baseline of the first line of text
% to the baseline of the page-header
\setbox\scratchbox=\hbox{\normalfont 1234567890%
abcdefghijklmnopqrstuvwxyz%
ABCDEFGHIJKLMNOPQRSTUVWXYZ}%
\global\topskip=\ht\scratchbox}%
\flushbottom
%==================[eof margin-adjustments]====================================
\usepackage{lipsum}

\begin{document}
\noindent\lipsum[1][1-10]
\marginpar{Some margin paragraph.}
\lipsum[2-17]
\marginpar{Some margin paragraph.}
\lipsum[18-55]
\lipsum[56][1-3]
\end{document}

You can use this for creating an A5-booklet from it which can be printed:

MyDocumentA5booklet.tex

% This is just an a4-paper document with no margins at all where pdfpages'
% \includepdf is used for including an A4-portrait pdf-file as A5-bookert.
% \documentclass[a4paper]{article}
%============[adjust margins/layout so that there are no margins]=============
\csname @ifundefined\endcsname{pagewidth}{}{\pagewidth=\paperwidth}%
\csname @ifundefined\endcsname{pdfpagewidth}{}{\pdfpagewidth=\paperwidth}%
\csname @ifundefined\endcsname{pageheight}{}{\pageheight=\paperheight}%
\csname @ifundefined\endcsname{pdfpageheight}{}{\pdfpageheight=\paperheight}%
\textwidth=\paperwidth
\oddsidemargin=0cm
\marginparsep=0cm
\marginparwidth=0cm
\advance\textwidth-2\oddsidemargin
\advance\oddsidemargin-1in
\evensidemargin=\oddsidemargin
\textheight=\paperheight
\topmargin=0cm
\footskip=0cm
\advance\topmargin-1in
\headheight=0ex
\headsep=0ex
\pagestyle{empty}%
\parindent=0ex
\parskip=0ex
%==================[eof margin-adjustments]====================================
\usepackage{pdfpages}
%..............................................................................
\begin{document}
% In case you wish to obtain a stack of a4 paper that you can all together
% fold in half to get an A5 booklet:
\includepdf[nup=1x2, landscape, pages=-, booklet]{MyDocument.pdf}%
\end{document}

Sincerely

Ulrich

Re: A4 and two A5 on A4

<tme1ci$japq$1@solani.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5736&group=comp.text.tex#5736

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: ud.usenetcorrespondence@web.de (Ulrich D i e z)
Newsgroups: comp.text.tex
Subject: Re: A4 and two A5 on A4
Date: Sat, 3 Dec 2022 00:23:26 +0100
Message-ID: <tme1ci$japq$1@solani.org>
References: <87edtuc5r8.fsf@munus.decebal.nl> <tmdjpd$j554$1@solani.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 2 Dec 2022 23:22:58 -0000 (UTC)
Injection-Info: solani.org;
logging-data="633658"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:60.0) Gecko/20100101
Thunderbird/60.9.0
Cancel-Lock: sha1:3BsqHbPc7NU+Vampk817N7eccvw=
In-Reply-To: <tmdjpd$j554$1@solani.org>
X-User-ID: eJwFwYEBwCAIA7CXdJUC5zCk/59gYuBm+6HxmEwa3S/G/Q8EC+DY5s1Q96rKpMgRF9Ky4A8pdhEt
Content-Language: en-US
 by: Ulrich D i e z - Fri, 2 Dec 2022 23:23 UTC

I wrote:

> You can use this for creating an A5-booklet from it which can be printed:
>
>

I just realized that nargin adjustment is not needed:

MyDocumentA5booklet.tex


% This is just an a4-paper document where pdfpages'
% \includepdf is used for including an A4-portrait pdf-file as A5-bookert.
% \documentclass[a4paper]{article}
\usepackage{pdfpages}
%..............................................................................
\begin{document}
% In case you wish to obtain a stack of a4 paper that you can all together
% fold in half to get an A5 booklet:
\includepdf[nup=1x2, landscape, pages=-, booklet]{MyDocument.pdf}%
\end{document}

Sincerely

Ulrich

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor