TeX - LaTeX Asked on December 3, 2021
I seem to have problems with the auto-pst-pdf package, chemmacros package and the textpos package.
documentclass{scrbook}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{graphicx}
usepackage{auto-pst-pdf}
%usepackage{chemmacros}
usepackage[absolute]{textpos}
begin{document}
begin{textblock*}{29mm}(45mm,80mm)
Some random text.
end{textblock*}
end{document}
If i comment out the package chemmacros, my random text is displayed correctly. If I activate the chemmacros package, my text completely disappears as I implemented it into the textblock.
If the auto-pst-pdf package is not used at all, this problem does not occur.
I do not know, why this happens, but I really need all three packages for my thesis. I use Texmaker 5.0.3 on a MacBook running macOS Catalina. Similar problem occurs with TeXShop Version 4.44.
Can anyone help me to solve this problem?
Thank you in advance!
This might be a known problem, which may be fixed. See the textpos issue which reports a problem with:
documentclass[a4paper,11pt]{article}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{auto-pst-pdf}
usepackage{tcolorbox}
usepackage[absolute,showboxes]{textpos}
begin{document}
begin{textblock*}{7cm}(2cm,2cm)Essaiend{textblock*}
end{document}
It might be that there are circumstances where textpos and tcolorbox get confused, or where they have been confused in the past. See @leandris's comment suggesting that this might behave differently with up-to-date package versions.
This isn't a very helpful answer (sorry), but I'm copying here the possible alternative illustration and possible resolution, rather than merely pointing to the bugreport. That issue list is about to disappear, because bitbucket are deleting Mercurial repositories at the end of this month (June 2020).
Answered by Norman Gray on December 3, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP