% luacoolprop.sty -- LaTeX wrapper for the generic luacoolprop.tex layer
% Copyright (C) 2026 Christophe Jorssen. LPPL 1.3c or later.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luacoolprop}[2026/09/18 v1.1.0 LuaCoolProp interface]
\RequirePackage{pgfplots}
% The LaTeX frontend uses siunitx for every generated number and unit.  If the
% document loaded siunitx first, leave its options and \sisetup state entirely
% untouched.  Loading it here only supplies the standard defaults when absent.
\@ifpackageloaded{siunitx}{}{\RequirePackage{siunitx}}
\def\LCP@format@number#1{\num{#1}}
\def\LCP@format@quantity#1#2#3{\qty{#1}{#2}}
\def\LCP@format@unit#1#2{\unit{#1}}
\input{luacoolprop.tex}
\endinput
