I am working with flowcharts. I want to change the font used in the flowchart. How can this be done? \setupbodyfont changes the font of the document, but not of the flowchart. -- Cecil Westerhof
Am 26.03.2011 um 12:24 schrieb Cecil Westerhof:
I am working with flowcharts. I want to change the font used in the flowchart. How can this be done?
\setupFLOWcharts[bodyfont=...]
\setupbodyfont changes the font of the document, but not of the flowchart.
Works for me but as you don’t provide a example there is no way to tell what you’re doing wrong. Wolfgang
2011/3/26 Wolfgang Schuster
Am 26.03.2011 um 12:24 schrieb Cecil Westerhof:
I am working with flowcharts. I want to change the font used in the flowchart. How can this be done?
\setupFLOWcharts[bodyfont=...]
\setupbodyfont changes the font of the document, but not of the flowchart.
Works for me but as you don’t provide a example there is no way to tell what you’re doing wrong.
Very strange. When I tried to make a minimal example to show the problem, this works. Now I have to find out why the minimal works and the real flowchart does not. -- Cecil Westerhof
2011/3/26 Cecil Westerhof
2011/3/26 Wolfgang Schuster
Am 26.03.2011 um 12:24 schrieb Cecil Westerhof:
I am working with flowcharts. I want to change the font used in the flowchart. How can this be done?
\setupFLOWcharts[bodyfont=...]
\setupbodyfont changes the font of the document, but not of the flowchart.
Works for me but as you don’t provide a example there is no way to tell what you’re doing wrong.
Very strange. When I tried to make a minimal example to show the problem, this works. Now I have to find out why the minimal works and the real flowchart does not.
I was wrong. I got a bigger font, but not the right font. Attached the three things I tried and the result I get. -- Cecil Westerhof
Am 26.03.2011 um 13:48 schrieb Cecil Westerhof:
2011/3/26 Cecil Westerhof
2011/3/26 Wolfgang Schuster Am 26.03.2011 um 12:24 schrieb Cecil Westerhof:
I am working with flowcharts. I want to change the font used in the flowchart. How can this be done?
\setupFLOWcharts[bodyfont=...]
\setupbodyfont changes the font of the document, but not of the flowchart.
Works for me but as you don’t provide a example there is no way to tell what you’re doing wrong.
Very strange. When I tried to make a minimal example to show the problem, this works. Now I have to find out why the minimal works and the real flowchart does not.
I was wrong. I got a bigger font, but not the right font. Attached the three things I tried and the result I get.
When you use the “maxwidth” or “maxheight” keys context ignores the current bodyfont and also the “bodyfont” key to fit the chart on the page. You can try what happens when you comment the maxwidth setting in your example. Wolfgang
2011/3/26 Wolfgang Schuster
I am working with flowcharts. I want to change the font used in the flowchart. How can this be done?
\setupFLOWcharts[bodyfont=...]
\setupbodyfont changes the font of the document, but not of the flowchart.
Works for me but as you don’t provide a example there is no way to tell what you’re doing wrong.
Very strange. When I tried to make a minimal example to show the problem, this works. Now I have to find out why the minimal works and the real flowchart does not.
I was wrong. I got a bigger font, but not the right font. Attached the three things I tried and the result I get.
When you use the “maxwidth” or “maxheight” keys context ignores the current bodyfont and also the “bodyfont” key to fit the chart on the page.
What is the reason for this? You can try what happens when you comment the maxwidth setting in your
example.
Removed it and now does it what it should. -- Cecil Westerhof
Am 26.03.2011 um 18:15 schrieb Cecil Westerhof:
2011/3/26 Wolfgang Schuster
When you use the “maxwidth” or “maxheight” keys context ignores the current bodyfont and also the “bodyfont” key to fit the chart on the page.
What is the reason for this?
Try your example without \startTEXpage/\stopTEXpage and you see that the chart won’t fit on the page when you set the fontsize to 24pt. To keep the width of the chart within the allowed width (\textwidth) context reduce the fontsize until the chart fits. Wolfgang
2011/3/26 Wolfgang Schuster
When you use the “maxwidth” or “maxheight” keys context ignores
the current bodyfont and also the “bodyfont” key to fit the chart on the
page.
What is the reason for this?
Try your example without \startTEXpage/\stopTEXpage and you see that the chart won’t fit on the page when you set the fontsize to 24pt. To keep the width of the chart within the allowed width (\textwidth) context reduce the fontsize until the chart fits.
The 24pt was just as example. I am using 10pt for the real flowchart. I am using it to make a png file so I need the \startTEXpage. The only thing I now use is: \runMPgraphicsfalse \usemodule[chart] \setupFLOWcharts[ bodyfont={PT Serif,rm,10pt}, ] Does not look to bad. -- Cecil Westerhof
participants (2)
-
Cecil Westerhof
-
Wolfgang Schuster