On 2003-05-28, 06:16 GMT, Andre Poenitz wrote:
>> Likewise I don't want a default 10 point typeface with 1.5
>> inch margins on each side, I want a title that's left-justified rather
>> than centered, and so on through many choices.
> 
> The point is: You can do that, but it hurts a bit. So if you really want it
> and know what you do you can do it. But you don't do it accidentally.

If using standard article, then you can redefine [EMAIL PROTECTED] It is 
actually not so difficult. This is the original definition of 
[EMAIL PROTECTED] (taken directly from article.cls):

   [EMAIL PROTECTED]
     \newpage
     \null
     \vskip 2em%
     \begin{center}%
     \let \footnote \thanks
       {\LARGE [EMAIL PROTECTED] \par}%
       \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}

Copy this whole piece of code into your Layout/Document/Preamble and 
View/DVI again (just to check, that everything is OK). Then you can play 
with it a little bit. For example, I really prefer boldfaced title so 
I change [EMAIL PROTECTED] in this way:

   [EMAIL PROTECTED]
     \newpage
     \null
     \vskip 2em%
     \begin{center}%
     \let \footnote \thanks
       {\LARGE \bfseries [EMAIL PROTECTED] \par}% %\bfseries added here
       \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}

In other cases I do not want to have date in a title of my package.
There are some tricks for doing that easy way (either add empty \date{}
into Layout/Document/Preamble or just put hardspace into Date style --
which both leads to the same) documented in LyX documentation. However,
both of them have a disadvantage that they leave too obviously huge
space after title. It is better to delete part which typesets date in
title.
   
   [EMAIL PROTECTED]
     \newpage
     \null
     \vskip 2em%
     \begin{center}%
     \let \footnote \thanks
       {\LARGE [EMAIL PROTECTED] \par}%
       \vskip 1.5em%
       {\large
         \lineskip .5em%
         \begin{tabular}[t]{c}%
           [EMAIL PROTECTED]
         \end{tabular}}%%\par}%
   %%    \vskip 1em%      % Commented out for better understanding
   %%    {\large [EMAIL PROTECTED] % You can of course just deleted this
                         % part of code altogether.
     \end{center}%
     \par 
     \vskip 1.5em}

And of course, you can resolve your problem with left aligned title in 
this way as well. If you take a look into the original definition of 
[EMAIL PROTECTED] above, whole [EMAIL PROTECTED] and [EMAIL PROTECTED] typesetting 
(which 
obviously contains what you want title and author be) is in center 
environment. Therefore just removing \begin{center} and \end{center} 
would do what you want. What will including something like this make 
with your document?

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

The last advice: if you need to understand LaTeX commands take a look at  
lshort.dvi in your TeX distribution and run 'info latex' (or LaTeX2e 
help file if you are on Windows) for reference to individual commands of  
LaTeX. For example be sure before your own fiddling with [EMAIL PROTECTED] to 
understand difference between command and declaration, i.e. between 
\bfseries and \textbf. You should be also aware of subtle differences 
between effects of some similar environments and declarations, 
e.g., \begin{center}\end{center} creates new paragraph (as every 
environment does), whereas \centering does not (so you have to \par in 
the end of paragraph).

   Enjoy,

      Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

Reply via email to