Re: similar typeface for monospaced and proportional?

2009-04-14 Thread Jeremy C. Reed
On Tue, 14 Apr 2009, Guenter Milde wrote:

 On 2009-04-11, Jeremy C. Reed wrote:
 
  Or is there a way to tell TeX to use a proportional typeface but force it 
  to use a fixed width so it will line up?
 
 The listings package has such an option. (Read its documentation.)

Thank you. I now scanned through the entire The Listings Package 
documentation. This appears to work for me. The default is to use the 
already defined font.

So I have:

\usepackage{listings}
\lstset{
columns=fixed
}

(I am not sure what the default is for columns, and didn't test others.)

But now document (the final PDF) has:
11Command invalid in math modeCommand invalid in math mode

Doesn't say what command. And nothing about this in my my latex logging.

I can reproduce this when I have two listlisting blocks that define a 
custom basicstyle. So my workaround is to simply change one of them to:

\begin{lstlisting}{basicstyle=\footnotesize}
to:
\begin{lstlisting}

But I need to reduce the size so a line doesn't wrap. Unless I can figure 
out how to increase the margin or get the text to not wrap.

Any thoughts on how to turn off any math mode or other?

Thanks again for pointing me to use listings package. Now the font looks 
correct and is still spaced accordingly.


  Jeremy C. Reed

echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \
  tr'#-~''\-.-{'



Re: similar typeface for monospaced and proportional?

2009-04-14 Thread Jeremy C. Reed
On Tue, 14 Apr 2009, Guenter Milde wrote:

 On 2009-04-11, Jeremy C. Reed wrote:
 
  Or is there a way to tell TeX to use a proportional typeface but force it 
  to use a fixed width so it will line up?
 
 The listings package has such an option. (Read its documentation.)

Thank you. I now scanned through the entire The Listings Package 
documentation. This appears to work for me. The default is to use the 
already defined font.

So I have:

\usepackage{listings}
\lstset{
columns=fixed
}

(I am not sure what the default is for columns, and didn't test others.)

But now document (the final PDF) has:
11Command invalid in math modeCommand invalid in math mode

Doesn't say what command. And nothing about this in my my latex logging.

I can reproduce this when I have two listlisting blocks that define a 
custom basicstyle. So my workaround is to simply change one of them to:

\begin{lstlisting}{basicstyle=\footnotesize}
to:
\begin{lstlisting}

But I need to reduce the size so a line doesn't wrap. Unless I can figure 
out how to increase the margin or get the text to not wrap.

Any thoughts on how to turn off any math mode or other?

Thanks again for pointing me to use listings package. Now the font looks 
correct and is still spaced accordingly.


  Jeremy C. Reed

echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \
  tr'#-~''\-.-{'



Re: similar typeface for monospaced and proportional?

2009-04-14 Thread Jeremy C. Reed
On Tue, 14 Apr 2009, Guenter Milde wrote:

> On 2009-04-11, Jeremy C. Reed wrote:
> 
> > Or is there a way to tell TeX to use a proportional typeface but force it 
> > to use a fixed width so it will line up?
> 
> The listings package has such an option. (Read its documentation.)

Thank you. I now scanned through the entire "The Listings Package" 
documentation. This appears to work for me. The default is to use the 
already defined font.

So I have:

\usepackage{listings}
\lstset{
columns=fixed
}

(I am not sure what the default is for columns, and didn't test others.)

But now document (the final PDF) has:
11Command invalid in math modeCommand invalid in math mode

Doesn't say what command. And nothing about this in my my latex logging.

I can reproduce this when I have two listlisting blocks that define a 
custom basicstyle. So my workaround is to simply change one of them to:

\begin{lstlisting}{basicstyle=\footnotesize}
to:
\begin{lstlisting}

But I need to reduce the size so a line doesn't wrap. Unless I can figure 
out how to increase the margin or get the text to not wrap.

Any thoughts on how to turn off any math mode or other?

Thanks again for pointing me to use listings package. Now the font looks 
correct and is still spaced accordingly.


  Jeremy C. Reed

echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \
  tr'#-~''\-.-{'



similar typeface for monospaced and proportional?

2009-04-11 Thread Jeremy C. Reed
I am looking for some typeface that looks the same for both monospaced and 
proportional. I have a document with a mix of fixed width text that is to 
be lined up (verbatim environment). I'd prefer to not use tables to line 
up the content.

I want that font to look the same as the other variable-width fonts -- 
with the main difference just the spacing between the type. Currently 
there is a significant visible difference -- I am hoping it will be more 
similar.

Any suggestions for a typeface that looks very close to the same for both 
fixed width and variable width?

Or is there a way to tell TeX to use a proportional typeface but force it 
to use a fixed width so it will line up?

Currently, I am using
% for palatino font
\usepackage{mathpazo}
\usepackage[T1]{fontenc}
\usepackage{t1enc}
\usepackage{microtype}
and verbatim environments.

The fonts used are:

name type  emb sub uni object ID
 - --- --- --- -
LRUUGQ+URWPalladioL-Roma Type 1yes yes no   6  0
[none]   Type 3yes no  no   7  0
ARWHNO+CMSY10Type 1yes yes no  14  0
[none]   Type 3yes no  no  18  0
[none]   Type 3yes no  no  19  0
[none]   Type 3yes no  no  23  0
JAFOHT+URWPalladioL-Roma-Slant_167   Type 1yes yes no  54  0
UBBDOK+URWPalladioL-Roma-Extend_1020 Type 1yes yes no  57  0
PHLRTI+URWPalladioL-Roma-Extend_988  Type 1yes yes no  60  0
RXKJGH+URWPalladioL-Roma-Extend_980  Type 1yes yes no  63  0
VVGSKL+URWPalladioL-Roma-Extend_996  Type 1yes yes no  66  0
[none]   Type 3yes no  no  71  0
UYLLUF+URWPalladioL-Roma-Extend_1004 Type 1yes yes no  74  0
MXTISL+URWPalladioL-Roma-Extend_992  Type 1yes yes no  77  0
OSCZAI+URWPalladioL-Roma-Extend_1008 Type 1yes yes no  89  0
DZEPRE+URWPalladioL-Roma-Extend_1012 Type 1yes yes no  92  0
PDCOGY+URWPalladioL-Bold Type 1yes yes no  98  0
QBSUBD+URWPalladioL-Roma-Extend_1016 Type 1yes yes no 104  0
EIJDSS+URWPalladioL-Roma-Extend_984  Type 1yes yes no 111  0
[none]   Type 3yes no  no 112  0
[none]   Type 3yes no  no 166  0
ORRXDO+URWPalladioL-Ital Type 1yes yes no1423  0
AXBKIS+URWPalladioL-Ital-Extend_980  Type 1yes yes no1426  0

(I don't know what none is.)



similar typeface for monospaced and proportional?

2009-04-11 Thread Jeremy C. Reed
I am looking for some typeface that looks the same for both monospaced and 
proportional. I have a document with a mix of fixed width text that is to 
be lined up (verbatim environment). I'd prefer to not use tables to line 
up the content.

I want that font to look the same as the other variable-width fonts -- 
with the main difference just the spacing between the type. Currently 
there is a significant visible difference -- I am hoping it will be more 
similar.

Any suggestions for a typeface that looks very close to the same for both 
fixed width and variable width?

Or is there a way to tell TeX to use a proportional typeface but force it 
to use a fixed width so it will line up?

Currently, I am using
% for palatino font
\usepackage{mathpazo}
\usepackage[T1]{fontenc}
\usepackage{t1enc}
\usepackage{microtype}
and verbatim environments.

The fonts used are:

name type  emb sub uni object ID
 - --- --- --- -
LRUUGQ+URWPalladioL-Roma Type 1yes yes no   6  0
[none]   Type 3yes no  no   7  0
ARWHNO+CMSY10Type 1yes yes no  14  0
[none]   Type 3yes no  no  18  0
[none]   Type 3yes no  no  19  0
[none]   Type 3yes no  no  23  0
JAFOHT+URWPalladioL-Roma-Slant_167   Type 1yes yes no  54  0
UBBDOK+URWPalladioL-Roma-Extend_1020 Type 1yes yes no  57  0
PHLRTI+URWPalladioL-Roma-Extend_988  Type 1yes yes no  60  0
RXKJGH+URWPalladioL-Roma-Extend_980  Type 1yes yes no  63  0
VVGSKL+URWPalladioL-Roma-Extend_996  Type 1yes yes no  66  0
[none]   Type 3yes no  no  71  0
UYLLUF+URWPalladioL-Roma-Extend_1004 Type 1yes yes no  74  0
MXTISL+URWPalladioL-Roma-Extend_992  Type 1yes yes no  77  0
OSCZAI+URWPalladioL-Roma-Extend_1008 Type 1yes yes no  89  0
DZEPRE+URWPalladioL-Roma-Extend_1012 Type 1yes yes no  92  0
PDCOGY+URWPalladioL-Bold Type 1yes yes no  98  0
QBSUBD+URWPalladioL-Roma-Extend_1016 Type 1yes yes no 104  0
EIJDSS+URWPalladioL-Roma-Extend_984  Type 1yes yes no 111  0
[none]   Type 3yes no  no 112  0
[none]   Type 3yes no  no 166  0
ORRXDO+URWPalladioL-Ital Type 1yes yes no1423  0
AXBKIS+URWPalladioL-Ital-Extend_980  Type 1yes yes no1426  0

(I don't know what none is.)



similar typeface for monospaced and proportional?

2009-04-11 Thread Jeremy C. Reed
I am looking for some typeface that looks the same for both monospaced and 
proportional. I have a document with a mix of fixed width text that is to 
be lined up (verbatim environment). I'd prefer to not use tables to line 
up the content.

I want that font to look the same as the other variable-width fonts -- 
with the main difference just the spacing between the type. Currently 
there is a significant visible difference -- I am hoping it will be more 
similar.

Any suggestions for a typeface that looks very close to the same for both 
fixed width and variable width?

Or is there a way to tell TeX to use a proportional typeface but force it 
to use a fixed width so it will line up?

Currently, I am using
% for palatino font
\usepackage{mathpazo}
\usepackage[T1]{fontenc}
\usepackage{t1enc}
\usepackage{microtype}
and verbatim environments.

The fonts used are:

name type  emb sub uni object ID
 - --- --- --- -
LRUUGQ+URWPalladioL-Roma Type 1yes yes no   6  0
[none]   Type 3yes no  no   7  0
ARWHNO+CMSY10Type 1yes yes no  14  0
[none]   Type 3yes no  no  18  0
[none]   Type 3yes no  no  19  0
[none]   Type 3yes no  no  23  0
JAFOHT+URWPalladioL-Roma-Slant_167   Type 1yes yes no  54  0
UBBDOK+URWPalladioL-Roma-Extend_1020 Type 1yes yes no  57  0
PHLRTI+URWPalladioL-Roma-Extend_988  Type 1yes yes no  60  0
RXKJGH+URWPalladioL-Roma-Extend_980  Type 1yes yes no  63  0
VVGSKL+URWPalladioL-Roma-Extend_996  Type 1yes yes no  66  0
[none]   Type 3yes no  no  71  0
UYLLUF+URWPalladioL-Roma-Extend_1004 Type 1yes yes no  74  0
MXTISL+URWPalladioL-Roma-Extend_992  Type 1yes yes no  77  0
OSCZAI+URWPalladioL-Roma-Extend_1008 Type 1yes yes no  89  0
DZEPRE+URWPalladioL-Roma-Extend_1012 Type 1yes yes no  92  0
PDCOGY+URWPalladioL-Bold Type 1yes yes no  98  0
QBSUBD+URWPalladioL-Roma-Extend_1016 Type 1yes yes no 104  0
EIJDSS+URWPalladioL-Roma-Extend_984  Type 1yes yes no 111  0
[none]   Type 3yes no  no 112  0
[none]   Type 3yes no  no 166  0
ORRXDO+URWPalladioL-Ital Type 1yes yes no1423  0
AXBKIS+URWPalladioL-Ital-Extend_980  Type 1yes yes no1426  0

(I don't know what "none" is.)