9 votes

Applying Style to Around objects

The following seems to work, albeit not at the level of the $\pm$ symbols. Style[Around[10, {Style[1, Red], Style[0.5, Green]}], 20, Red] Following the logic ...
user avatar
  • 5,684
8 votes

HoldForm is not working as I would expect

Why it happens When you enter an expression and evaluate it in Mathematica, MakeExpression is used to convert the box expression (i.e. the description of the exact ...
user avatar
  • 23.4k
7 votes

Display Conjugate[x_] as a long overbar permanently

You are encountering two issues. Conjugate is a symbol which autoloads definitions when it is used or displayed. The autoloaded definitions use ...
user avatar
  • 123k
7 votes
Accepted

HoldForm is not working as I would expect

(The basic idea is from this answer by xzczd.) Try this: ...
user avatar
5 votes
Accepted

Select rows with a specific element from a given table

Using Select: Select[alist, MemberQ[#, x] &] Using Pick: ...
user avatar
  • 14.9k
5 votes

Is there a function similar to Print which really respects tabs and newlines?

I am looking for something which acts like Print, preferably with the same syntax... ... ImportString strictly requires a ...
user avatar
5 votes

Mathematica is messing around with absolute values and sqrts of complex numbers?

Perhaps this? Eigenvalues[ ComplexExpand[{{0, z}, {Conjugate[z], 0}}, z, TargetFunctions -> {Abs, Arg}]] (* {-Abs[z], Abs[z]} *)
user avatar
  • 213k
3 votes
Accepted

Formatting the output of Abs[x] to look like $|x|$

...
user avatar
3 votes

HoldForm is not working as I would expect

It is just enough to wrap a/b. Try this: Have fun!
user avatar
2 votes

Display Conjugate[x_] as a long overbar permanently

You can deal with it through stylesheets, which may or may not be convenient for you. You can set up a stylesheet for your notebooks or execute this: ...
user avatar
  • 213k
2 votes

Formatting the output of Abs[x] to look like $|x|$

First off, I would strongly recommend you don't redefine Abs and Conjugate, but obviously that's your perogative. Second, it's difficult to understand what you want. You say that you want the output ...
user avatar
  • 3,792
2 votes

Select rows with a specific element from a given table

Select[alist,EqualTo[x]@*Last]
user avatar
  • 3,792
1 vote

How to make warning and errors messages on console print in RED? so easy to see them?

The style of a message is controlled by the setting for "MessageText". You can modify the stylesheet for the messages notebook with: ...
user avatar
  • 123k
1 vote

Display Conjugate[x_] as a long overbar permanently

So I tracked the difference between TraditionalForm and DisplayForm to use of TemplateBox. ...
user avatar
  • 74
1 vote

Creating and exporting .dat file as desired

Export is not your friend here, because Export is for known data formats, like CSV and JPEG. Your data format is completely ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible