diff --git a/source/BandstructureParameters.en.tex b/source/BandstructureParameters.en.tex
index 50fadf414f4d4b7cc71832218760d3eb29fc787e..ad3668e2c8fa6c39a88404e1766f98e0047af1f5 100644
--- a/source/BandstructureParameters.en.tex
+++ b/source/BandstructureParameters.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{BandstructureParameters}{en}
 \begin{definition}
diff --git a/source/BandstructureParameters.tex b/source/BandstructureParameters.tex
index 7f40aacf9ba6411f1929bea2a1f0b71d83df1121..e61706684a34dc5583ed293ea4f320e3ea278f2a 100644
--- a/source/BandstructureParameters.tex
+++ b/source/BandstructureParameters.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{BandstructureParameters}
 \symdef[name=effective-density-of-states-conduction-bands]{DOSConductionBand}{N_c}
diff --git a/source/Charge.en.tex b/source/Charge.en.tex
index d50240e81902a071fb993d356111ce4fb22ee244..47c7592a35d32dadb55a89754f45a9aee3d0b286 100644
--- a/source/Charge.en.tex
+++ b/source/Charge.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{Charge}{en}
   \begin{definition}
diff --git a/source/Charge.tex b/source/Charge.tex
index f30cade562ea310c144ecbf1428f19da4cace056..4d32bcd5d5b7dd8a3f23ceb0538cc2439806915e 100644
--- a/source/Charge.tex
+++ b/source/Charge.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{Charge}
   \gimport{DopingProfile}
diff --git a/source/ContinuityBoundaryConditionsElectrons.en.tex b/source/ContinuityBoundaryConditionsElectrons.en.tex
index 14cd506a78554261f2702d0da202fe6c64a0208c..9273977e579f3504e76ff3961004b830458b4fb6 100644
--- a/source/ContinuityBoundaryConditionsElectrons.en.tex
+++ b/source/ContinuityBoundaryConditionsElectrons.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{ContinuityBoundaryConditionsElectrons}{en}
   \begin{definition}
diff --git a/source/ContinuityBoundaryConditionsElectrons.tex b/source/ContinuityBoundaryConditionsElectrons.tex
index 08e3ca55ef0c4da949438375971410c31eb9bfd8..7eff558b7dc8747fdda6de38f95581573b160fa6 100644
--- a/source/ContinuityBoundaryConditionsElectrons.tex
+++ b/source/ContinuityBoundaryConditionsElectrons.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{ContinuityBoundaryConditionsElectrons}
   \gimport{DeviceOperationState}
diff --git a/source/ContinuityBoundaryConditionsHoles.en.tex b/source/ContinuityBoundaryConditionsHoles.en.tex
index 79f3018008fa04b51a17481cccc7a8e41f13667f..c74fec31e9599b9b0b07f2dcb89088c9825cc8e1 100644
--- a/source/ContinuityBoundaryConditionsHoles.en.tex
+++ b/source/ContinuityBoundaryConditionsHoles.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{ContinuityBoundaryConditionsHoles}{en}
   \begin{definition}
diff --git a/source/ContinuityBoundaryConditionsHoles.tex b/source/ContinuityBoundaryConditionsHoles.tex
index aba0807b5db805228a854a1a92e71dcf78a5c916..97c62bcd19a4f6724b7f9f7da55556fc4540aa45 100644
--- a/source/ContinuityBoundaryConditionsHoles.tex
+++ b/source/ContinuityBoundaryConditionsHoles.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 
 \begin{modsig}{ContinuityBoundaryConditionsHoles}
diff --git a/source/ContinuityEquationElectrons.en.tex b/source/ContinuityEquationElectrons.en.tex
index 353fc126b4fdd1fc0199c23ae4b073e1ffdae272..13fed0e4afd55cf3021d06f30a32e72f4b0bba0a 100644
--- a/source/ContinuityEquationElectrons.en.tex
+++ b/source/ContinuityEquationElectrons.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{ContinuityEquationElectrons}{en}
   \begin{definition}
