Thanks Paul for the info unfortunately I cannot seem to find how to get it to 
do the hanging indent. I have created the two files inserted them into 
/usr/share/lyx/layouts as suggested, it is here because I want it available 
system wide. Also I need it inside the bibliography environment as this is 
what I use to create a reference list as I insert citatons throughout essay.


On Sun, 8 Jun 2003 9:02:am, you wrote:
> Herbert did this for me a while ago.
>
> Let's see.  There are 2 files "pjSlides.inc" which has the HangIndent
> info, then "stdclass.inc" includes a reference to that.  I think that's
> all it needs.
>
> In ~/.lyx/layouts/pjSlides.inc I have this:
>
>
> Style HangIndent
>   Margin                First_Dynamic
>   LatexType             Command
>   LatexName             myHangIndent
>   NextNoIndent          1
> #  LabelType            Manual
>   LeftMargin            MMN
>   ParSkip               0.4
>   TopSep                1.5
>   BottomSep             0.7
>   ParSep                0.3
>   Align                 Block
>   AlignPossible         Block, Left
>   Font
>     Shape               Normal
>     Color               blue
>   EndFont
> Preamble
>  \newenvironment{HangIndent}
>   {\list{}{%
>     \setlength\leftmargin{1.5cm}%  leftmargin
>     \itemindent-\leftmargin}\item{}}
>   {\endlist}
>  \newcommand{\myHangIndent}[1]{%
>      \begin{HangIndent} #1%
>      \end{HangIndent}%
>      }
> EndPreamble
> End
>
>
>
> And then in a separate file in same directry, i have a file
> "stdclass.inc"
> and you see at the bottom it includes file with the hang indent.  The
> text appears in blue in the lyx document.
>
>
> # Standard textclass definition file. Taken from initial LyX source code
> # Author : Matthias Ettrich <[EMAIL PROTECTED]>
> # Transposed by Pascal Andr� <[EMAIL PROTECTED]>
> # Heavily modifed and enhanced by several developers.
>
> # This is a base layout which is designed to be included from other
> # ``standard'' layouts, like article and friends.
>
> # General textclass parameters
> Columns                 1
> Sides                   1
> SecNumDepth             2
> TocDepth                2
>
> # This is just to show how to declare the default font.
> # The defaults are exactly those shown here.
> DefaultFont
>   Family                Roman
>   Series                Medium
>   Shape                 Up
>   Size                  Normal
>   Color                 None
> EndFont
>
> # Standard style definition
> Style Standard
>   Margin                Static
>   LatexType             Paragraph
>   LatexName             dummy
>   ParIndent             MM
>   ParSkip               0.4
>   Align                 Block
>   AlignPossible         Block, Left, Right, Center
>   LabelType             No_Label
> End
>
> Input stdlists.inc
> Input stdsections.inc
> Input stdstarsections.inc
> Input stdtitle.inc
> Input stdstruct.inc
> Input lyxmacros.inc
> Input stdlayouts.inc
> Input obsolete.inc
> Input pjStyles.inc
> ~
>
> Rob Davies wrote:
> > Hi
> >
> > I am new to LyX, LaTeX or TeX, but I have been using LyX of and on as
> > it produces extremely good output and takes no effort to create
> > written articles in Linux. Since I am on a Linux all environment
> > bender; I am attempting to create specific LyX or LaTeX templates for
> > essays reports etc. I need to produce documents utilising Harvard
> > referencing. I already have modified a LyX document which is using a
> > Bibliography environment to create referencing. What I need is to
> > create an indented second line and beyond for each reference, i.e.
> > hanging indent inside of this environment, can not find any answers
> > through google search's so any assistance much appreciated.
> > Thanks

Thanks 
Rob Davies
[EMAIL PROTECTED]
'To converse is one scenario that separates us, from the Apes'.

Reply via email to