Questions tagged [text-formatting]
The text-formatting tag has no usage guidance.
27
questions
2
votes
0
answers
95
views
Making text in graphics behave like other graphics when resizing/redisplaying
I'm trying to create a lot of graphics that include boxes of (multi-sentence) text placed at particular coordinates, and I would really appreciate some help in wrestling control of the size of the ...
4
votes
0
answers
52
views
Confused how ShrinkToFit works with text
In Mathematica 13, I would like to have text displayed in a rectangular area (that will later be included in graphics), where the size of the rectangle needs to be set in advance. If there's too much ...
2
votes
1
answer
121
views
How to delete a word set in a text?
I have a setence:
...
0
votes
1
answer
39
views
Properly Format Vertical Bar with Supersubscript
I'm having trouble emulating the following (extra long) vertical bar format in a text cell:
The closest I could get to in a text cell is:
which doesn't look great; it's underlying code is
...
1
vote
1
answer
56
views
Enums in ONE text cell of a notebook?
Is it possible to have an enumeration as an integral part of a text cell, so that they all together form one cell?
Reason for this question: I would like to have a text cell (e.g. for a theorem) and ...
0
votes
1
answer
52
views
Dynamically highlighting all substrings
I want to dynamically highlight all substrings that are equal to selected substring inside string str. Also I want the string str...
2
votes
1
answer
65
views
create string for string seen in FullForm
Can we create a string for a string seen in FullForm ?
This question is hard to explain/understand with just words.
So explain with an example :
Can you create a function ...
1
vote
1
answer
74
views
Making text larger without changing size of superscript?
I have the following plot:
...
2
votes
0
answers
48
views
Stylesheet Directives for DisplayFormular overwritten?
I'm trying to change the font of DisplayFormula, DisplayFormulaNumbered and InlineFormula in my stylesheet. So in the options inspector of the stylesheet under ...
1
vote
1
answer
100
views
Style changes to Text while I want to be Input
I do know what happened to my Mathematica. I frequently have to change the style from Text to Input to write codes. How I can re-change this unwanted issue?
1
vote
1
answer
43
views
Buttons too small for content
When I try to display buttons with long content in a multicolumn the text sometimes gets cut off. Like this:
...
2
votes
0
answers
137
views
Find the best place to overlay text on an image?
I need to put text over a background image to make a nice looking banner. In order to find the best place to put it, I'd like to know the "focus points" of the image (basically the centers ...
4
votes
2
answers
125
views
Adapt size of brackets in text mode
In text mode, i.e. characters enclosed by " ", brackets do not adapt to the content. How can I achieve this? Actually I want to write a text that includes formulas. Without " " the ...
1
vote
1
answer
105
views
How can I get matrices and text to show up in the same table with MatrixForm?
I'd like to be able to display matrices in the usual written MatrixForm in a table alongside text (or anything that isn't a matrix). Here is an example:
...
0
votes
1
answer
57
views
How to Set Text Format by User-Defined Function with Input as String
I have simple but annoying problem here. I guess it occurs to many Mathematica users.
The thing is that I wish to define a function to format the text in Mathematica. Yet, I don't know whether it is ...
3
votes
1
answer
260
views
Does "align on alignment marker" work in Mathematica 12.3
In Mathematica 12.1 (and previous versions), you can insert a cell of style DisplayFormula into a notebook, using ...
0
votes
0
answers
74
views
Print[] text in the style of Message[]
I would like to imitate the aesthetic style of Message[] text, but using Print[], and customising the colour. The output I ...
1
vote
0
answers
186
views
Line spacing when creating new line
I have a plot which has a legend where text occasionally needs two lines. While I'm able to adjust the space between labels using "Spacings" how can I change the line-spacing within a label ...
4
votes
1
answer
139
views
How to Create a Shortcut to put a frame around an equation
I use mathematica for typing Physics and other notes. For important equations, I prefer to put a box around them. To do so I use either:
Insert-> Typesetting -> Add Frame from the menubar
...
10
votes
2
answers
288
views
Inline TeX Input renders wrong characters / symbols
Bug introduced in 12.2, fixed in 13.0.
As you may know, you can write TeX within a cell with CTR+$ and press ...
5
votes
1
answer
153
views
Grid or TextGrid constant width cells
I am having problems with white spaces in lists displayed in Grid. The problem is that white spaces have less height and width compared to cells that contain text. I also tried none, None, None[], ...
1
vote
1
answer
70
views
Grid questions: text-wrapping / copying and pasting expressions
I want to make a list of functions like this:
...
6
votes
0
answers
720
views
Vector arrow notation in Mathematica
I want a fast way to type vectors in Text boxes like this: $\vec a$
I can do this manually with ctrl+7+"-> "
which creates this
...
21
votes
4
answers
541
views
Find best region to put text onto image
Given an image upon which you want to inset text, the question arises:
What is the best sub-region to place text?
For example, given a background image I want to find the rectangle in the image (...
1
vote
0
answers
32
views
font family in text cells keeps reverting to unwanted default
I'm using Mma 10 under macOS Sierra to write exam questions for a calculus class. This involves writing a fair bit of text, with interspersed symbols and equations. The annoying problem is that even ...
2
votes
0
answers
48
views
How to add a Checkbox into a text cell? [duplicate]
Before working in my code I wrote tests on a textcell . I want to add a checkbox at the end of each sentence to track my progress. So, I will checkbox if the program pass.
How to add a Checkbox into ...
5
votes
0
answers
61
views
How to force a desired numeration of equations in Book/Monograph StyleSheet?
I am writing a text in the MMA > Format > StyleSheet > Book > Monograph StyleSheet. I have a problem with the automatic numeration of "EquationNumbered" cells.
...