diff --git a/source/ContinuityEquationElectrons.tex b/source/ContinuityEquationElectrons.tex
index 0ba112c00f9a86d8c3ea5543da8f19aeaddf22be..11f416456d594b8b0f251961cc41772465872fa5 100644
--- a/source/ContinuityEquationElectrons.tex
+++ b/source/ContinuityEquationElectrons.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{ContinuityEquationElectrons}
   \gimport{CurrentElectrons}
diff --git a/source/ContinuityEquationHoles.en.tex b/source/ContinuityEquationHoles.en.tex
index 5b07fa70585257836f66b0c22c1b3cf575a55f70..f860476d81ce8579c9888b36d4d3e39ec4c109a4 100644
--- a/source/ContinuityEquationHoles.en.tex
+++ b/source/ContinuityEquationHoles.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{ContinuityEquationHoles}{en}
   \begin{definition}
diff --git a/source/ContinuityEquationHoles.tex b/source/ContinuityEquationHoles.tex
index 98cf3d4196001f7985510515196dc31a7f95f1ad..cf7dda78f61c2b7523ea4f8896ee14b382ccbca7 100644
--- a/source/ContinuityEquationHoles.tex
+++ b/source/ContinuityEquationHoles.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{ContinuityEquationHoles}
   \gimport{CurrentHoles}
diff --git a/source/CurrentElectrons.en.tex b/source/CurrentElectrons.en.tex
index 8ad971ce7ba04a5f69f88eab570bae679f5f1a80..c815b5590a0718672210cbaa12b65798c7d48f16 100644
--- a/source/CurrentElectrons.en.tex
+++ b/source/CurrentElectrons.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{CurrentElectrons}{en}
   \begin{definition}
diff --git a/source/CurrentElectrons.tex b/source/CurrentElectrons.tex
index 592dd9aab186822c0be1ee1956797f541a802527..b563e5f26195070ea99e840d1efa630dda057ad5 100644
--- a/source/CurrentElectrons.tex
+++ b/source/CurrentElectrons.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{CurrentElectrons}
   \gimport{FermiPotentialElectrons}
diff --git a/source/CurrentHoles.en.tex b/source/CurrentHoles.en.tex
index e2e7ba5dc4be1e0b00a9eb5024aae6f0ef288407..62df1cb669af0bf41579920a06463dcdca794932 100644
--- a/source/CurrentHoles.en.tex
+++ b/source/CurrentHoles.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{CurrentHoles}{en}
   \begin{definition}
diff --git a/source/CurrentHoles.tex b/source/CurrentHoles.tex
index 1e6e4a92e9778b4ffe309bef424489dc0e364529..724f3f6c7bcbb365bfe2f074c64eeccb3fde165d 100644
--- a/source/CurrentHoles.tex
+++ b/source/CurrentHoles.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{CurrentHoles}
   \gimport{FermiPotentialHoles}
diff --git a/source/DensityElectrons.en.tex b/source/DensityElectrons.en.tex
index 7441900020eafe08e6aac762241efdcb7868986c..dce8a109ef1b7e299cd1fe682aa3af81f3192d31 100644
--- a/source/DensityElectrons.en.tex
+++ b/source/DensityElectrons.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{DensityElectrons}{en}
 \begin{definition}
diff --git a/source/DensityElectrons.tex b/source/DensityElectrons.tex
index 76242010881e87fbbedb13abde67d550f5075021..788779fee544d0757f5cc9570e0bf9cd3b1d449c 100644
--- a/source/DensityElectrons.tex
+++ b/source/DensityElectrons.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{DensityElectrons}
   \gimport{DeviceOperationState}
diff --git a/source/DensityHoles.en.tex b/source/DensityHoles.en.tex
index 905c1ed123e829884684487d2197ba34fe9b0925..057f19eebdb6549acb66d58b143230b5aba45c75 100644
--- a/source/DensityHoles.en.tex
+++ b/source/DensityHoles.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{DensityHoles}{en}
   \begin{definition}
