Re: [NTG-context] bold \tt and pdf-output

2005-12-12 Thread Taco Hoekwater

Peter Münster wrote:


And there are a lot more.
If someone does not want bold tt in lm, then there could be a switch like
\nobftt.

Nevertheless: thanks for your suggestions, they work very well!

Cheers, Peter

P.S.: Any comments about bold small caps?


Latin Modern doesn't have a bold small caps (yet?), I think.

Taco


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bold \tt and pdf-output

2005-12-12 Thread Hans Hagen

� wrote:


On Tue, 6 Dec 2005, Hans Hagen wrote:

 


automatically.
Test-file:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\begin{document}
\texttt{Normal and \textbf{bold Type-Writer}}
\end{document}


 


not automatically, you have to ask for it: \usepackage{lmodern}
   



Hi Hans,

ok, you're right. What I meant: after loading lm, no further work is needed
to get bold tt.

 

sure, but it would break compatibility (unless everyone agrees upon  
having bold tt  enabled by default);  latex has different compatibility 
rules  (and does not default to latin modern)



But they are not so bold as the cmbtt ones. Anyway: how could the dark lmtt
font be activated in ConTeXt and could this be included in the
distribution?


 

by default, context loads the cmr fonts with design sizes, nowadays 
replaced by their latin modern alternative


in order to be backward compatible (although one can dispute the 
neccessity of this) the dark etc variants are not used
   



In fact, you are never backward compatible. Just an example:
\setupindenting[medium] is now \setupindenting[medium]
And there are a lot more.
 

hm, not that many i hope; concerning the indenting, that was basically a 
merge of two commands [and the auto yes was a bug]



If someone does not want bold tt in lm, then there could be a switch like
\nobftt.

Nevertheless: thanks for your suggestions, they work very well!
 


Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bold \tt and pdf-output

2005-12-12 Thread Vit Zyka

Taco Hoekwater wrote:

Peter Münster wrote:


And there are a lot more.
If someone does not want bold tt in lm, then there could be a switch like
\nobftt.

Nevertheless: thanks for your suggestions, they work very well!

Cheers, Peter

P.S.: Any comments about bold small caps?



Latin Modern doesn't have a bold small caps (yet?), I think.


If you really need it, generate pseudo small caps
http://wiki.contextgarden.net/Pseudo_Small_Caps

Vit

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bold \tt and pdf-output

2005-12-10 Thread Peter Münster
On Tue, 6 Dec 2005, Hans Hagen wrote:

 automatically.
 Test-file:
 \documentclass{article}
 \usepackage[T1]{fontenc}
 \usepackage{lmodern}
 \begin{document}
 \texttt{Normal and \textbf{bold Type-Writer}}
 \end{document}
   
 
 not automatically, you have to ask for it: \usepackage{lmodern}

Hi Hans,

ok, you're right. What I meant: after loading lm, no further work is needed
to get bold tt.

 But they are not so bold as the cmbtt ones. Anyway: how could the dark lmtt
 font be activated in ConTeXt and could this be included in the
 distribution?
   
 
 by default, context loads the cmr fonts with design sizes, nowadays 
 replaced by their latin modern alternative
 
 in order to be backward compatible (although one can dispute the 
 neccessity of this) the dark etc variants are not used

In fact, you are never backward compatible. Just an example:
\setupindenting[medium] is now \setupindenting[medium]
And there are a lot more.
If someone does not want bold tt in lm, then there could be a switch like
\nobftt.

Nevertheless: thanks for your suggestions, they work very well!

Cheers, Peter

P.S.: Any comments about bold small caps?

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bold \tt and pdf-output

2005-12-06 Thread Peter Münster
On Tue, 6 Dec 2005, Taco Hoekwater wrote:

 cmbtt is a metafont-only font. As Hans said: have a look at latin
 modern. If you really want cmbtt, you can use the pdftex primitive
 
 \pdfpkresolution = 600
 
 (for example) to specify a resolution.

Hello Taco,
thank you, \pdfpkresolution works well!

Indeed, there is a dark lm-type-writer font, and with LaTeX, you get it
automatically.
Test-file:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\begin{document}
\texttt{Normal and \textbf{bold Type-Writer}}
\end{document}

But they are not so bold as the cmbtt ones. Anyway: how could the dark lmtt
font be activated in ConTeXt and could this be included in the
distribution?

And what about bold sc-font?

Greetings, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bold \tt and pdf-output

2005-12-06 Thread Hans Hagen

� wrote:


On Tue, 6 Dec 2005, Taco Hoekwater wrote:

 


cmbtt is a metafont-only font. As Hans said: have a look at latin
modern. If you really want cmbtt, you can use the pdftex primitive

   \pdfpkresolution = 600

(for example) to specify a resolution.
   



Hello Taco,
thank you, \pdfpkresolution works well!

Indeed, there is a dark lm-type-writer font, and with LaTeX, you get it
automatically.
Test-file:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\begin{document}
\texttt{Normal and \textbf{bold Type-Writer}}
\end{document}
 


not automatically, you have to ask for it: \usepackage{lmodern}

and i guess that lmodern is not compatible with normal cmodern -)


But they are not so bold as the cmbtt ones. Anyway: how could the dark lmtt
font be activated in ConTeXt and could this be included in the
distribution?
 

by default, context loads the cmr fonts with design sizes, nowadays 
replaced by their latin modern alternative


in order to be backward compatible (although one can dispute the 
neccessity of this) the dark etc variants are not used


if you want them:

\starttypescript [mono] [computer-modern] [size]

 \definebodyfont 
[4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt,20.7pt] [tt]

   [bf=LMTypewriter-Dark sa 1,
bs=LMTypewriter-DarkOblique sa 1]

\stoptypescript

\usetypescript[modern][texnansi] \setupbodyfont[modern]

\starttext

{\tt test \bf test \definedfont[MonoBold] test}

\stoptext

wil give it; however, easier is:

\usetypescript[modern-base][texnansi] \setupbodyfont[modern]

\starttext

{\tt test \bf test \definedfont[MonoBold] test}

\stoptext

this alternative used 10 pt as base and since we have hinting in latin 
modern, the results are ok


\definetypeface [modern] [rm] [serif] [modern] [computer-modern] 
[encoding=\typescripttwo]
 \definetypeface [modern] [ss] [sans]  [modern] [computer-modern] 
[encoding=\typescripttwo]
 \definetypeface [modern] [tt] [mono]  [modern-cond] [computer-modern] 
[encoding=\typescripttwo]
 \definetypeface [modern] [mm] [math]  [modern] [computer-modern] 
[encoding=\typescripttwo]


will give give you condensed (modern-light will give you light)

Hans

Hans

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context