Questions tagged [alignment]

103 questions
6
votes
2 answers

Alignment in columns

I need to stack three objects on top of each other and align the first two to the center and the third one to the left. I've been trying to do this with Column, but it won't let me align the objects differently. The code below should make clear what…
Mas
  • 177
  • 7
3
votes
1 answer

Gridbox alignment problem

I write my own stylesheet. I use GridBox and GridBoxOption to edit the environment of EquationNumbered, in which, I set …
AchillesJJ
  • 425
  • 2
  • 8
3
votes
1 answer

TableForm: How can I center the heading labels while aligning numbers on the decimal?

In Mathematica 10.4 I'd like to center the column headings in my table while continuing to align the column entries on the decimal point. Here's an example: data = {{3.`, 12.03504555`, 12.023009030063605`, 12.023376796911684`, …
John V.
  • 35
  • 5
3
votes
2 answers

Overlay alignment

Borrowing triangularArrayLayout from here, I have: triangularArrayLayout[triArray_List, opts___] := Module[{n = Length[triArray]}, Graphics[MapIndexed[ Text[Style[#1, Large], {Sqrt[3] (n - 1 + #2.{-1, 2}), 3 (n - First[#2] + 1)}/ …
JohnD
  • 3,301
  • 3
  • 22
  • 42
1
vote
1 answer

Align a plot and a text at top using Row or Grid

I'm a little embarrassed asking such a simple question, but it's a problem I'm having since a long time. I want to e.g. have a plot beside some text. Now, I want that the top line of the plot and the top line of the text are at the same hight. I…
Mockup Dungeon
  • 1,854
  • 12
  • 16
1
vote
0 answers

How do I align text with headings on the left margin?

Apologies for a grumpy newbie question - I'm feeling lost in Mathematica after the relatively simple world of, say, Jupyter. My question is how can I modify the default notebook to align Section and Text cells on the left margin (with the Title…
Tom Barson
  • 25
  • 4
0
votes
0 answers

Alignment within Dialog Input

I'd like to have different elements (checkboxes and input fields) aligned horizontally in a dialog box, but I can't figure out how to do it. The misalignment becomes more apparent when the list gets longer. Thanks! list = RandomWord["Noun",…
0
votes
1 answer

float output left in CDF

I'm experimenting with embedding a CDF on a Wordpress site and while it mostly works, the plots are running out of room along the right edge. It seems like if the images were floated left they would fit and look like the output does in MMA. This…