diff --git a/source/DensityHoles.tex b/source/DensityHoles.tex
index 84312c180cb4314e091cf3ab449d8a22196e7a09..a4165257af26110c53355a857fca08316ef20907 100644
--- a/source/DensityHoles.tex
+++ b/source/DensityHoles.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{DensityHoles}
   \gimport{DeviceOperationState}
diff --git a/source/Device.en.tex b/source/Device.en.tex
index 7409c28254c49852411ae8aec9b14def112c4292..8d10c5ba95cd443529dbd6185de85dc09a13f8dc 100644
--- a/source/Device.en.tex
+++ b/source/Device.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{Device}{en}
   \begin{definition}
diff --git a/source/Device.tex b/source/Device.tex
index 271d591221a33a6d7450a227037dff9b9f57436f..11fb7b1f26933b6db678ae6fcb36bc3fcd44d85e 100644
--- a/source/Device.tex
+++ b/source/Device.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{Device}
     \symi{device}
diff --git a/source/DeviceGeometry.en.tex b/source/DeviceGeometry.en.tex
index b473e6e1a8c2d431aeaee40550b09e383b23853f..8b2a999ea4cd913fcc63fff5cd2bef8a9c274c42 100644
--- a/source/DeviceGeometry.en.tex
+++ b/source/DeviceGeometry.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{DeviceGeometry}{en}
   \begin{definition}
diff --git a/source/DeviceGeometry.tex b/source/DeviceGeometry.tex
index a17711458e6780706592cdaf56dac1ae5c95b066..0fac747fc04d39b535314b4b5de090b92e7975a5 100644
--- a/source/DeviceGeometry.tex
+++ b/source/DeviceGeometry.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{DeviceGeometry}
   \gimport{Device}
diff --git a/source/DeviceOperationState.en.tex b/source/DeviceOperationState.en.tex
index 19ca4624afacb5f7a7d846177f31aa0cc91b7960..c5b6e067dbdcf6896c5f89c4a5039ad8dd520e5e 100644
--- a/source/DeviceOperationState.en.tex
+++ b/source/DeviceOperationState.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{DeviceOperationState}{en}
   \begin{definition}
diff --git a/source/DeviceOperationState.tex b/source/DeviceOperationState.tex
index bf9c1fa58d1f146f004725e1f3cb7a282db77163..ce33ccdf936caa36cebcf20db01e79faaf631f60 100644
--- a/source/DeviceOperationState.tex
+++ b/source/DeviceOperationState.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{DeviceOperationState}
  
diff --git a/source/Displacement.en.tex b/source/Displacement.en.tex
index 979253368882817469595ee45948025439aae5f1..ee020f38dfb54d987086750562868ee0beb9f563 100644
--- a/source/Displacement.en.tex
+++ b/source/Displacement.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{Displacement}{en}
   \begin{definition}
diff --git a/source/Displacement.tex b/source/Displacement.tex
index 46003c6214f088c7deb8a47e942c40f07cd023ba..03921deeedff25e26e916ff048153ebdaa732688 100644
--- a/source/Displacement.tex
+++ b/source/Displacement.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{Displacement}
   \gimport[smglom/arithmetics]{realarith}
diff --git a/source/DopingProfile.en.tex b/source/DopingProfile.en.tex
index 4f2db7daaccff67a15c84f9b650288a50e54fb52..e4ae78d0a4fdfc98e4a093e078d6c6b3558c479d 100644
--- a/source/DopingProfile.en.tex
+++ b/source/DopingProfile.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{DopingProfile}{en}
   \begin{definition}
diff --git a/source/DopingProfile.tex b/source/DopingProfile.tex
index 6089d9098d0c0187017b5825a71a74e1b66b5aa9..a9915671c577c646192f99a469d1741c12ea2d09 100644
--- a/source/DopingProfile.tex
+++ b/source/DopingProfile.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{DopingProfile}
   \gimport{DeviceGeometry}
