TransWikia.com

File multipage with variable page format

TeX - LaTeX Asked by Edson Marcon on August 31, 2021

I am trying to create a file with several pages, with summary, hyperlinks, sections, etc., but that can have a variable page size, as in the "standalone" style, but with several pages.

Each page should fit the figure inserted in the page.
Each figure would have its section / subsection and a hyperlink.

Is there a document format already created for this?

2 Answers

I'm afraid you have to come up with your own solution for your problem.

The standalone style in combination with TikZ will produce a single PDF-page for each tikzpicture having the size of the (TikZ-)picture. Maybe this could be a start for you. You could include your figures using node and includegraphics.

This code will generate a PDF with three pages (just filled with a coloured rectangle).

documentclass[tikz,crop=true,border=-3pt]{standalone}
begin{document}

begin{tikzpicture}
fill[red] (0,0) rectangle (2,3);
end{tikzpicture}

begin{tikzpicture}
fill[green] (0,0) rectangle (5,5);
end{tikzpicture}

begin{tikzpicture}
fill[blue] (0,0) rectangle (3,1);
end{tikzpicture}

end{document}

Answered by susis strolch on August 31, 2021

You could use the adjustwidth environment from the changepage package.

...
usepackage{changepage}
...
begin{adjustwith}{}{-8em}
wider text
end{adjustwidth}
...

The two arguments lengths are added to the left and right margins respectively; positive value(s) decrease the local textwidth and negative value(s) increases it.

Answered by Peter Wilson on August 31, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP