Skip to main content
Commonmark migration
Source Link

I want to generate some graphics that contain framed texts with rounded corners that display correctly in the Working and PrintOut environment. For example,

Graphics[{Inset@Framed[Text[Foobar], RoundingRadius -> 15]}]

generates the first of the following two boxes in a notebook, which is what I want.

[![Framed Text in Working and PrintOut][1]][1]Framed Text in Working and PrintOut

However, when I export my notebook to pdf or print it then the frame will look like the second box in the picture, which I do not want. I can fix the second box by using a smaller RoundingRadius but then the box looks almost like a rectangular frame in my notebook.

How can I get a frame with rounded corners that looks like the first example the Working and PrintOut environment?

(I do not want to use the Working environment when printing because then font sizes and such will also change.) [1]: https://i.sstatic.net/U8TiJ.png

I want to generate some graphics that contain framed texts with rounded corners that display correctly in the Working and PrintOut environment. For example,

Graphics[{Inset@Framed[Text[Foobar], RoundingRadius -> 15]}]

generates the first of the following two boxes in a notebook, which is what I want.

[![Framed Text in Working and PrintOut][1]][1]

However, when I export my notebook to pdf or print it then the frame will look like the second box in the picture, which I do not want. I can fix the second box by using a smaller RoundingRadius but then the box looks almost like a rectangular frame in my notebook.

How can I get a frame with rounded corners that looks like the first example the Working and PrintOut environment?

(I do not want to use the Working environment when printing because then font sizes and such will also change.) [1]: https://i.sstatic.net/U8TiJ.png

I want to generate some graphics that contain framed texts with rounded corners that display correctly in the Working and PrintOut environment. For example,

Graphics[{Inset@Framed[Text[Foobar], RoundingRadius -> 15]}]

generates the first of the following two boxes in a notebook, which is what I want.

Framed Text in Working and PrintOut

However, when I export my notebook to pdf or print it then the frame will look like the second box in the picture, which I do not want. I can fix the second box by using a smaller RoundingRadius but then the box looks almost like a rectangular frame in my notebook.

How can I get a frame with rounded corners that looks like the first example the Working and PrintOut environment?

(I do not want to use the Working environment when printing because then font sizes and such will also change.)

edited title
Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

Frame with round corners, PrintOut does not look the same in Working and Printout environments

edited tags
Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259
Source Link
Berg
  • 1.1k
  • 5
  • 14
Loading