diff --git a/source/ElectrostaticPotential.en.tex b/source/ElectrostaticPotential.en.tex
index 12f89d746e9ca9685075363bc60eee0075854900..ea385bc174442d6250e1fa0865f356b74efe02a4 100644
--- a/source/ElectrostaticPotential.en.tex
+++ b/source/ElectrostaticPotential.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{ElectrostaticPotential}{en}
   \begin{definition}
diff --git a/source/ElectrostaticPotential.tex b/source/ElectrostaticPotential.tex
index e79ee3e69f6e55593e48e868ad50708315a7736b..c62a51057800665afc943c5b48160f44b607e58f 100644
--- a/source/ElectrostaticPotential.tex
+++ b/source/ElectrostaticPotential.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{ElectrostaticPotential}
   \gimport{DeviceGeometry}
diff --git a/source/FermiPotentialElectrons.en.tex b/source/FermiPotentialElectrons.en.tex
index cb76ae5b36559f8e038a6871233d92e04c05abb0..adfeba03fd84d971ff14d11dde146057dfc20c4b 100644
--- a/source/FermiPotentialElectrons.en.tex
+++ b/source/FermiPotentialElectrons.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{FermiPotentialElectrons}{en}
 \begin{definition}
diff --git a/source/FermiPotentialElectrons.tex b/source/FermiPotentialElectrons.tex
index fdb348dc5f3fde7fc77162776f2602e52d9c11d4..774bf476aa6232c58e957290291ae5922f8e3659 100644
--- a/source/FermiPotentialElectrons.tex
+++ b/source/FermiPotentialElectrons.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 % sTeX file automatically generated from OMDoc/MMT file, needs to be adapted 
 \begin{modsig}{FermiPotentialElectrons}
diff --git a/source/FermiPotentialHoles.en.tex b/source/FermiPotentialHoles.en.tex
index 91dec1b19e11f1d195ab58cbdc69d3bfbaf84492..a6ecf6fefd14a0f19388088ee2f52a29b0afec3a 100644
--- a/source/FermiPotentialHoles.en.tex
+++ b/source/FermiPotentialHoles.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{FermiPotentialHoles}{en}
 \begin{definition}
diff --git a/source/FermiPotentialHoles.tex b/source/FermiPotentialHoles.tex
index 0a8f671bfba1ea48879a07f2149178040d322f9d..ac0b3fae28f272615edd6122888a277c1424d5d5 100644
--- a/source/FermiPotentialHoles.tex
+++ b/source/FermiPotentialHoles.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{FermiPotentialHoles}
   \gimport{DeviceGeometry}
diff --git a/source/Mobilities.en.tex b/source/Mobilities.en.tex
index 8f3a1506b0a3c8145b0f87be10d91f4cb3679813..d3a0fa71cfdaff58c11739de10e058c0a7d49f66 100644
--- a/source/Mobilities.en.tex
+++ b/source/Mobilities.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{Mobilities}{en}
   \begin{definition}
diff --git a/source/Mobilities.tex b/source/Mobilities.tex
index 3b683f28c085b0fc799f93d92e217cb41461988a..9ab4150d346fc43cf147285615e5ee7b313b6a79 100644
--- a/source/Mobilities.tex
+++ b/source/Mobilities.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{Mobilities}
   \symdef[name=mobility-electrons]{ElectronMobility}{\mu_n}
diff --git a/source/OneDimDevice.en.tex b/source/OneDimDevice.en.tex
index daac7d9da484a67c244a9814cb1d403efc9e6491..0c93dfeee9a2eb05837924dddc33462f3b6f5373 100644
--- a/source/OneDimDevice.en.tex
+++ b/source/OneDimDevice.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{OneDimDevice}{en}
   \begin{definition}
diff --git a/source/OneDimDevice.tex b/source/OneDimDevice.tex
index 0602833a95628d256a588fab90903cf2dccd085c..b502bb32814fd9700282c2ddf41f93355c8aea1b 100644
--- a/source/OneDimDevice.tex
+++ b/source/OneDimDevice.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{OneDimDevice}
   \gimport{DeviceGeometry}
