\sf and bigggg fonts
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.
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
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
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
2007/3/7, Aditya Mahajan
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
On Wed, 7 Mar 2007, Wolfgang Schuster wrote:
2007/3/7, Aditya Mahajan
: 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
En/na Wolfgang Schuster ha escrit:
2007/3/7, Aditya Mahajan
: 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.
On Wed, 7 Mar 2007, Xan wrote:
En/na Wolfgang Schuster ha escrit:
2007/3/7, Aditya Mahajan
: 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
En/na Aditya Mahajan ha escrit:
On Wed, 7 Mar 2007, Xan wrote:
En/na Wolfgang Schuster ha escrit:
2007/3/7, Aditya Mahajan
: 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
2007/3/7, Xan
En/na Aditya Mahajan ha escrit:
On Wed, 7 Mar 2007, Xan wrote:
En/na Wolfgang Schuster ha escrit:
2007/3/7, Aditya Mahajan
: 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
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
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
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
On Fri, 09 Mar 2007 12:35:41 +0100
Xan
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
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)
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
\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)
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
2007/3/7, Sanjoy Mahajan
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
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)
2007/3/7, Sanjoy Mahajan
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
participants (5)
-
Aditya Mahajan
-
Mojca Miklavec
-
Sanjoy Mahajan
-
Wolfgang Schuster
-
Xan