Skip to main content
Commonmark migration
Source Link

How can I style headers in a grid to be in Arial, 20pt?

g = Plot[x^2, {x, 0, 2}];
headers={"A", "B", "C"};
Grid[Prepend[{{g, g, g}}, headers]]

[![Grid of plots with unformatted headers][1]][1]Grid of plots with unformatted headers

(I decided to post this question/answer because I keep stumbling onto this. I know the answer is somewhere in some question but always have a hard time finding the related question) [1]: https://i.sstatic.net/dVVKm.png

How can I style headers in a grid to be in Arial, 20pt?

g = Plot[x^2, {x, 0, 2}];
headers={"A", "B", "C"};
Grid[Prepend[{{g, g, g}}, headers]]

[![Grid of plots with unformatted headers][1]][1]

(I decided to post this question/answer because I keep stumbling onto this. I know the answer is somewhere in some question but always have a hard time finding the related question) [1]: https://i.sstatic.net/dVVKm.png

How can I style headers in a grid to be in Arial, 20pt?

g = Plot[x^2, {x, 0, 2}];
headers={"A", "B", "C"};
Grid[Prepend[{{g, g, g}}, headers]]

Grid of plots with unformatted headers

(I decided to post this question/answer because I keep stumbling onto this. I know the answer is somewhere in some question but always have a hard time finding the related question)

Better title for people who don't know what function they would need to change the font
Link
Delphine
  • 235
  • 1
  • 9

Style Change Font in Grid Header

Source Link
Delphine
  • 235
  • 1
  • 9

Style Grid Header

How can I style headers in a grid to be in Arial, 20pt?

g = Plot[x^2, {x, 0, 2}];
headers={"A", "B", "C"};
Grid[Prepend[{{g, g, g}}, headers]]

[![Grid of plots with unformatted headers][1]][1]

(I decided to post this question/answer because I keep stumbling onto this. I know the answer is somewhere in some question but always have a hard time finding the related question) [1]: https://i.sstatic.net/dVVKm.png