Re: Subtitles

2006-06-15 Thread Richard Heck

There's a difference here between \maketitle and [EMAIL PROTECTED], at least
if you're modifying one of the existing classes. The former is defined
using \newcommand, but the latter is defined using \def. It'd be nice if
someone could explain why.

Richard

Steve Litt wrote:
> On Thursday 15 June 2006 06:06 am, Jose' Matos wrote:
>   
>> On Wednesday 14 June 2006 20:25, Steve Litt wrote:
>> 
 [EMAIL PROTECTED]
 
>> I don't know what I am talking about (you have been warned) but should not
>> this be
>>
>> \renewcommand{\maketitle}{%
>> ?
>>
>>   After all \maketitle is already defined.
>> 
>
> Hi Jose,
>
> The \def\myvar{mycode} syntax is pure TeX, whereas the \renewcommand{\myvar}
> {mycode} syntax is LaTeX.  My reading indicates that if you CAN use LaTeX, 
> you SHOULD use LaTeX, but sometimes it's very easy to use the TeX syntax.
>
> So yes, theoretically I should use \renewcommand.
>
> Thanks
>
> SteveT
>
> Steve Litt
> Author: 
>* Universal Troubleshooting Process courseware
>* Troubleshooting Techniques of the Successful Technologist
>* Manager's Guide to Technical Troubleshooting
>* Twenty Eight Tales of Troubleshooting
>* Rapid Learning: Secret Weapon of the Successful Technologist
>
> http://www.troubleshooters.com/bookstore
> http://www.troubleshooters.com/utp/tcourses.htm
>   



Re: Subtitles

2006-06-15 Thread Steve Litt
On Thursday 15 June 2006 06:06 am, Jose' Matos wrote:
> On Wednesday 14 June 2006 20:25, Steve Litt wrote:
> > > [EMAIL PROTECTED]
>
> I don't know what I am talking about (you have been warned) but should not
> this be
>
> \renewcommand{\maketitle}{%
> ?
>
>   After all \maketitle is already defined.

Hi Jose,

The \def\myvar{mycode} syntax is pure TeX, whereas the \renewcommand{\myvar}
{mycode} syntax is LaTeX.  My reading indicates that if you CAN use LaTeX, 
you SHOULD use LaTeX, but sometimes it's very easy to use the TeX syntax.

So yes, theoretically I should use \renewcommand.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Subtitles

2006-06-15 Thread Jose' Matos
On Wednesday 14 June 2006 20:25, Steve Litt wrote:
> > [EMAIL PROTECTED]

I don't know what I am talking about (you have been warned) but should not 
this be

\renewcommand{\maketitle}{%
?

  After all \maketitle is already defined.

-- 
José Abílio


Re: Subtitles

2006-06-14 Thread Rich Shepard

On Wed, 14 Jun 2006, Stephen Harris wrote:


The book is available for download at
http://www.yunnan.tk/component/option,com_docman/task,cat_view/gid,34/Itemid,78/


Stephen,

  Once upon a time I had a copy. For whatever reason, it's no longer on my
hard drive. Thank you for the reminder.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Subtitles

2006-06-14 Thread Steve Litt
On Wednesday 14 June 2006 09:34 am, Matej Cepl wrote:
> [EMAIL PROTECTED]@empty
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> \newpage
> \null
> \vskip 2em%
> \begin{center}%
>     \let \footnote \thanks
>     {\LARGE \bfseries [EMAIL PROTECTED] \par}%
>     [EMAIL PROTECTED]@empty
>     \else
>         [EMAIL PROTECTED] [EMAIL PROTECTED]
>     \fi
>     \vskip 1.5em%
>     {\large
>         \lineskip .5em%
>         \begin{tabular}[t]{c}%
>             [EMAIL PROTECTED]
>         \end{tabular}\par}%
>     \vskip 1em%
>     {\large [EMAIL PROTECTED]
> \end{center}%
> \par
> \vskip 1.5em}

Hi Matej,

Putting the preceding code into my LyX .layout file right after the preamble 
statement did absolutely nothing, even when I hardcoded stuff into it.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Subtitles

2006-06-14 Thread Stephen Harris

Rich Shepard wrote:

On Wed, 14 Jun 2006, Steve Litt wrote:

I know you didn't learn it in Kopka and Daly's "Guide to LaTeX", 
because I
read that book cover to cover and there were no more than a few 
sentences on

the use of the \let TeX primative.


Steve,

  Have you read Knuth's "TeXbook?"

Rich



The book is available for download at
http://www.yunnan.tk/component/option,com_docman/task,cat_view/gid,34/Itemid,78/

--
Stephen
Topic ontology recapitulates entropic philology.


Re: Subtitles

2006-06-14 Thread Rich Shepard

On Wed, 14 Jun 2006, Steve Litt wrote:


Not yet. Is it good?


Steve,

  I like it.


Is it hugely confusing?


  That's subjective. I read his series, "The Art of Computer Programming," in
the mid-1970s just to learn how to be a better FORTRAN coder. Quite readable.
I've not yet bought the TeXbook, but I should.


How much does it cost? I see that it retails for $44.99 and you can get it
new for $38.67 at Amazon. Can I get it used? Where would I get it?


  Any of the tech book stores should stock it; most probably have used
copies, too. Amazon does; so does Powell's Technical Books
(http://www.powells.com/). Bookpool has it new, but not used.

  BTW, have you read Appendix D (LaTeX Programming) in Kopka and Daly (4th
Ed.)?

HTH,

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Subtitles

2006-06-14 Thread Jose' Matos
On Wednesday 14 June 2006 19:12, Steve Litt wrote:
> Are you referring to http://tug.org/TeXnik/mainFAQ.cgi/?

  Yes.
  Since I am lazy I always go first to http://lyx.org and from there to 
Herbert's site. :-)

> SteveT

-- 
José Abílio


Re: Subtitles

2006-06-14 Thread Steve Litt
On Wednesday 14 June 2006 01:55 pm, Jose' Matos wrote:

>   At least for me "LaTeX tips and tricks" is always a nice place to start.

Thanks  Jose,

Are you referring to http://tug.org/TeXnik/mainFAQ.cgi/?

SteveT


Re: Subtitles

2006-06-14 Thread Steve Litt
On Wednesday 14 June 2006 01:50 pm, Rich Shepard wrote:
> On Wed, 14 Jun 2006, Steve Litt wrote:
> > I know you didn't learn it in Kopka and Daly's "Guide to LaTeX", because
> > I read that book cover to cover and there were no more than a few
> > sentences on the use of the \let TeX primative.
>
> Steve,
>
>Have you read Knuth's "TeXbook?"
>
> Rich

Hi Rich,

Not yet. Is it good? Is it hugely confusing? How much does it cost? I see that 
it retails for $44.99 and you can get it new for $38.67 at Amazon. Can I get 
it used? Where would I get it?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Re: Subtitles

2006-06-14 Thread Jose' Matos
On Wednesday 14 June 2006 18:47, Steve Litt wrote:
> Hi Matej,
>
> Looks good from a casual read, and I'll try this, but your email brings up
> a much more serious topic -- *how the heck did you learn this???*
>
> I know you didn't learn it in Kopka and Daly's "Guide to LaTeX", because I
> read that book cover to cover and there were no more than a few sentences
> on the use of the \let TeX primative.

  I have learned this trick using "tips and tricks" from Herbert Voß: 
http://tug.org/TeXnik/mainFAQ.cgi?file=titlepage/titlepage

  This is linked in LyX front page. :-)

  I have used this to redefine the titlepage to follow my University's 
requirement.

> You've given me several suggestions like this, most of which are
> incorporated in the .layout files of my various books. Could you please
> tell me (and everyone else on this list) where you learned this, and how,
> and a little about your mental state and process when you learned this.

  At least for me "LaTeX tips and tricks" is always a nice place to start. :-)

> The lyx-users list has discussion after discussion about how to make a
> customized environment, command, or whatever. The typical response is "use
> package whatever" or "you don't need that feature". If all of us learned
> what you know about LaTeX and TeX (\let is pure TeX from what I
> understand), we'd all be much happier LyX users if we could whip out a
> quick LaTeX solution to our formatting needs.
>
> Thanks so much
>
> SteveT

-- 
José Abílio


Re: Subtitles

2006-06-14 Thread Rich Shepard

On Wed, 14 Jun 2006, Steve Litt wrote:


I know you didn't learn it in Kopka and Daly's "Guide to LaTeX", because I
read that book cover to cover and there were no more than a few sentences on
the use of the \let TeX primative.


Steve,

  Have you read Knuth's "TeXbook?"

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Subtitles

2006-06-14 Thread Steve Litt
Hi Matej,

Looks good from a casual read, and I'll try this, but your email brings up a 
much more serious topic -- *how the heck did you learn this???*

I know you didn't learn it in Kopka and Daly's "Guide to LaTeX", because I 
read that book cover to cover and there were no more than a few sentences on 
the use of the \let TeX primative.

You've given me several suggestions like this, most of which are incorporated 
in the .layout files of my various books. Could you please tell me (and 
everyone else on this list) where you learned this, and how, and a little 
about your mental state and process when you learned this.

The lyx-users list has discussion after discussion about how to make a 
customized environment, command, or whatever. The typical response is "use 
package whatever" or "you don't need that feature". If all of us learned what 
you know about LaTeX and TeX (\let is pure TeX from what I understand), we'd 
all be much happier LyX users if we could whip out a quick LaTeX solution to 
our formatting needs.

Thanks so much

SteveT 

On Wednesday 14 June 2006 09:34 am, Matej Cepl wrote:
> Steve Litt wrote:
> > If you notice, most modern books have two lines to their title, as in:
> >
> > ===
> > Guide to LaTeX
> > Tools and Techniques for Computer Typesetting
> > ===
>
> Try this one. Basically it means redefinition of [EMAIL PROTECTED] like this
> (notice using [EMAIL PROTECTED], which is per default [EMAIL PROTECTED]):
>
> [EMAIL PROTECTED]@empty
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> \newpage
> \null
> \vskip 2em%
> \begin{center}%
> \let \footnote \thanks
> {\LARGE \bfseries [EMAIL PROTECTED] \par}%
> [EMAIL PROTECTED]@empty
> \else
> [EMAIL PROTECTED] [EMAIL PROTECTED]
> \fi
> \vskip 1.5em%
> {\large
> \lineskip .5em%
> \begin{tabular}[t]{c}%
> [EMAIL PROTECTED]
> \end{tabular}\par}%
> \vskip 1em%
> {\large [EMAIL PROTECTED]
> \end{center}%
> \par
> \vskip 1.5em}
>
>
> and now we fill [EMAIL PROTECTED] with some stuff (if desired):
>
> [EMAIL PROTECTED]
>
> The redefinition of [EMAIL PROTECTED] goes to the Preamble section of Title
> style, and definition of \subtitle into Preamble section of Subtitle style.
> Size of the font can be changed in [EMAIL PROTECTED]
>
> Is this what you want?
>
> Matěj


Re: Subtitles

2006-06-14 Thread Matej Cepl
Steve Litt wrote:
> If you notice, most modern books have two lines to their title, as in:
> 
> ===
> Guide to LaTeX
> Tools and Techniques for Computer Typesetting
> ===

Try this one. Basically it means redefinition of [EMAIL PROTECTED] like this
(notice using [EMAIL PROTECTED], which is per default [EMAIL PROTECTED]):

[EMAIL PROTECTED]@empty
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\newpage
\null
\vskip 2em%
\begin{center}%
\let \footnote \thanks
{\LARGE \bfseries [EMAIL PROTECTED] \par}%
[EMAIL PROTECTED]@empty
\else
[EMAIL PROTECTED] [EMAIL PROTECTED]
\fi
\vskip 1.5em%
{\large
\lineskip .5em%
\begin{tabular}[t]{c}%
[EMAIL PROTECTED]
\end{tabular}\par}%
\vskip 1em%
{\large [EMAIL PROTECTED]
\end{center}%
\par
\vskip 1.5em}


and now we fill [EMAIL PROTECTED] with some stuff (if desired):

[EMAIL PROTECTED]
 
The redefinition of [EMAIL PROTECTED] goes to the Preamble section of Title 
style,
and definition of \subtitle into Preamble section of Subtitle style. Size
of the font can be changed in [EMAIL PROTECTED]

Is this what you want?

Matěj

-- 
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
http://www.ceplovi.cz/matej/blog/, Jabber: [EMAIL PROTECTED]
23 Marion St. #3, (617) 876-1259, ICQ 132822213
 
This message has been composed of recycled electrons. None of
these electrons has been harmed or injured in the creation and
transmission of this message but they have been shamelessly
exploited for this use.
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{article (like from groff)}
# $Id: myarticle.inc,v 1.1 2006/06/06 18:55:44 matej Exp matej $

# General textclass parameters
Input article.layout

ClassOptions
   Other "11pt"
End

Preamble
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\noindent\parbox[t]{1.8em}%
[EMAIL PROTECTED]
[EMAIL PROTECTED]
}

\newif\ifpdf
\ifx\pdfoutput\undefined
\pdffalse
\else
\ifx\pdfoutput=1
\pdftrue
\else
\pdffalse
\fi
\fi

% rcssimple.sty -- local version
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\def\RCS$#1: #2 ${\expandafter\def\csname RCS#1\endcsname{#2}}
[EMAIL PROTECTED]
[EMAIL PROTECTED]@endMD
[EMAIL PROTECTED]@endMT
}
[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED]

