[Therion] Adding a creative common image to each page of an atlas
Martin Budaj
m.budaj at gmail.com
Tue Jun 15 17:44:12 CEST 2021
Hi,
you can e.g. modify this part of the macro:
\vbox to \ht\navbox{
\ifnortharrow\hbox to 0pt{\hss\northarrow\qquad}\fi
\vss
\ifscalebar\hbox to 0pt{\hss\scalebar\qquad}\fi
}
to
\vbox to \ht\navbox{
\ifnortharrow\hbox to 0pt{\hss\northarrow\qquad}\fi
\vss
\ifscalebar\hbox to 0pt{\hss\scalebar\qquad}\fi
\vss
\hbox to 0pt{\hss\loadpicture{picture.pdf}\qquad}
}
which will put the picture.pdf below the scale bar. Currently
\loadpicture doesn't support scaling images, so you need to prepare it
in the right size beforehand.
You also need to use a development version of therion if you want to
use relative paths to pictures. See also the description of
\loadpicture in https://therion.speleo.sk/downloads/thbook.pdf, page
73.
Cheers
Martin
On Tue, Jun 15, 2021 at 2:59 PM Philippe Vernant <phil.vernant at gmail.com> wrote:
>
> Hi Martin,
>
> I’ve tried, but could not figure it out where I should add a command in the “dopage” macro and which command I should add to include a figure. Any example that I could work on an modify would be greatly appreciated.
>
> Thanks,
> Phil
>
>
> On 12 Jun 2021, at 19:39, Martin Budaj <m.budaj at gmail.com> wrote:
>
> Hi,
> you need to redefine the '\dopage' macro; check the pages 70 and 71 in the thbook. Let me know if more specific advice is needed.
> M.
>
> On Fri, Jun 11, 2021 at 3:27 PM Philippe Vernant <phil.vernant at gmail.com> wrote:
>>
>> Hi,
>>
>> I tried several lines of code, but couldn’t success in adding a creative common image on each page of an atlas. I guess this is possible and I’m just too bad at metapost code to be successful. Has anyone a recipe to make it work ? I’ve managed to make it on a map, but not on an atlas.
>>
>> Thanks,
>> Phil
>>
>> _______________________________________________
>> Therion mailing list
>> Therion at speleo.sk
>> https://mailman.speleo.sk/listinfo/therion
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
More information about the Therion
mailing list