[OS X TeX] A Font question

soumya dipta soumyadiptabanerjee at yahoo.com
Thu Jun 23 01:59:28 CEST 2011


Hello all,

I got interested in Baskerville fonts (for no apparent reason). I am curious if :

I can produce Tex/Latex using Baskerville fonts?

If yes, what is the relevant latex package (to be downloaded)? I have the full version of TexLive 2010. 


Thanks in advance,
Shom


________________________________
From: "macosx-tex-request at email.esm.psu.edu" <macosx-tex-request at email.esm.psu.edu>
To: macosx-tex at email.esm.psu.edu
Sent: Wednesday, June 22, 2011 3:00 PM
Subject: MacOSX-TeX Digest, Vol 44, Issue 15

Send MacOSX-TeX mailing list submissions to
    macosx-tex at email.esm.psu.edu

To subscribe or unsubscribe via the World Wide Web, visit
    http://email.esm.psu.edu/mailman/listinfo/macosx-tex
or, via email, send a message with subject or body 'help' to
    macosx-tex-request at email.esm.psu.edu

You can reach the person managing the list at
    macosx-tex-owner at email.esm.psu.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of MacOSX-TeX digest..."


Today's Topics:

   1. Item align (David Arnold)
   2. Re: Item align (Michael Sharpe)
   3. Re: Item align (David Arnold)
   4. Re: Item align (Ross Moore)
   5. Re: Item align (David Arnold)
   6. Re: Item align (Ross Moore)
   7. Re: Item align (David Arnold)
   8. Re: Item align (Michael Sharpe)
   9. Re: Item align (David Arnold)
  10. Section title as running header (Per Ting)


----------------------------------------------------------------------

Message: 1
Date: Tue, 21 Jun 2011 15:12:26 -0700
From: David Arnold <dwarnold45 at suddenlink.net>
Subject: [OS X TeX] Item align
To: MacOSX-TeX <MacOSX-TeX at email.esm.psu.edu>
Message-ID: <708D35FB-E552-4B1F-8551-E1D1CF9F18D9 at suddenlink.net>
Content-Type: text/plain; charset=us-ascii

All,

I am looking for a way to align the baseline of the first equation with the baseline of the item number.

\documentclass{article}
\usepackage{amsmath}
\begin{document}

\begin{enumerate}

\item
\begin{align*}
2x+3y&=4\\
3x-4y&=12 
\end{align*}

\end{enumerate}
\end{document}

I don't necessarily need to use the align environment. In fact, I don't need the system to be centered. It could be indented a bit away from the item number.

Any thoughts or suggestions are welcome.

Thanks.

David

------------------------------

Message: 2
Date: Tue, 21 Jun 2011 15:27:35 -0700
From: Michael Sharpe <msharpe at ucsd.edu>
Subject: Re: [OS X TeX] Item align
To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
Message-ID: <D1707C1A-BA12-4A5D-80DF-AB0EE9A59085 at ucsd.edu>
Content-Type: text/plain; charset=us-ascii


On Jun 21, 2011, at 3:12 PM, David Arnold wrote:

> \documentclass{article}
> \usepackage{amsmath}
> \begin{document}
> 
> \begin{enumerate}
> 
> \item
> \begin{align*}
> 2x+3y&=4\\
> 3x-4y&=12 
> \end{align*}
> 
> \end{enumerate}
> \end{document}

You can put the align material inside a minipage, Eg,

\documentclass{article}
\usepackage{amsmath}
\begin{document}

\begin{enumerate}

\item
\begin{minipage}{2in}\begin{align*}
2x+3y&=4\\
3x-4y&=12 
\end{align*}
\end{minipage}
\end{enumerate}
\end{document}



------------------------------

Message: 3
Date: Tue, 21 Jun 2011 15:34:56 -0700
From: David Arnold <dwarnold45 at suddenlink.net>
Subject: Re: [OS X TeX] Item align
To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
Message-ID: <6B9AC246-9FCF-41A9-AA39-5ED0FEB33EAF at suddenlink.net>
Content-Type: text/plain; charset=us-ascii