[EMAIL PROTECTED]
   [EMAIL PROTECTED]
  \bibpunct{[}{]}{;}{a}{,}{,}
   }
}

% protect content from TTH
\def\tthdump#1{#1}

% make url.sty work
[EMAIL PROTECTED]@hyp{\do\-}

% setting some basic LaTeX variables
\widowpenalty1
%\brokenpenalty1
\clubpenalty1
\setlength{\overfullrule}{5pt}
\usepackage{verbatim}

\IfFileExists{typearea.sty}
  {\usepackage[DIV10]{typearea}}{}

[EMAIL PROTECTED]
   \newrefformat{fot}{Footnote~\ref{#1}}
   %\let\oldprettyreg=\prettyref
   %\def{\renewcommand{\prettyref}[1]{\lowercase{\oldprettyref{#1}}}
}

\usepackage{ae,aecompl}

\usepackage{setspace}
\doublespace

\usepackage[hyperref,pagebackref]{hyperref}

\newcommand{\fixme}[1]{\textsc{{[}FIXME: #1{]}}}
%\usepackage{booktabs}

% apply rcssimple
\date{\RCSMyDate}

\fancypagestyle{plain}{%
\fancyhf{} % clear all header and footer fields
\fancyfoot[L]{\scriptsize{rev. \RCSRevision{}}}
\fancyfoot[C]{\thepage}
\fancyfoot[R]{\hfill\scriptsize{\date{\RCSMyDate{
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
}

\fancyhf{}
\cfoot{\thepage{}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}

\ifpdf%
   [EMAIL PROTECTED]
  \DeclareGraphicsRule{*}{mps}{*}{}
   }
\fi

EndPreamble

# Title style definition
Style Title
  MarginStatic
  LatexType Command
  InTitle   1
  LatexName title
  ParSkip   0.4
  ItemSep   0
  TopSep0
  BottomSep 1
  ParSep1
  Align Center
  AlignPossible Center
  LabelType No_Label
  Preamble
[EMAIL PROTECTED]@empty
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\newpage
\null
\vskip 2em%
\begin{center}%
\let \footnote \thanks
{\LARGE \bfseries [EMAIL PROTECTED] \par}%
[EMAIL PROTECTED]@empty
\else
[EMAIL PROTECTED] [EMAIL PROTECTED]
\fi
\vskip 1.5em%
{\large
\lineskip .5em%
\begin{tabular}[t]{c}%
[EMAIL PROTECTED]
\end{tabular}\par}%
\vskip 1em%
{\large [EMAIL PROTECTED]
\end{center}%
\par
\vskip 1.5em}
  EndPreamble

  # standard font definition
  Font
SizeLargest
  EndFont

End

Style Subtitle
  MarginStatic
  LatexType Command
  InTitle   1
  LatexName subtitle
  ParSkip   0
  ItemSep   0
  TopSep-

Re: Subtitles

2006-06-13 Thread Rich Shepard

On Tue, 13 Jun 2006, Steve Litt wrote:


I could revisit that decision, but I've already got a layout that's a
derivative of Book, so I'd like to have a lot more reasons to go Koma than
just the title page. If the only benefit is just the title page, I'd rather
fine tune the title page with voluminous ERT the way I do my copyright
page.


Steve,

  The Koma-script classes offer many improvements in terms of flexibility
over the generic classes. You'd have to review the manual to decide if it's
worth your while to use them.


Would Memoir do the same thing?


  Probably. I read the Memoir manual a couple of years ago, but haven't done
any writing with it. Springer-Verlag provided their own monograph book class,
so that's what I used for my book. Other book-type writing I do is done with
the Koma-scripts because they give me enough flexibility. My priority is
content, and I much prefer to let those with greater knowledge and skills in
typography and page layout do their thing so I can just plug in my text and
correct overfull horizontal boxes. :-)

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Subtitles

2006-06-13 Thread Steve Litt
On Tuesday 13 June 2006 05:40 pm, Rich Shepard wrote:
> On Tue, 13 Jun 2006, Steve Litt wrote:
> > Typically, the subtitle is longer than the title and therefore is printed
> > in a smaller font. What I'd like to do is have them both on the title
> > page.
> >
> > I'm using my own derivative of the Book environment for this project.
>
> SteveT,
>
>Consider deriving the Extra title environment from the Koma-script book
> class. Because this class has this ability, the titlehead environment that
> allows me to put the logo above the title, and the ability to put
> information on the top and bottom of the page immediately following the
> title, I've adopted it as my standard book class. I tuned the heading
> typeface selection to that of the standard book class, but use the
> flexibility provided by the Koma-scripts.
>
> Rich


Thanks Rich,

I investigated Koma years ago and for reasons I can't remember decided against 
it. I could revisit that decision, but I've already got a layout that's a 
derivative of Book, so I'd like to have a lot more reasons to go Koma than 
just the title page. If the only benefit is just the title page, I'd rather 
fine tune the title page with voluminous ERT the way I do my copyright page.

Would Memoir do the same thing? I've already written one book with a Memoir 
derivative document class, so at least I have some experience with Memoir.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Subtitles

2006-06-13 Thread Rich Shepard

On Tue, 13 Jun 2006, Steve Litt wrote:


Typically, the subtitle is longer than the title and therefore is printed in a
smaller font. What I'd like to do is have them both on the title page.



I'm using my own derivative of the Book environment for this project.


SteveT,

  Consider deriving the Extra title environment from the Koma-script book
class. Because this class has this ability, the titlehead environment that
allows me to put the logo above the title, and the ability to put information
on the top and bottom of the page immediately following the title, I've
adopted it as my standard book class. I tuned the heading typeface selection
to that of the standard book class, but use the flexibility provided by the
Koma-scripts.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Subtitles

2006-06-13 Thread Steve Litt
Hi all,

If you notice, most modern books have two lines to their title, as in:

===
Guide to LaTeX
Tools and Techniques for Computer Typesetting
===

or

===
The Cathedral & the Bazaar
Musings on Linux and Open Source by an Accidental Revolutionary
===

Typically, the subtitle is longer than the title and therefore is printed in a 
smaller font. What I'd like to do is have them both on the title page.

I spoze I could put them both in the Title environment and fine tune the 
dickens out of the thing to make it look the way I want, but this is a common 
enough thing that I bet somebody's made something to do this (hopefully a 
Subtitle environemnt or something like that).

I'm using my own derivative of the Book environment for this project.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm