From c1b477a1b2b796617c4e345a7296a8d429d7a067 Mon Sep 17 00:00:00 2001 From: Ian Jauslin Date: Sun, 26 Feb 2023 18:36:05 -0500 Subject: Update to v0.4 feature: compute the 2-point correlation function in easyeq. feature: compute the Fourier transform of the 2-point correlation function in anyeq and easyeq. feature: compute the local maximum of the 2-point correlation function and its Fourier transform. feature: compute the compressibility for anyeq. feature: allow for linear spacing of rho's. feature: print the scattering length. change: ux and uk now return real numbers. fix: error in the computation of the momentum distribution: wrong definition of delta functions. fix: various minor bugs. optimization: assign explicit types to variables. --- doc/libs/point.sty | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'doc/libs/point.sty') diff --git a/doc/libs/point.sty b/doc/libs/point.sty index a396d1c..796e0d2 100644 --- a/doc/libs/point.sty +++ b/doc/libs/point.sty @@ -1,4 +1,4 @@ -%% Copyright 2021 Ian Jauslin +%% Copyright 2021-2023 Ian Jauslin %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -33,12 +33,15 @@ \newif\ifresetatsubsubsection \DeclareOption{reset_at_subsubsection}{\resetatsubsubsectiontrue} \DeclareOption{no_reset_at_subsubsection}{\resetatsubsubsectionfalse} +\newif\ifresetatsubsubsubsection +\DeclareOption{reset_at_subsubsubsection}{\resetatsubsubsubsectiontrue} +\DeclareOption{no_reset_at_subsubsubsection}{\resetatsubsubsubsectionfalse} \newif\ifresetattheo \DeclareOption{reset_at_theo}{\resetattheotrue} \DeclareOption{no_reset_at_theo}{\resetattheofalse} \def\point@defaultoptions{ - \ExecuteOptions{reset_at_section, reset_at_subsection, reset_at_subsubsection, no_reset_at_theo} + \ExecuteOptions{reset_at_section, reset_at_subsection, reset_at_subsubsection, reset_at_subsubsubsection, no_reset_at_theo} \ProcessOptions %% reset at every new section @@ -56,6 +59,11 @@ \let\point@oldsubsubsection\subsubsection \gdef\subsubsection{\resetpointcounter\point@oldsubsubsection} \fi + %% reset at every new subsubsubsection + \ifresetatsubsubsubsection + \let\point@oldsubsubsubsection\subsubsubsection + \gdef\subsubsubsection{\resetpointcounter\point@oldsubsubsubsection} + \fi %% reset at every new theorem \ifresetattheo -- cgit v1.2.3-70-g09d2