diff --git a/source/OneDimDeviceGeometry.en.tex b/source/OneDimDeviceGeometry.en.tex
index c5e27e2aaaa3770c8e6785dc017567c5c7ab4176..31a96311934fac37e1ad7c11a9d91c6043ceb371 100644
--- a/source/OneDimDeviceGeometry.en.tex
+++ b/source/OneDimDeviceGeometry.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{OneDimDeviceGeometry}{en}
   \begin{definition}
diff --git a/source/OneDimDeviceGeometry.tex b/source/OneDimDeviceGeometry.tex
index 27d9f5ba06866ae2d236c26b783796f4771a76f9..f6aa22bdefe0acd24d0c5a228ee2bf861fde4526 100644
--- a/source/OneDimDeviceGeometry.tex
+++ b/source/OneDimDeviceGeometry.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{OneDimDeviceGeometry}
   \gimport{OneDimDevice}
diff --git a/source/PDERegularDomain.en.tex b/source/PDERegularDomain.en.tex
index ddb8ec875573720725b870e049dd844ae037a65c..5eba5be353bf53e3eaa79bdbf848398fc10cd941 100644
--- a/source/PDERegularDomain.en.tex
+++ b/source/PDERegularDomain.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{PDERegularDomain}{en}
   \begin{definition}
diff --git a/source/PDERegularDomain.tex b/source/PDERegularDomain.tex
index 6a5711b07b6165d1d9bab8eff11a68cda47f8e9c..7742df928a6b4c81c7d769364ec6f49a6a9d4eb4 100644
--- a/source/PDERegularDomain.tex
+++ b/source/PDERegularDomain.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{PDERegularDomain}
   \gimport[smglom/arithmetics]{realnumbers}
diff --git a/source/PhysicalConstants.en.tex b/source/PhysicalConstants.en.tex
index c861eddd15135713e37b87520b8c69fa4a5b9b63..2b34621bbe365a2423b867110107f0a52ca766ca 100644
--- a/source/PhysicalConstants.en.tex
+++ b/source/PhysicalConstants.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}[creators=miko]{PhysicalConstants}{en}
   \begin{definition}
diff --git a/source/PhysicalConstants.tex b/source/PhysicalConstants.tex
index 5d845d1b0f5f9fb39274d5e76b59b5a6ffb44171..1c6c3413ab6273a54b9d0e0e673f40987c5e99af 100644
--- a/source/PhysicalConstants.tex
+++ b/source/PhysicalConstants.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}[creators=miko]{PhysicalConstants}
   \gimport[smglom/units]{energy}
diff --git a/source/PoissonBoundaryConditions.en.tex b/source/PoissonBoundaryConditions.en.tex
index 1d8d188fc02c264d02dc542de079cb18cc90fa60..1637b2aff449e0258d8613f60bdbc5e9f7dfb319 100644
--- a/source/PoissonBoundaryConditions.en.tex
+++ b/source/PoissonBoundaryConditions.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 % sTeX file automatically generated from OMDoc/MMT file, needs to be adapted 
 \begin{mhmodnl}{PoissonBoundaryConditions}{en}
diff --git a/source/PoissonBoundaryConditions.tex b/source/PoissonBoundaryConditions.tex
index 22ccff52e3eb9f3f22b0e219bf11413da933db19..aef926750611423c3131bf5aa1e95331a3b0b966 100644
--- a/source/PoissonBoundaryConditions.tex
+++ b/source/PoissonBoundaryConditions.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 % sTeX file automatically generated from OMDoc/MMT file, needs to be adapted 
 \begin{modsig}{PoissonBoundaryConditions}
diff --git a/source/PoissonEquation.en.tex b/source/PoissonEquation.en.tex
index d97e5529d8ac5092d3e12a8b318869149593f20c..a4f3fc4c9d1c41e0c556bc72c0c3f9b82bf002a4 100644
--- a/source/PoissonEquation.en.tex
+++ b/source/PoissonEquation.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 % sTeX file automatically generated from OMDoc/MMT file, needs to be adapted 
 \begin{mhmodnl}{PoissonEquation}{en}
