Changeset dd4d95d in sasmodels for doc/_extensions/dollarmath.py


Ignore:
Timestamp:
Oct 28, 2017 9:49:10 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
87a6591
Parents:
0db85af
Message:

consistent $-math expression for sasmodels and sasview, now allowing 1-$\sigma$

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/_extensions/dollarmath.py

    r3d40839 rdd4d95d  
    1212import re 
    1313 
    14 _dollar = re.compile(r"(?:^|(?<=\s|[-(]))[$]([^\n]*?)(?<![\\])[$](?:$|(?=\s|[-.,;)\\]))") 
     14_dollar = re.compile(r"(?:^|(?<=\s|[-(]))[$]([^\n]*?)(?<![\\])[$](?:$|(?=\s|[-.,;:?\\)]))") 
    1515_notdollar = re.compile(r"\\[$]") 
    1616 
Note: See TracChangeset for help on using the changeset viewer.