Home > OS >  Domain code bulk changes
Domain code bulk changes

Time:04-10

Configuration:
Win10 + MSO16

Problem description:
UnicodeMath edit formula with chapter sequence number (such as formula (1.1)), I use of the method is:

The sample code (start)
Chapter title {seq chap \ h}
Unicodemath formula content # ({seq chap \ c} {1} seq eq \ s)
The sample code (end)

The above two lines of code, in a nutshell, firstly after the chapter title update chap domain and hidden, used in the formula \ c keep unchanged chap domain,
Refer to the serial number of this chapter, at the same time in the seq field use \ s 1, said in chapter outline (grade 1) title updates, new chapter to
Count,

To solve the problem:
If every time after the edit formula manually enter # ({seq chap \ h} {1} seq eq \ s) for a long paper is
Catastrophic, I ever tried to use record macro way to simplify the manual input, but the macro seq input domain keywords such as font
Is the font in UnicodeMath use (such as I install the Latin Modern Math), there is an error in domain,
Or whether there is any domain code to find replacement? If I can locate the {1} seq eq \ s domain code, and replaced with the
{seq chap \ c} {1} seq eq \ s feasible? How should I do?

P.s. This kind of problem is quite common, such as used in the chapter title number serial number "one, two, three" in Chinese, the chart number
Conflict must be 1.1, 2.1 the label problem, I tend to be added in the chart to rodrigo chapter number use {seq chap \} c domain
Code to implement, but if it is manual input or to add good rodrigo's manual revision, all the work of disaster, its operating requirements
Agree with the above problems,

CodePudding user response:

+ & lt; F9 & gt; Switch to the domain code displays a status, it is to the content inside "replace" domain; You this, involving the two fields, especially to find a complete domain symbol, does not support this ah, don't know whether domain domain can; Try it, the domain code display status in {seq chap \ c} {1} seq eq \ s put a eq domain outside, copy the content that is included in eq, back in the "search" for seq eq \ s 1 "replaced by" selected "in the special format" "clipboard contents",
  • Related