* \sf and bigggg fonts @ 2007-03-07 14:39 Xan 2007-03-07 15:13 ` Aditya Mahajan 2007-03-07 15:40 ` Sanjoy Mahajan 0 siblings, 2 replies; 22+ messages in thread From: Xan @ 2007-03-07 14:39 UTC (permalink / raw) To: mailing list for ConTeXt users Hi, Is it possible to have the equivalent in \sf in context?. I tried \sf and I get an error. Strange because \sl, \bf, etc exist And another question: how to make very big fonts (for example: 60pt) in text and mathematical mode? I just want to change the font temporally (and don't touch \setupbodyfont) Thanks in advance, Xan. ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 14:39 \sf and bigggg fonts Xan @ 2007-03-07 15:13 ` Aditya Mahajan 2007-03-07 15:30 ` Xan 2007-03-07 15:40 ` Sanjoy Mahajan 1 sibling, 1 reply; 22+ messages in thread From: Aditya Mahajan @ 2007-03-07 15:13 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, 7 Mar 2007, Xan wrote: > Is it possible to have the equivalent in \sf in context?. I tried \sf > and I get an error. Strange because \sl, \bf, etc exist \ss? (I am not sure what \sf is supposed to be, so just guessing) > And another question: how to make very big fonts (for example: 60pt) in > text and mathematical mode? I just want to change the font temporally > (and don't touch \setupbodyfont) \switchtobodyfont inside a group will change the font temporarily. For using very large fonts, you may have to define the font dimension in \definebodyfont or \definebodyfontenvironment. Aditya ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 15:13 ` Aditya Mahajan @ 2007-03-07 15:30 ` Xan 2007-03-07 15:38 ` Aditya Mahajan 0 siblings, 1 reply; 22+ messages in thread From: Xan @ 2007-03-07 15:30 UTC (permalink / raw) To: mailing list for ConTeXt users En/na Aditya Mahajan ha escrit: > On Wed, 7 Mar 2007, Xan wrote: > >> Is it possible to have the equivalent in \sf in context?. I tried \sf >> and I get an error. Strange because \sl, \bf, etc exist > > \ss? (I am not sure what \sf is supposed to be, so just guessing) > \sf is Sans Serif (latex) [\rm roman, \tt typewriter, \sl slanted, \emph empasized, \it italic \bf boldface; see "a not so short intro to latex" for example] > >> And another question: how to make very big fonts (for example: 60pt) in >> text and mathematical mode? I just want to change the font temporally >> (and don't touch \setupbodyfont) > > \switchtobodyfont inside a group will change the font temporarily. For > using very large fonts, you may have to define the font dimension in > \definebodyfont or \definebodyfontenvironment. Okay. Thanks, Xan. PS: A couriosity: is there a roadmap of versions/features for context?. I see that context is continously improved.... > > Aditya > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 15:30 ` Xan @ 2007-03-07 15:38 ` Aditya Mahajan 2007-03-07 16:50 ` Wolfgang Schuster 0 siblings, 1 reply; 22+ messages in thread From: Aditya Mahajan @ 2007-03-07 15:38 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, 7 Mar 2007, Xan wrote: > En/na Aditya Mahajan ha escrit: >> On Wed, 7 Mar 2007, Xan wrote: >> >>> Is it possible to have the equivalent in \sf in context?. I tried \sf >>> and I get an error. Strange because \sl, \bf, etc exist >> >> \ss? (I am not sure what \sf is supposed to be, so just guessing) >> > > \sf is Sans Serif (latex) > [\rm roman, \tt typewriter, \sl slanted, \emph empasized, \it italic \bf > boldface; see "a not so short intro to latex" for example] \ss is plain tex's font command for sans serif, and works with context. I do not know why latex chose \sf (sffamily, textsf) instead of ss. >> >>> And another question: how to make very big fonts (for example: 60pt) in >>> text and mathematical mode? I just want to change the font temporally >>> (and don't touch \setupbodyfont) >> >> \switchtobodyfont inside a group will change the font temporarily. For >> using very large fonts, you may have to define the font dimension in >> \definebodyfont or \definebodyfontenvironment. > > Okay. > > Thanks, > Xan. > > PS: A couriosity: is there a roadmap of versions/features for context?. > I see that context is continously improved.... An old document http://pragma-ade.com/present/road/roadmap.pdf and recent changes http://www.pragma-ade.com/general/manuals/mk.pdf AFIAU, new features are based on user's requests and Hans' needs. Aditya ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 15:38 ` Aditya Mahajan @ 2007-03-07 16:50 ` Wolfgang Schuster 2007-03-07 17:07 ` Aditya Mahajan 2007-03-07 19:34 ` Xan 0 siblings, 2 replies; 22+ messages in thread From: Wolfgang Schuster @ 2007-03-07 16:50 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1902 bytes --] 2007/3/7, Aditya Mahajan <adityam@umich.edu>: > > On Wed, 7 Mar 2007, Xan wrote: > > > En/na Aditya Mahajan ha escrit: > >> On Wed, 7 Mar 2007, Xan wrote: > >> > >>> Is it possible to have the equivalent in \sf in context?. I tried \sf > >>> and I get an error. Strange because \sl, \bf, etc exist > >> > >> \ss? (I am not sure what \sf is supposed to be, so just guessing) > >> > > > > \sf is Sans Serif (latex) > > [\rm roman, \tt typewriter, \sl slanted, \emph empasized, \it italic \bf > > boldface; see "a not so short intro to latex" for example] > > \ss is plain tex's font command for sans serif, and works with > context. I do not know why latex chose \sf (sffamily, textsf) instead > of ss. You are wrong, \ss is in plain TeX the command to produce the german ß. There has never been a predefined command to swith to a sans serif font like the corresponding switches for bold and italic. > >> > >>> And another question: how to make very big fonts (for example: 60pt) > in > >>> text and mathematical mode? I just want to change the font temporally > >>> (and don't touch \setupbodyfont) > >> > >> \switchtobodyfont inside a group will change the font temporarily. For > >> using very large fonts, you may have to define the font dimension in > >> \definebodyfont or \definebodyfontenvironment. > > > > Okay. > > > > Thanks, > > Xan. > > > > PS: A couriosity: is there a roadmap of versions/features for context?. > > I see that context is continously improved.... > > An old document http://pragma-ade.com/present/road/roadmap.pdf > and recent changes http://www.pragma-ade.com/general/manuals/mk.pdf > > AFIAU, new features are based on user's requests and Hans' needs. > > Aditya > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > [-- Attachment #1.2: Type: text/html, Size: 2720 bytes --] [-- Attachment #2: Type: text/plain, Size: 139 bytes --] _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 16:50 ` Wolfgang Schuster @ 2007-03-07 17:07 ` Aditya Mahajan 2007-03-07 19:34 ` Xan 1 sibling, 0 replies; 22+ messages in thread From: Aditya Mahajan @ 2007-03-07 17:07 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, 7 Mar 2007, Wolfgang Schuster wrote: > 2007/3/7, Aditya Mahajan <adityam@umich.edu>: >> >> On Wed, 7 Mar 2007, Xan wrote: >> >> > En/na Aditya Mahajan ha escrit: >> >> On Wed, 7 Mar 2007, Xan wrote: >> >> >> >>> Is it possible to have the equivalent in \sf in context?. I tried \sf >> >>> and I get an error. Strange because \sl, \bf, etc exist >> >> >> >> \ss? (I am not sure what \sf is supposed to be, so just guessing) >> >> >> > >> > \sf is Sans Serif (latex) >> > [\rm roman, \tt typewriter, \sl slanted, \emph empasized, \it italic \bf >> > boldface; see "a not so short intro to latex" for example] >> >> \ss is plain tex's font command for sans serif, and works with >> context. I do not know why latex chose \sf (sffamily, textsf) instead >> of ss. > > > You are wrong, \ss is in plain TeX the command to produce the german ß. > There has never been a predefined command to swith to a sans serif font like > the corresponding switches for bold and italic. so much for the feeling that I was beginning to understand fonts :-( Aditya ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 16:50 ` Wolfgang Schuster 2007-03-07 17:07 ` Aditya Mahajan @ 2007-03-07 19:34 ` Xan 2007-03-07 19:40 ` Aditya Mahajan 1 sibling, 1 reply; 22+ messages in thread From: Xan @ 2007-03-07 19:34 UTC (permalink / raw) To: mailing list for ConTeXt users En/na Wolfgang Schuster ha escrit: > 2007/3/7, Aditya Mahajan <adityam@umich.edu>: >> >> On Wed, 7 Mar 2007, Xan wrote: >> >> > En/na Aditya Mahajan ha escrit: >> >> On Wed, 7 Mar 2007, Xan wrote: >> >> >> >>> Is it possible to have the equivalent in \sf in context?. I tried \sf >> >>> and I get an error. Strange because \sl, \bf, etc exist >> >> >> >> \ss? (I am not sure what \sf is supposed to be, so just guessing) >> >> >> > >> > \sf is Sans Serif (latex) >> > [\rm roman, \tt typewriter, \sl slanted, \emph empasized, \it italic >> \bf >> > boldface; see "a not so short intro to latex" for example] >> >> \ss is plain tex's font command for sans serif, and works with >> context. I do not know why latex chose \sf (sffamily, textsf) instead >> of ss. > > > You are wrong, \ss is in plain TeX the command to produce the german ß. > There has never been a predefined command to swith to a sans serif font > like > the corresponding switches for bold and italic. > > So, is there any command for that?. How can I get \sf in latex in context? Thanks, Xan. ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 19:34 ` Xan @ 2007-03-07 19:40 ` Aditya Mahajan 2007-03-07 20:31 ` Xan 0 siblings, 1 reply; 22+ messages in thread From: Aditya Mahajan @ 2007-03-07 19:40 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, 7 Mar 2007, Xan wrote: > En/na Wolfgang Schuster ha escrit: >> 2007/3/7, Aditya Mahajan <adityam@umich.edu>: >>> >>> On Wed, 7 Mar 2007, Xan wrote: >>> >>>> En/na Aditya Mahajan ha escrit: >>>>> On Wed, 7 Mar 2007, Xan wrote: >>>>> >>>>>> Is it possible to have the equivalent in \sf in context?. I tried \sf >>>>>> and I get an error. Strange because \sl, \bf, etc exist >>>>> >>>>> \ss? (I am not sure what \sf is supposed to be, so just guessing) >>>>> >>>> >>>> \sf is Sans Serif (latex) >>>> [\rm roman, \tt typewriter, \sl slanted, \emph empasized, \it italic >>> \bf >>>> boldface; see "a not so short intro to latex" for example] >>> >>> \ss is plain tex's font command for sans serif, and works with >>> context. I do not know why latex chose \sf (sffamily, textsf) instead >>> of ss. >> >> >> You are wrong, \ss is in plain TeX the command to produce the german ß. >> There has never been a predefined command to swith to a sans serif font >> like >> the corresponding switches for bold and italic. >> >> > > So, is there any command for that?. How can I get \sf in latex in context? In ConTeXt, \ss switches to sans serif. What Wolfgang meant (IIUC) was that there is no command in plain tex to switch to sans serif. More details are at http://wiki.contextgarden.net/Basic_Text_Formatting Aditya ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 19:40 ` Aditya Mahajan @ 2007-03-07 20:31 ` Xan 2007-03-08 13:27 ` Wolfgang Schuster 2007-03-08 18:15 ` Mojca Miklavec 0 siblings, 2 replies; 22+ messages in thread From: Xan @ 2007-03-07 20:31 UTC (permalink / raw) To: mailing list for ConTeXt users En/na Aditya Mahajan ha escrit: > On Wed, 7 Mar 2007, Xan wrote: > >> En/na Wolfgang Schuster ha escrit: >>> 2007/3/7, Aditya Mahajan <adityam@umich.edu>: >>>> On Wed, 7 Mar 2007, Xan wrote: >>>> >>>>> En/na Aditya Mahajan ha escrit: >>>>>> On Wed, 7 Mar 2007, Xan wrote: >>>>>> >>>>>>> Is it possible to have the equivalent in \sf in context?. I tried \sf >>>>>>> and I get an error. Strange because \sl, \bf, etc exist >>>>>> \ss? (I am not sure what \sf is supposed to be, so just guessing) >>>>>> >>>>> \sf is Sans Serif (latex) >>>>> [\rm roman, \tt typewriter, \sl slanted, \emph empasized, \it italic >>>> \bf >>>>> boldface; see "a not so short intro to latex" for example] >>>> \ss is plain tex's font command for sans serif, and works with >>>> context. I do not know why latex chose \sf (sffamily, textsf) instead >>>> of ss. >>> >>> You are wrong, \ss is in plain TeX the command to produce the german ß. >>> There has never been a predefined command to swith to a sans serif font >>> like >>> the corresponding switches for bold and italic. >>> >>> >> So, is there any command for that?. How can I get \sf in latex in context? > > In ConTeXt, \ss switches to sans serif. What Wolfgang meant (IIUC) was > that there is no command in plain tex to switch to sans serif. > > More details are at > http://wiki.contextgarden.net/Basic_Text_Formatting > Okay. Clarified. But it does not appear in this wiki page. Maybe you could update it For the other hand, can you inform me how to translate context interface in catalan and spanish language?. Is there any .po file? I don't know how context works in this aspect. And another question: is there a "context planet"? Funny if I could see the comments about developers and context users. Thanks, Xan. > Aditya > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 20:31 ` Xan @ 2007-03-08 13:27 ` Wolfgang Schuster 2007-03-08 15:09 ` Xan 2007-03-08 18:15 ` Mojca Miklavec 1 sibling, 1 reply; 22+ messages in thread From: Wolfgang Schuster @ 2007-03-08 13:27 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 2038 bytes --] 2007/3/7, Xan <DXpublica@telefonica.net>: > > En/na Aditya Mahajan ha escrit: > > On Wed, 7 Mar 2007, Xan wrote: > > > >> En/na Wolfgang Schuster ha escrit: > >>> 2007/3/7, Aditya Mahajan <adityam@umich.edu>: > >>>> On Wed, 7 Mar 2007, Xan wrote: > >>>> > >>>>> En/na Aditya Mahajan ha escrit: > >>>>>> On Wed, 7 Mar 2007, Xan wrote: > >>>>>> > >>>>>>> Is it possible to have the equivalent in \sf in context?. I tried > \sf > >>>>>>> and I get an error. Strange because \sl, \bf, etc exist > >>>>>> \ss? (I am not sure what \sf is supposed to be, so just guessing) > >>>>>> > >>>>> \sf is Sans Serif (latex) > >>>>> [\rm roman, \tt typewriter, \sl slanted, \emph empasized, \it italic > >>>> \bf > >>>>> boldface; see "a not so short intro to latex" for example] > >>>> \ss is plain tex's font command for sans serif, and works with > >>>> context. I do not know why latex chose \sf (sffamily, textsf) instead > >>>> of ss. > >>> > >>> You are wrong, \ss is in plain TeX the command to produce the german > ß. > >>> There has never been a predefined command to swith to a sans serif > font > >>> like > >>> the corresponding switches for bold and italic. > >>> > >>> > >> So, is there any command for that?. How can I get \sf in latex in > context? > > > > In ConTeXt, \ss switches to sans serif. What Wolfgang meant (IIUC) was > > that there is no command in plain tex to switch to sans serif. > > > > More details are at > > http://wiki.contextgarden.net/Basic_Text_Formatting > > > > Okay. Clarified. > But it does not appear in this wiki page. Maybe you could update it > > For the other hand, can you inform me how to translate context interface > in catalan and spanish language?. Is there any .po file? I don't know > how context works in this aspect. > > And another question: is there a "context planet"? Funny if I could see > the comments about developers and context users. > > Thanks, > Xan. Hi Xan, you should look at the header in the 3rd column. Wolfgang [-- Attachment #1.2: Type: text/html, Size: 2883 bytes --] [-- Attachment #2: Type: text/plain, Size: 139 bytes --] _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-08 13:27 ` Wolfgang Schuster @ 2007-03-08 15:09 ` Xan 0 siblings, 0 replies; 22+ messages in thread From: Xan @ 2007-03-08 15:09 UTC (permalink / raw) To: mailing list for ConTeXt users >> > >> >> Okay. Clarified. >> But it does not appear in this wiki page. Maybe you could update it >> >> For the other hand, can you inform me how to translate context interface >> in catalan and spanish language?. Is there any .po file? I don't know >> how context works in this aspect. >> >> And another question: is there a "context planet"? Funny if I could see >> the comments about developers and context users. >> >> Thanks, >> Xan. > > > Hi Xan, > > you should look at the header in the 3rd column. > > Wolfgang Oh!. Yes. Sorry. I looked in the rows Thanks, Xan. > > > ------------------------------------------------------------------------ > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 20:31 ` Xan 2007-03-08 13:27 ` Wolfgang Schuster @ 2007-03-08 18:15 ` Mojca Miklavec 2007-03-09 11:35 ` Xan 1 sibling, 1 reply; 22+ messages in thread From: Mojca Miklavec @ 2007-03-08 18:15 UTC (permalink / raw) To: mailing list for ConTeXt users On 3/7/07, Xan wrote: > > For the other hand, can you inform me how to translate context interface > in catalan and spanish language?. Is there any .po file? I don't know > how context works in this aspect. If you say \mainlanguage[es] or \mainlanguage[spanish] to get spenish labels and hyphenation. If you want support for Catalan, you need to translate the strings in lang-ita.tex (and some minor additional cosmetics). If you would like to use different commands (Spanish equivalent of \setupsomething etc.), you need to look into the source (it's done for quite some languages already) and add Spanish strings - there are lots of files to patch. But I would think twice before doing that. If there is no manual with these commands, it's hard for users to find them, and some commands are not translated (listed for translation) at all. Mojca ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-08 18:15 ` Mojca Miklavec @ 2007-03-09 11:35 ` Xan 2007-03-09 14:29 ` Wolfgang Schuster 0 siblings, 1 reply; 22+ messages in thread From: Xan @ 2007-03-09 11:35 UTC (permalink / raw) To: mailing list for ConTeXt users En/na Mojca Miklavec ha escrit: > On 3/7/07, Xan wrote: >> For the other hand, can you inform me how to translate context interface >> in catalan and spanish language?. Is there any .po file? I don't know >> how context works in this aspect. > > If you say \mainlanguage[es] or \mainlanguage[spanish] to get spenish > labels and hyphenation. > > If you want support for Catalan, you need to translate the strings in > lang-ita.tex (and some minor additional cosmetics). I just want to translate the strings appear when we run texexec I what file are these? Thanks, Xan. > > If you would like to use different commands (Spanish equivalent of > \setupsomething etc.), you need to look into the source (it's done for > quite some languages already) and add Spanish strings - there are lots > of files to patch. But I would think twice before doing that. If there > is no manual with these commands, it's hard for users to find them, > and some commands are not translated (listed for translation) at all. > > Mojca > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-09 11:35 ` Xan @ 2007-03-09 14:29 ` Wolfgang Schuster 0 siblings, 0 replies; 22+ messages in thread From: Wolfgang Schuster @ 2007-03-09 14:29 UTC (permalink / raw) To: ntg-context On Fri, 09 Mar 2007 12:35:41 +0100 Xan <DXpublica@telefonica.net> wrote: > En/na Mojca Miklavec ha escrit: > > On 3/7/07, Xan wrote: > >> For the other hand, can you inform me how to translate context interface > >> in catalan and spanish language?. Is there any .po file? I don't know > >> how context works in this aspect. > > > > If you say \mainlanguage[es] or \mainlanguage[spanish] to get spenish > > labels and hyphenation. > > > > If you want support for Catalan, you need to translate the strings in > > lang-ita.tex (and some minor additional cosmetics). > > I just want to translate the strings appear when we run texexec > I what file are these? > > Thanks, > Xan. Hi Xan, the messages that appear on the terminal are spread above all modules in the core files. The are written between the \startmessages ... \stopmessages pair and give only the messages for the current interface language. I don't think it is possible to output spanish messages with the english interface. Wolfgang ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 14:39 \sf and bigggg fonts Xan 2007-03-07 15:13 ` Aditya Mahajan @ 2007-03-07 15:40 ` Sanjoy Mahajan 2007-03-07 15:44 ` Aditya Mahajan 2007-03-07 16:55 ` Wolfgang Schuster 1 sibling, 2 replies; 22+ messages in thread From: Sanjoy Mahajan @ 2007-03-07 15:40 UTC (permalink / raw) To: mailing list for ConTeXt users > And another question: how to make very big fonts (for example: 60pt) in > text and mathematical mode? I just want to change the font temporally > (and don't touch \setupbodyfont) I've been wrapping the text in \begingroup..\endgroup and changing the bodyfont inside it. For example, to make slightly bigger titles (by 12%) than is possible with just \bfd: \setuphead[title][style={\ss\bfd}, before={\begingroup\setupbodyfont[14.4pt]}, after={\bigskip\bigskip\endgroup}] -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien) ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 15:40 ` Sanjoy Mahajan @ 2007-03-07 15:44 ` Aditya Mahajan 2007-03-07 19:20 ` Sanjoy Mahajan 2007-03-07 16:55 ` Wolfgang Schuster 1 sibling, 1 reply; 22+ messages in thread From: Aditya Mahajan @ 2007-03-07 15:44 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, 7 Mar 2007, Sanjoy Mahajan wrote: >> And another question: how to make very big fonts (for example: 60pt) in >> text and mathematical mode? I just want to change the font temporally >> (and don't touch \setupbodyfont) > > I've been wrapping the text in \begingroup..\endgroup and changing the > bodyfont inside it. For example, to make slightly bigger titles (by > 12%) than is possible with just \bfd: > > \setuphead[title][style={\ss\bfd}, > before={\begingroup\setupbodyfont[14.4pt]}, > after={\bigskip\bigskip\endgroup}] For titles, I use the following. \definefont[titlefont][SansBold at 14.4pt] %Or 14.4*d \setuphead[title][style=\titlefont] Aditya ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 15:44 ` Aditya Mahajan @ 2007-03-07 19:20 ` Sanjoy Mahajan 2007-03-07 19:36 ` Aditya Mahajan 0 siblings, 1 reply; 22+ messages in thread From: Sanjoy Mahajan @ 2007-03-07 19:20 UTC (permalink / raw) To: mailing list for ConTeXt users > \definefont[titlefont][SansBold at 14.4pt] %Or 14.4*d > > \setuphead[title][style=\titlefont] That's useful. One problem: When the title spans multiple lines, then the \baselineskip won't be large enough. That's why I like using the builtin font-change operators. -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien) ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 19:20 ` Sanjoy Mahajan @ 2007-03-07 19:36 ` Aditya Mahajan 2007-03-08 17:32 ` Sanjoy Mahajan 0 siblings, 1 reply; 22+ messages in thread From: Aditya Mahajan @ 2007-03-07 19:36 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, 7 Mar 2007, Sanjoy Mahajan wrote: >> \definefont[titlefont][SansBold at 14.4pt] %Or 14.4*d >> >> \setuphead[title][style=\titlefont] > > That's useful. One problem: When the title spans multiple lines, then > the \baselineskip won't be large enough. That's why I like using the > builtin font-change operators. Are you sure? The baseline looks ok to me. \definefont[titlefont][SansBold at 30pt] \setuphead[title][style=\titlefont] \starttext \title{Hello world! hello hello hello hello hello} \stoptext Aditya ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 19:36 ` Aditya Mahajan @ 2007-03-08 17:32 ` Sanjoy Mahajan 0 siblings, 0 replies; 22+ messages in thread From: Sanjoy Mahajan @ 2007-03-08 17:32 UTC (permalink / raw) To: mailing list for ConTeXt users > Are you sure? The baseline looks ok to me. I was more sure than I should have been -- you're right, it's fine. Next time I'll run a real test rather than mentally simulate what I think ConTeXt will do! -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien) ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 15:40 ` Sanjoy Mahajan 2007-03-07 15:44 ` Aditya Mahajan @ 2007-03-07 16:55 ` Wolfgang Schuster 2007-03-07 17:35 ` Sanjoy Mahajan 1 sibling, 1 reply; 22+ messages in thread From: Wolfgang Schuster @ 2007-03-07 16:55 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 890 bytes --] 2007/3/7, Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>: > > > And another question: how to make very big fonts (for example: 60pt) in > > text and mathematical mode? I just want to change the font temporally > > (and don't touch \setupbodyfont) > > I've been wrapping the text in \begingroup..\endgroup and changing the > bodyfont inside it. For example, to make slightly bigger titles (by > 12%) than is possible with just \bfd: > > \setuphead[title][style={\ss\bfd}, > before={\begingroup\setupbodyfont[14.4pt]}, > after={\bigskip\bigskip\endgroup}] why not \setuphead [title] [style=\ss\bfd, before={\switchtobodyfont[14.4pt]}, after={\switchtobodyfont[global]}] -Sanjoy > > `Not all those who wander are lost.' (J.R.R. Tolkien) > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > [-- Attachment #1.2: Type: text/html, Size: 1519 bytes --] [-- Attachment #2: Type: text/plain, Size: 139 bytes --] _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 16:55 ` Wolfgang Schuster @ 2007-03-07 17:35 ` Sanjoy Mahajan 2007-03-08 13:25 ` Wolfgang Schuster 0 siblings, 1 reply; 22+ messages in thread From: Sanjoy Mahajan @ 2007-03-07 17:35 UTC (permalink / raw) To: mailing list for ConTeXt users > why not > > \setuphead > [title] > [style=\ss\bfd, > before={\switchtobodyfont[14.4pt]}, > after={\switchtobodyfont[global]}] Because I didn't know about the global option :-) It's cleaner than my method. It's only disadvantage is that the global setting may not be the one in effect just outside the \title. e.g. \setupbodyfont[10pt] \starttext \begingroup \setupbodyfont[20pt] A big line \title{some title} after the title \endgroup More text \stoptext would put 'after the title' in 10pt instead of 20pt. -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien) ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: \sf and bigggg fonts 2007-03-07 17:35 ` Sanjoy Mahajan @ 2007-03-08 13:25 ` Wolfgang Schuster 0 siblings, 0 replies; 22+ messages in thread From: Wolfgang Schuster @ 2007-03-08 13:25 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 797 bytes --] 2007/3/7, Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>: > > > why not > > > > \setuphead > > [title] > > [style=\ss\bfd, > > before={\switchtobodyfont[14.4pt]}, > > after={\switchtobodyfont[global]}] > > Because I didn't know about the global option :-) > > It's cleaner than my method. It's only disadvantage is that the > global setting may not be the one in effect just outside the \title. > e.g. > > \setupbodyfont[10pt] > \starttext > > \begingroup > \setupbodyfont[20pt] > A big line > > \title{some title} > > after the title > \endgroup > > More text > > \stoptext > > would put 'after the title' in 10pt instead of 20pt. > > -Sanjoy Hi Sanjoy, i forget this when I was writing my last mail, it is indeed better to change the font inside a group instead a global change. Wolfgang [-- Attachment #1.2: Type: text/html, Size: 1300 bytes --] [-- Attachment #2: Type: text/plain, Size: 139 bytes --] _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2007-03-09 14:29 UTC | newest] Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-03-07 14:39 \sf and bigggg fonts Xan 2007-03-07 15:13 ` Aditya Mahajan 2007-03-07 15:30 ` Xan 2007-03-07 15:38 ` Aditya Mahajan 2007-03-07 16:50 ` Wolfgang Schuster 2007-03-07 17:07 ` Aditya Mahajan 2007-03-07 19:34 ` Xan 2007-03-07 19:40 ` Aditya Mahajan 2007-03-07 20:31 ` Xan 2007-03-08 13:27 ` Wolfgang Schuster 2007-03-08 15:09 ` Xan 2007-03-08 18:15 ` Mojca Miklavec 2007-03-09 11:35 ` Xan 2007-03-09 14:29 ` Wolfgang Schuster 2007-03-07 15:40 ` Sanjoy Mahajan 2007-03-07 15:44 ` Aditya Mahajan 2007-03-07 19:20 ` Sanjoy Mahajan 2007-03-07 19:36 ` Aditya Mahajan 2007-03-08 17:32 ` Sanjoy Mahajan 2007-03-07 16:55 ` Wolfgang Schuster 2007-03-07 17:35 ` Sanjoy Mahajan 2007-03-08 13:25 ` Wolfgang Schuster
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).