Michael,

Not bad, but in this case the baseline of the first equations winds up atop the baseline of the item number.

\documentclass{article}
\usepackage{amsmath}
\begin{document}

\begin{enumerate}

\item
\begin{minipage}{2in}\begin{align*}
2x+3y&=4\\
y&=\frac23x-4
\end{align*}
\end{minipage}
\end{enumerate}
\end{document}

D.

On Jun 21, 2011, at 3:27 PM, Michael Sharpe wrote:

> 
> On Jun 21, 2011, at 3:12 PM, David Arnold wrote:
> 
>> \documentclass{article}
>> \usepackage{amsmath}
>> \begin{document}
>> 
>> \begin{enumerate}
>> 
>> \item
>> \begin{align*}
>> 2x+3y&=4\\
>> 3x-4y&=12 
>> \end{align*}
>> 
>> \end{enumerate}
>> \end{document}
> 
> You can put the align material inside a minipage, Eg,
> 
> \documentclass{article}
> \usepackage{amsmath}
> \begin{document}
> 
> \begin{enumerate}
> 
> \item
> \begin{minipage}{2in}\begin{align*}
> 2x+3y&=4\\
> 3x-4y&=12 
> \end{align*}
> \end{minipage}
> \end{enumerate}
> \end{document}
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> 



------------------------------

Message: 4
Date: Wed, 22 Jun 2011 08:40:26 +1000
From: Ross Moore <ross.moore at mq.edu.au>
Subject: Re: [OS X TeX] Item align
To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
Message-ID: <C8F34958-431F-4F1F-A9DB-9740B0A510EA at mq.edu.au>
Content-Type: text/plain; charset="iso-8859-1"


On 22/06/2011, at 8:12 AM, David Arnold wrote:

> All,
> 
> I am looking for a way to align the baseline of the first equation with the baseline of the item number.
> 
> \documentclass{article}
> \usepackage{amsmath}
> \begin{document}
> 
> \begin{enumerate}
> 
> \item
> \begin{align*}
> 2x+3y&=4\\
> 3x-4y&=12 
> \end{align*}
> 
> \end{enumerate}
> \end{document}
> 
> I don't necessarily need to use the align environment.

Most certainly you do not want it, since it is an outer displayed-math environment.
AMSmath provides other methods for inner alignment, but you many have to fiddle with 
the exact vertical placement.

e.g. here are 3 different solutions using sets of parameters to adjust the spacing:

\begin{enumerate}

\item
\begin{align*}
2x+3y&=4\\
3x-4y&=12 
\end{align*}

\item
\hspace{.5cm}\lower.65\baselineskip\hbox{$\begin{aligned}
2x+3y&=4\\
3x-4y&=12 
\end{aligned}$}

\item
\hspace{.5cm}\xy*!D(.125)\xybox{\xymatrix @R=0pt @C=0pt {
2x+3y&=&4\\
3x-4y&=&12 
}}\endxy

\item
\hspace{.5cm}\xy*+!U(2.75)\xybox{$\begin{aligned}
2x+3y&=4\\
3x-4y&=12 
\end{aligned}$}\endxy

\end{enumerate}

-------------- next part --------------
A non-text attachment was scrubbed...
Name: texshop_image.jpeg
Type: image/jpeg
Size: 37801 bytes
Desc: not available
Url : http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20110622/b3f2e519/texshop_image-0001.jpeg
-------------- next part --------------

> In fact, I don't need the system to be centered. It could be indented a bit away from the item number.
> 
> Any thoughts or suggestions are welcome.
> 
> Thanks.
> 
> David


Hope this helps,

    Ross

------------------------------------------------------------------------
Ross Moore                                      ross.moore at mq.edu.au 
Mathematics Department                           office: E7A-419      
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------




------------------------------

Message: 5
Date: Tue, 21 Jun 2011 15:44:08 -0700
From: David Arnold <dwarnold45 at suddenlink.net>
Subject: Re: [OS X TeX] Item align
To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
Message-ID: <D4D1431C-522F-4D67-9C25-D613276ED32B at suddenlink.net>
Content-Type: text/plain; charset="iso-8859-1"

