I'm not sure how to create a strike through in the Microsoft equation editor.
Example 1
Example 2
In LaTeX one is able to use the cancel
command for this, but I'm failing to find an approach to this in Word.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityI'm not sure how to create a strike through in the Microsoft equation editor.
In LaTeX one is able to use the cancel
command for this, but I'm failing to find an approach to this in Word.
My workaround (not quite sure what the names of the menus are in the English version):
1. Open a math zone
2. Open Accent menu and select Boxed formulas (or type \rect)
3. Right-click on the placeholder, select Border property, and remove one by one each side of the border; finally insert the desired strike through, from the same menu
4. Select the template you have built and save it as a new equation.
Now you have a new template you can use with any expression.
The LaTeX cancel
command is not supported in Word's equation editor. I've struggled with this before and the solution below is the closest I got.
Let's take 3/7 as an example and cancel the 3:
Insert a new equation object and add a fraction object, type 7
as the denominator.
Select the numerator, then on the Insert
tab click Quick Parts
and choose Field...
.
On the field name list choose Eq
and click the Field Codes
button.
In the Field codes
textbox type EQ \O(3,/)
. The \O
flag stands for "Overstrike", and it superimposes its parameters on top of each other. In this example it will produce 3
with a slash.
Click OK
and you'll get this result:
There are a few limitations to this approach. It's hard to insert and impossible to edit properly. It also doesn't scale to larger (wider) objects since you're just getting a slash character on top, not a real diagonal line from the top right corner to the bottom left.
I'd be happy to find a better solution, other than placing a line drawing object over the relevant area of the equation.
Note: screenshots taken using Word 2010
Old post I know, and maybe things have changed. With Word 2016 (iMac version)... simply typing the strike through variable as text (ie, select it and tap the strike through font option), then coping and pasting that into my equation worked. You had to watch those irritating auto “smart selection” options etc, or it would try and paste in paragraph marks too. See example screenshot. Microsoft Equation Screenshot
The workaround from Atzmon is actually excellent. The strike through option is ok but does not look like a standard way of doing simplifications in Math.
The only difference with the new version of Word is that after clicking on the insert tab you need to click on the Text option in order to see Quickparts in the menu. Everything else is as Atzmon explained and described. The font will look slightly bigger than usual in the equation, but it is not very noticeable.
The box with no borders method works as well, but it is a bit more time consuming,
MS Word version 1907