* Changing the font used in a flowchart @ 2011-03-26 11:24 Cecil Westerhof 2011-03-26 11:37 ` Wolfgang Schuster 0 siblings, 1 reply; 8+ messages in thread From: Cecil Westerhof @ 2011-03-26 11:24 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 197 bytes --] 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 [-- Attachment #1.2: Type: text/html, Size: 222 bytes --] [-- Attachment #2: Type: text/plain, Size: 486 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Changing the font used in a flowchart 2011-03-26 11:24 Changing the font used in a flowchart Cecil Westerhof @ 2011-03-26 11:37 ` Wolfgang Schuster 2011-03-26 12:37 ` Cecil Westerhof 0 siblings, 1 reply; 8+ messages in thread From: Wolfgang Schuster @ 2011-03-26 11:37 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Changing the font used in a flowchart 2011-03-26 11:37 ` Wolfgang Schuster @ 2011-03-26 12:37 ` Cecil Westerhof 2011-03-26 12:48 ` Cecil Westerhof 0 siblings, 1 reply; 8+ messages in thread From: Cecil Westerhof @ 2011-03-26 12:37 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 657 bytes --] 2011/3/26 Wolfgang Schuster <schuster.wolfgang@googlemail.com> > > 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 [-- Attachment #1.2: Type: text/html, Size: 974 bytes --] [-- Attachment #2: Type: text/plain, Size: 486 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Changing the font used in a flowchart 2011-03-26 12:37 ` Cecil Westerhof @ 2011-03-26 12:48 ` Cecil Westerhof 2011-03-26 15:55 ` Wolfgang Schuster 0 siblings, 1 reply; 8+ messages in thread From: Cecil Westerhof @ 2011-03-26 12:48 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 856 bytes --] 2011/3/26 Cecil Westerhof <cldwesterhof@gmail.com> > 2011/3/26 Wolfgang Schuster <schuster.wolfgang@googlemail.com> > >> >> 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 [-- Attachment #1.2: Type: text/html, Size: 1408 bytes --] [-- Attachment #2: test.tex --] [-- Type: application/x-tex, Size: 1295 bytes --] [-- Attachment #3: test.pdf --] [-- Type: application/pdf, Size: 5346 bytes --] [-- Attachment #4: Type: text/plain, Size: 486 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Changing the font used in a flowchart 2011-03-26 12:48 ` Cecil Westerhof @ 2011-03-26 15:55 ` Wolfgang Schuster 2011-03-26 17:15 ` Cecil Westerhof 0 siblings, 1 reply; 8+ messages in thread From: Wolfgang Schuster @ 2011-03-26 15:55 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1102 bytes --] Am 26.03.2011 um 13:48 schrieb Cecil Westerhof: > 2011/3/26 Cecil Westerhof <cldwesterhof@gmail.com> > 2011/3/26 Wolfgang Schuster <schuster.wolfgang@googlemail.com> > > 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 [-- Attachment #1.2: Type: text/html, Size: 2297 bytes --] [-- Attachment #2: Type: text/plain, Size: 486 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Changing the font used in a flowchart 2011-03-26 15:55 ` Wolfgang Schuster @ 2011-03-26 17:15 ` Cecil Westerhof 2011-03-26 17:24 ` Wolfgang Schuster 0 siblings, 1 reply; 8+ messages in thread From: Cecil Westerhof @ 2011-03-26 17:15 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1087 bytes --] 2011/3/26 Wolfgang Schuster <schuster.wolfgang@googlemail.com> > > 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 [-- Attachment #1.2: Type: text/html, Size: 2235 bytes --] [-- Attachment #2: Type: text/plain, Size: 486 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Changing the font used in a flowchart 2011-03-26 17:15 ` Cecil Westerhof @ 2011-03-26 17:24 ` Wolfgang Schuster 2011-03-26 21:11 ` Cecil Westerhof 0 siblings, 1 reply; 8+ messages in thread From: Wolfgang Schuster @ 2011-03-26 17:24 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 584 bytes --] Am 26.03.2011 um 18:15 schrieb Cecil Westerhof: > 2011/3/26 Wolfgang Schuster <schuster.wolfgang@googlemail.com> > > 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 [-- Attachment #1.2: Type: text/html, Size: 1332 bytes --] [-- Attachment #2: Type: text/plain, Size: 486 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Changing the font used in a flowchart 2011-03-26 17:24 ` Wolfgang Schuster @ 2011-03-26 21:11 ` Cecil Westerhof 0 siblings, 0 replies; 8+ messages in thread From: Cecil Westerhof @ 2011-03-26 21:11 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 858 bytes --] 2011/3/26 Wolfgang Schuster <schuster.wolfgang@googlemail.com> > 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 [-- Attachment #1.2: Type: text/html, Size: 1563 bytes --] [-- Attachment #2: Type: text/plain, Size: 486 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-03-26 21:11 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-03-26 11:24 Changing the font used in a flowchart Cecil Westerhof 2011-03-26 11:37 ` Wolfgang Schuster 2011-03-26 12:37 ` Cecil Westerhof 2011-03-26 12:48 ` Cecil Westerhof 2011-03-26 15:55 ` Wolfgang Schuster 2011-03-26 17:15 ` Cecil Westerhof 2011-03-26 17:24 ` Wolfgang Schuster 2011-03-26 21:11 ` Cecil Westerhof
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).