Got an error on that:

./Untitled.tex:20: Undefined control sequence.
l.20 \hspace{.5cm}\xy
                     *!D(.125)\xybox{\xymatrix @R=0pt @C=0pt {
? 

D.

On Jun 21, 2011, at 3:40 PM, Ross Moore wrote:

> 
> On 22/06/2011, at 8:12 AM, David Arnold wrote:
> 
>> All,
>> 
>> I am looking for a way to align the baseline of the first equation with the baseline of the item number.
>> 
>> \documentclass{article}
>> \usepackage{amsmath}
>> \begin{document}
>> 
>> \begin{enumerate}
>> 
>> \item
>> \begin{align*}
>> 2x+3y&=4\\
>> 3x-4y&=12 
>> \end{align*}
>> 
>> \end{enumerate}
>> \end{document}
>> 
>> I don't necessarily need to use the align environment.
> 
> Most certainly you do not want it, since it is an outer displayed-math environment.
> AMSmath provides other methods for inner alignment, but you many have to fiddle with 
> the exact vertical placement.
> 
> e.g. here are 3 different solutions using sets of parameters to adjust the spacing:
> 
> \begin{enumerate}
> 
> \item
> \begin{align*}
> 2x+3y&=4\\
> 3x-4y&=12 
> \end{align*}
> 
> \item
> \hspace{.5cm}\lower.65\baselineskip\hbox{$\begin{aligned}
> 2x+3y&=4\\
> 3x-4y&=12 
> \end{aligned}$}
> 
> \item
> \hspace{.5cm}\xy*!D(.125)\xybox{\xymatrix @R=0pt @C=0pt {
> 2x+3y&=&4\\
> 3x-4y&=&12 
> }}\endxy
> 
> \item
> \hspace{.5cm}\xy*+!U(2.75)\xybox{$\begin{aligned}
> 2x+3y&=4\\
> 3x-4y&=12 
> \end{aligned}$}\endxy
> 
> \end{enumerate}
> 
> <texshop_image.jpeg>
>> In fact, I don't need the system to be centered. It could be indented a bit away from the item number.
>> 
>> Any thoughts or suggestions are welcome.
>> 
>> Thanks.
>> 
>> David
> 
> 
> Hope this helps,
> 
>     Ross
> 
> ------------------------------------------------------------------------
> Ross Moore                                      ross.moore at mq.edu.au 
> Mathematics Department                           office: E7A-419      
> Macquarie University                             tel: +61 (0)2 9850 8955
> Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
> ------------------------------------------------------------------------
> 
> 
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20110621/d64fdbab/attachment-0001.html

------------------------------

Message: 6
Date: Wed, 22 Jun 2011 08:45:22 +1000
From: Ross Moore <ross.moore at mq.edu.au>
Subject: Re: [OS X TeX] Item align
To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
Message-ID: <39A2B31D-8A97-435F-BFC8-7F9BF00E3524 at mq.edu.au>
Content-Type: text/plain; charset=us-ascii


On 22/06/2011, at 8:44 AM, David Arnold wrote:

> Got an error on that:
> 
> ./Untitled.tex:20: Undefined control sequence.
> l.20 \hspace{.5cm}\xy
>                      *!D(.125)\xybox{\xymatrix @R=0pt @C=0pt {
> ? 


\usepackage[all]{xy}

> 
> D.

------------------------------------------------------------------------
Ross Moore                                      ross.moore at mq.edu.au 
Mathematics Department                           office: E7A-419      
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------





------------------------------

Message: 7
Date: Tue, 21 Jun 2011 15:59:06 -0700
From: David Arnold <dwarnold45 at suddenlink.net>
Subject: Re: [OS X TeX] Item align
To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
Message-ID: <793A8954-5CA9-49F9-AEFE-81843DEC0562 at suddenlink.net>
Content-Type: text/plain; charset=us-ascii

Aha!

Thanks.

D.

On Jun 21, 2011, at 3:45 PM, Ross Moore wrote:

> 
> On 22/06/2011, at 8:44 AM, David Arnold wrote:
> 
>> Got an error on that:
>> 
>> ./Untitled.tex:20: Undefined control sequence.
>> l.20 \hspace{.5cm}\xy
>>                     *!D(.125)\xybox{\xymatrix @R=0pt @C=0pt {
>> ? 
> 
> 
> \usepackage[all]{xy}
> 
>> 
>> D.
> 
> ------------------------------------------------------------------------
> Ross Moore                                      ross.moore at mq.edu.au 
> Mathematics Department                           office: E7A-419      
> Macquarie University                             tel: +61 (0)2 9850 8955
> Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
> ------------------------------------------------------------------------
> 
> 
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> 



------------------------------

Message: 8
Date: Tue, 21 Jun 2011 16:28:35 -0700
From: Michael Sharpe <msharpe at ucsd.edu>
Subject: Re: [OS X TeX] Item align
To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
Message-ID: <EDE24B22-3DDD-48F3-AB8A-F25A980F4899 at ucsd.edu>
Content-Type: text/plain; charset=us-ascii


On Jun 21, 2011, at 3:34 PM, David Arnold wrote:

> Michael,
> 
> Not bad, but in this case the baseline of the first equations winds up atop the baseline of the item number.
> 
> \documentclass{article}
> \usepackage{amsmath}
> \begin{document}
> 
> \begin{enumerate}
> 
> \item
> \begin{minipage}{2in}\begin{align*}
> 2x+3y&=4\\
> y&=\frac23x-4
> \end{align*}
> \end{minipage}
> \end{enumerate}
> \end{document}
> 
> D.
> 
> On Jun 21, 2011, at 3:27 PM, Michael Sharpe wrote:
> 
>> 
>> On Jun 21, 2011, at 3:12 PM, David Arnold wrote:
>> 
>>> \documentclass{article}
>>> \usepackage{amsmath}
>>> \begin{document}
>>> 
>>> \begin{enumerate}
>>> 
>>> \item
>>> \begin{align*}
>>> 2x+3y&=4\\
>>> 3x-4y&=12 
>>> \end{align*}
>>> 
>>> \end{enumerate}
>>> \end{document}
>> 
>> You can put the align material inside a minipage, Eg,
>> 
>> \documentclass{article}
>> \usepackage{amsmath}
>> \begin{document}
>> 
>> \begin{enumerate}
>> 
>> \item
>> \begin{minipage}{2in}\begin{align*}
>> 2x+3y&=4\\
>> 3x-4y&=12 
>> \end{align*}
>> \end{minipage}
>> \end{enumerate}
>> \end{document}
>> 

I missed that---some manual vertical adjustment seems necessary. You can use \raisebox on the minipage:

\documentclass{article}
\usepackage{amsmath}
\begin{document}

\begin{enumerate}

\item
\raisebox{-.8pt}{\begin{minipage}{2in}\begin{align*}
2x+3y&=4\\
3x-4y&=12 
\end{align*}
\end{minipage}}
\end{enumerate}
\end{document}




------------------------------

Message: 9
Date: Tue, 21 Jun 2011 16:47:44 -0700
From: David Arnold <dwarnold45 at suddenlink.net>
Subject: Re: [OS X TeX] Item align
To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
Message-ID: <094CF580-0B82-410A-9895-26AEEA9F0F5C at suddenlink.net>
Content-Type: text/plain; charset=us-ascii

Michael,

Thanks. I went with Ross's strategy:

% Exercise #7
\begin{exercise}\label{ex:4-1-7}
\hspace{.5cm}\lower0.65\baselineskip\hbox{$\begin{aligned}
3x-3y&=12\\
x-y&=-3
\end{aligned}$}

I was able to use our perl code section to do something like this, where the second equation has the form y=slope2 * x+b.

my $howmuch=isinteger($slope2) ? "0.65" : "1.0";

Then code our question like this:

\shortqu=\hspace{.5cm}\lower#howmuch\baselineskip\hbox{$\begin{aligned}
#eqn1&=#C\\
y&=#eqn2
\end{aligned}$}
|@|

The result is not bad. See exercises 7-18 on page 4 of:

http://msenux.redwoods.edu/ElemAlgText/chapter4/chapter4.pdf

Thanks for your help.

David.





On Jun 21, 2011, at 4:28 PM, Michael Sharpe wrote:

> 
> On Jun 21, 2011, at 3:34 PM, David Arnold wrote:
> 
>> Michael,
>> 
>> Not bad, but in this case the baseline of the first equations winds up atop the baseline of the item number.
>> 
>> \documentclass{article}
>> \usepackage{amsmath}
>> \begin{document}
>> 
>> \begin{enumerate}
>> 
>> \item
>> \begin{minipage}{2in}\begin{align*}
>> 2x+3y&=4\\
>> y&=\frac23x-4
>> \end{align*}
>> \end{minipage}
>> \end{enumerate}
>> \end{document}
>> 
>> D.
>> 
>> On Jun 21, 2011, at 3:27 PM, Michael Sharpe wrote:
>> 
>>> 
>>> On Jun 21, 2011, at 3:12 PM, David Arnold wrote:
>>> 
>>>> \documentclass{article}
>>>> \usepackage{amsmath}
>>>> \begin{document}
>>>> 
>>>> \begin{enumerate}
>>>> 
>>>> \item
>>>> \begin{align*}
>>>> 2x+3y&=4\\
>>>> 3x-4y&=12 
>>>> \end{align*}
>>>> 
>>>> \end{enumerate}
>>>> \end{document}
>>> 
>>> You can put the align material inside a minipage, Eg,
>>> 
>>> \documentclass{article}
>>> \usepackage{amsmath}
>>> \begin{document}
>>> 
>>> \begin{enumerate}
>>> 
>>> \item
>>> \begin{minipage}{2in}\begin{align*}
>>> 2x+3y&=4\\
>>> 3x-4y&=12 
>>> \end{align*}
>>> \end{minipage}
>>> \end{enumerate}
>>> \end{document}
>>> 
> 
> I missed that---some manual vertical adjustment seems necessary. You can use \raisebox on the minipage:
> 
> \documentclass{article}
> \usepackage{amsmath}
> \begin{document}
> 
> \begin{enumerate}
> 
> \item
> \raisebox{-.8pt}{\begin{minipage}{2in}\begin{align*}
> 2x+3y&=4\\
> 3x-4y&=12 
> \end{align*}
> \end{minipage}}
> \end{enumerate}
> \end{document}
> 
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> 



------------------------------

Message: 10
Date: Wed, 22 Jun 2011 00:45:39 -0400
From: Per Ting <perting at gmail.com>
Subject: [OS X TeX] Section title as running header
To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
Message-ID: <BANLkTinyxePTC58=vj1BgmDVwVKvTXuZEw at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

I realize that this is not the appropriate forum to ask this question. I
apologize for posting this question.  I have already posted it on
comp.text.tex but have received no response.

I am writing a book where the running headers of even pages are
chapter titles and running head of odd pages are section titles. The
last section of each chapter is a section called "Problems". I would
like this section to have no section number, appear in the TOC without
section number and be justified under the title of other sections (not
under the number of other sections) and appear in the heading of odd
pages as "Problems" with no section number. What I have been doing is
the following. At the end of Chapter 1 I have added:

\newpage
\def\mr{\large{\it Problems}}
\let\rightmark\mr
\section*{Problems}
\addcontentsline{toc}{section}{Problems}%

This causes:
1- "Problems" to appear in the TOC without section number but left
justified under other sections that start with section number
2-When Chapter 2 starts, on odd pages I do not have section number,
rather "Problems" appears for the entire book as the header on odd
pages.

How can I solve these two problems? How cabn I reset the running
header to the section number again at the beginning of Chapter 2 and
have "Problems" correctly justified in TOCs.

Thanks

Per
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20110622/2248db00/attachment-0001.html

------------------------------


-------------------------- Helpful Info --------------------------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/



End of MacOSX-TeX Digest, Vol 44, Issue 15
******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20110622/70c45b8a/attachment.html>


More information about the macostex-archives mailing list