diff --git a/source/PoissonEquation.tex b/source/PoissonEquation.tex
index c32d39a68499f6b6eed2cb78b610d7f82e6bf5fe..be759fbc8be6ee7c608ef67a905184dcda7bf2c1 100644
--- a/source/PoissonEquation.tex
+++ b/source/PoissonEquation.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 % sTeX file automatically generated from OMDoc/MMT file, needs to be adapted 
 \begin{modsig}{PoissonEquation}
diff --git a/source/PoissonParameters.en.tex b/source/PoissonParameters.en.tex
index 135bdcda7116b7e599ddb8d69a7b0fc67a0e6707..3f4033e1d12737f6968ed8f688ef8eaa90682b12 100644
--- a/source/PoissonParameters.en.tex
+++ b/source/PoissonParameters.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{PoissonParameters}{en}
   \begin{definition}
diff --git a/source/PoissonParameters.tex b/source/PoissonParameters.tex
index 5538e7f5a5efabf15b51a7ef16133a5b0615478e..0755e81f9b0c11b6bc4b2389983ae455cee59af9 100644
--- a/source/PoissonParameters.tex
+++ b/source/PoissonParameters.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 % sTeX file automatically generated from OMDoc/MMT file, needs to be adapted 
 \begin{modsig}{PoissonParameters}
diff --git a/source/Recombination.en.tex b/source/Recombination.en.tex
index d0deab7d662b5d866e8190db47a3c1179972d2ec..79c6736f07f2b0bc07f9723d13c20eb0ac91bcc6 100644
--- a/source/Recombination.en.tex
+++ b/source/Recombination.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 % sTeX file automatically generated from OMDoc/MMT file, needs to be adapted 
 \begin{mhmodnl}{Recombination}{en}
diff --git a/source/Recombination.tex b/source/Recombination.tex
index 51058b531f461285b99791b7fdf69d795a2aac5f..40e87ec385fa09d9b5c0719bd131f9ea7a2dd54c 100644
--- a/source/Recombination.tex
+++ b/source/Recombination.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 % sTeX file automatically generated from OMDoc/MMT file, needs to be adapted 
 \begin{modsig}{Recombination}
diff --git a/source/SpontaneousRecombination.en.tex b/source/SpontaneousRecombination.en.tex
index ba14eee29e62790f4ab940ee6eb8c26373f6c4ee..8748124ecf227fc50d274a452971e7ed2f1c42ef 100644
--- a/source/SpontaneousRecombination.en.tex
+++ b/source/SpontaneousRecombination.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 % sTeX file automatically generated from OMDoc/MMT file, needs to be adapted 
 \begin{mhmodnl}{SpontaneousRecombination}{en}
diff --git a/source/SpontaneousRecombination.tex b/source/SpontaneousRecombination.tex
index 12019fbb1b4ab5856a0eafeca8ed184ed118ed29..ada3dc64aa322bb27511013af24eb6f7e9c1ef12 100644
--- a/source/SpontaneousRecombination.tex
+++ b/source/SpontaneousRecombination.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 % sTeX file automatically generated from OMDoc/MMT file, needs to be adapted 
 \begin{modsig}{SpontaneousRecombination}
diff --git a/source/ThermodynamicEquilibrium.en.tex b/source/ThermodynamicEquilibrium.en.tex
index b01b45cf3f80c54f2ba92a0c15b5a44f4a7196b3..f32aba17632e2c3fa33b614557b7e0abc72835e7 100644
--- a/source/ThermodynamicEquilibrium.en.tex
+++ b/source/ThermodynamicEquilibrium.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 % sTeX file automatically generated from OMDoc/MMT file, needs to be adapted 
 \begin{mhmodnl}{ThermodynamicEquilibrium}{en}
