Skip to content

Commit

Permalink
Fix latex warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
robertapplin committed Aug 21, 2023
1 parent db174e5 commit 2f25c52
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion conda/recipes/mantiddocs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ cmake --build . --target StandardTestData
export STANDARD_TEST_DATA_DIR=$SRC_DIR/build/ExternalData/Testing/Data
echo 'datasearch.directories = '$STANDARD_TEST_DATA_DIR'/UnitTest/;'$STANDARD_TEST_DATA_DIR'/DocTest/' >> $PREFIX/bin/Mantid.properties

# Set QT_APA_PLATFORM=offscreen so we do not need to run with xvfb. Xvfb hides a lot of debug output
# Set QT_QPA_PLATFORM=offscreen so we do not need to run with xvfb. Xvfb hides a lot of debug output
export QT_QPA_PLATFORM=offscreen
cmake --build . --target docs-qthelp

Expand Down
2 changes: 1 addition & 1 deletion docs/source/algorithms/CalculateDIFC-v1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ an instrument.
Or if OffsetMode is `Signed` :math:`DIFC` will be calculated with the following equation
for logarithmically binned data:

.. math:: DIFC = \frac{m_n}{h}&(L1 + L2)&2sin\theta & * & (1+|BinWidth|)^{-offset}
.. math:: DIFC = \frac{m_n}{h} \cdot (L1 + L2) 2 \sin(\theta) \cdot (1+|BinWidth|)^{-offset}

DIFC is used in the equation

Expand Down
4 changes: 2 additions & 2 deletions docs/source/algorithms/ConvertDiffCal-v1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ the following equations:

Update existing calibration:

.. math:: DIFC = DIFC_{old} & * & (1+|BinWidth|)^{-offset}
.. math:: DIFC = DIFC_{old} \cdot (1+|BinWidth|)^{-offset}

Calculate :math:`DIFC` from geometry of the experiment:

.. math:: DIFC = \frac{m_n}{h}&(L1 + L2)&2sin\theta & * & (1+|BinWidth|)^{-offset}
.. math:: DIFC = \frac{m_n}{h} \cdot (L1 + L2) 2 \sin(\theta) \cdot (1+|BinWidth|)^{-offset}

The calculations for signed mode is appropriate for full-pattern cross-correlation with logarithmically binned data

Expand Down

0 comments on commit 2f25c52

Please sign in to comment.