6

How can I make |a|*|b| show well in a notebook?

I typed | from keyboard to denote absolute value. General cleanupIt will auto adjust by matching in my notebook so that sometimes it will not show as expected.

Maybe I can close the auto-matching feature?

enter image description here

HyperGroups
  • 8,619
  • 1
  • 26
  • 63
  • Why not to type a space between them? – Alexei Boulbitch Jul 12 '13 at 07:21
  • @AlexeiBoulbitch I do not know your meaning, my problem is about the vertical bar's length, as you see |a|'s | is longer than |b|'s | – HyperGroups Jul 12 '13 at 08:33
  • I mean the following: Bring up the Writing Assistant menue. At its Typsetting panel open the tab marked by the multiplication sign "X". 1. Press the LeftBracketBar button (1st column, 5th line). 2. Press a. 3. Press the RightBracketBar button (2nd column, 5th line). 4. Press space. 5. Press again the LeftBracketBar button (1st column, 5th line). 6. Press b. 7. Press the RightBracketBar button (2nd column, 5th line). Done. In my case (that is Mma 9.01, PC, XP) the heights of all bars are equal. – Alexei Boulbitch Jul 29 '13 at 07:19

1 Answers1

7

Why don't you use

Times[BracketingBar[a],BracketingBar[b]]

Mathematica graphics

which can be inserted with the Writing Assistant under Typesetting?

If you like typing |a| directly, you can use

Esc l | Esc a Esc r | Esc

You find the keyboard shortcuts in the documentation to BracketingBar und Details.

halirutan
  • 112,764
  • 7
  • 263
  • 474