diff --git a/source/ThermodynamicEquilibrium.tex b/source/ThermodynamicEquilibrium.tex
index c5de95492fd85ad77414e07514b597327e02231f..759ea462800210f9acd2dcf008aafa2074d3f980 100644
--- a/source/ThermodynamicEquilibrium.tex
+++ b/source/ThermodynamicEquilibrium.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 % sTeX file automatically generated from OMDoc/MMT file, needs to be adapted 
 \begin{modsig}{ThermodynamicEquilibrium}
diff --git a/source/TwoDimDevice.en.tex b/source/TwoDimDevice.en.tex
index 7d38de0e2c140a9733058d823eebd28912d121d1..0032963389739afdc821ed10ecbdfdd84912602b 100644
--- a/source/TwoDimDevice.en.tex
+++ b/source/TwoDimDevice.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{TwoDimDevice}{en}
   \begin{definition}
diff --git a/source/TwoDimDevice.tex b/source/TwoDimDevice.tex
index 4f0d705b5d5ccf6c7a184448411459a387b78902..f79f74c5e03b4b6cc332e5280af00c6b6118ff61 100644
--- a/source/TwoDimDevice.tex
+++ b/source/TwoDimDevice.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{TwoDimDevice}
   \gimport{DeviceGeometry}
diff --git a/source/TwoDimDeviceGeometry.en.tex b/source/TwoDimDeviceGeometry.en.tex
index e1faba8b15640fdab59573fd3ccce0a2f533c3a7..83c52d9b105859888a74f7dd4435fe461bccbb5a 100644
--- a/source/TwoDimDeviceGeometry.en.tex
+++ b/source/TwoDimDeviceGeometry.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{mhmodnl}{TwoDimDeviceGeometry}{en}
   \begin{definition}
diff --git a/source/TwoDimDeviceGeometry.tex b/source/TwoDimDeviceGeometry.tex
index a6d5f214081e8fe3a38daca55c377c30389a8151..cad133104bb1a456f592cb9972a226665ddbf9b7 100644
--- a/source/TwoDimDeviceGeometry.tex
+++ b/source/TwoDimDeviceGeometry.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 \begin{modsig}{TwoDimDeviceGeometry}
   \gimport{TwoDimDevice}
diff --git a/source/VanRoosbroeck.en.tex b/source/VanRoosbroeck.en.tex
index fd04a9b9149e6295ddd069dd861e4525ea50481a..bbef5403944a5676eea6ecc2a2e6357f5006a88e 100644
--- a/source/VanRoosbroeck.en.tex
+++ b/source/VanRoosbroeck.en.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 % sTeX file automatically generated from OMDoc/MMT file, needs to be adapted 
 \begin{mhmodnl}{VanRoosbroeck}{en}
diff --git a/source/VanRoosbroeck.tex b/source/VanRoosbroeck.tex
index 7cce3505b34df81d81f82bb13a8b009bc2b953c9..e85d1befb8eac828de6ad713e4191f6e9db631e4 100644
--- a/source/VanRoosbroeck.tex
+++ b/source/VanRoosbroeck.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 % sTeX file automatically generated from OMDoc/MMT file, needs to be adapted 
 \begin{modsig}{VanRoosbroeck}
diff --git a/source/all.en.tex b/source/all.en.tex
index 19d3da9b233d24defea574356f5913e3ad88bcd8..dadebc1275fb1726c22080e558ad2d9c4b970ba9 100644
--- a/source/all.en.tex
+++ b/source/all.en.tex
@@ -1,6 +1,6 @@
 \documentclass[mh]{smglom}
 \usepackage[utf8]{inputenc}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 
 \begin{center} \LARGE File: \url{BandstructureParameters.en.tex} \end{center}
diff --git a/source/all.tex b/source/all.tex
index d5a31dee89eda604fb9983872a20a6fd82321043..e85b74ad8a296814a5a2cc42a7fc5a99f9972586 100644
--- a/source/all.tex
+++ b/source/all.tex
@@ -1,5 +1,5 @@
 \documentclass[mh]{smglom}
-\libinput{preamble}
+\libusepackage{preamble}
 \begin{document}
 
 \begin{center} \LARGE File: \url{BandstructureParameters.tex} \end{center}