Re: Suppressing Page Number After Title Page

2006-02-03 Thread Sara Stymne

Hi!

Try the solution in the documentation for fancyhdr, chapter "those blank 
pages". Then you also get rid of the headings on the blank page before 
some chapters. The documentation is available for instance at: 
http://www.win.tue.nl/latex/documentation/fancyhdr.pdf.


I found that neither \pagestyle{plain} nor \thispagestyle{empty} works 
for the following blank page.


/Sara


Jose' Matos wrote:


On Friday 03 February 2006 16:42, Rich Shepard wrote:
 


  I should know how to do this, or find the correct macro in TLC2, but the
answer has so far eluded me.

  Document is book class with fancy headers. Following the title page is a
blank page with the page number '2' that I'd like to suppress. I've tried

\frontmatter
\pagestyle{plain}

between the author and the Preface page. I've also tried {empty} with the
same lack of results. \clearpage and \cleardoublepage also do not affect
the headers and footers.

  Looking at TLC2 I don't see how to turn off the header and footer for
this one page. A reminder would be greatly appreciated.
   



In ERT in the title page:

\thispagestyle{empty}

I am kidding not. ;-)

 


Thanks,

Rich
   



 





Re: Screen Captures in Documents

2006-02-04 Thread Sara Stymne

Hi!

I have no solution, but a related problem...

In LyX I canot use insert->graphics from the menu. I think this is 
because LyX uses the graphics package and that it somehow conflicts with 
the gb4e package that I also use. When I remove gb4e graphic-insertion 
seems to work, but not the gb4e-stuff of course. I found a workaround to 
this, using graphicxs and include pictures with ERT. It works, but LyX 
does not seem to be capable to convert png to eps, when not using 
pdflatex, which I believe it does when inserting throw the menu.  And I 
prefer not to use pdflatex, because it seems to make the quality of my 
xypic-figures quite bad.


So then I have to manually convert png to eps for my screenshot. I tried 
to convert both with the Gimp and with the imagemagick convert tool, but 
both ways the quality of the eps-images are quite bad.


So, any ideas? Either how to produce nice xypic with pdflatex, or nice 
eps screenshots from png..


/Sara




Rich Shepard wrote:

  A document requires screen shots as illustrations. I've used The 
GIMP to
capture the window, scaled the result to 100 pixels/inch resolution, 
and a

size of 4 inches wide. Then it's saved as a .png file. The document will
almost certainly be printed by readers on a laser or color inkjet 
printer.


  I'm seeking comments on whether there is a better way to represent 
these
images. That is, should the resolution be higher? Is a different file 
format

a better choice? They are raster images to begin with, so conversion to a
vector format such as .eps will almost certainly result in resolution 
loss.


  Your experience counts! What have you to suggest?

Rich





Re: Screen Captures in Documents

2006-02-04 Thread Sara Stymne

Stephen Harris wrote:



- Original Message - From: "Sara Stymne" <[EMAIL PROTECTED]>
Cc: 
Sent: Saturday, February 04, 2006 1:50 PM
Subject: Re: Screen Captures in Documents



Hi!

I have no solution, but a related problem...

In LyX I canot use insert->graphics from the menu. I think this is 
because LyX uses the graphics package and that it somehow conflicts 
with the gb4e package that I also use. When I remove gb4e 
graphic-insertion seems to work, but not the gb4e-stuff of course. I 
found a workaround to this, using graphicxs and include pictures with 
ERT. It works, but LyX does not seem to be capable to convert png to 
eps, when not using pdflatex, which I believe it does when inserting 
throw the menu.  And I prefer not to use pdflatex, because it seems 
to make the quality of my xypic-figures quite bad.


So then I have to manually convert png to eps for my screenshot. I 
tried to convert both with the Gimp and with the imagemagick convert 
tool, but both ways the quality of the eps-images are quite bad.


So, any ideas? Either how to produce nice xypic with pdflatex, or 
nice eps screenshots from png..


/Sara



Perhaps you are experienced with xypic, but if not, here is a 10 page
tutorial: http://www.mathematik.uni-marburg.de/~gumm/LyX/xypic/xypic.pdf

When I converted xypic.lyx with pdflatex I got the same image as above^.
This looks clear to me, but perhaps I don't have high standards. :-)
I attach xypic.lyx for comparison purposes, and a perhaps relevant 
portion:


\begin_inset Graphics
filename xyfigure.PNG
scale 62
clip

\end_inset

SH: I also converted xypic.tex to html with htlatex which generates 
png images

http://www.mathematik.uni-marburg.de/%7Egumm/LyX/Using_XYpic_in_LyX.htm

I think the pngs look ok but parts of the conversion require editing.
The LyX developers removed support for XYpic from LyX1.4.0
I was thinking Prof. Gumm might be more attuned to this problem area.

Regards,
Stephen 



I wasn't actually using xypic, but xyling which is a linguistic tree 
package built on xypic, and thus I could not use it in LyX directly, so 
I constructed the pictures in ERT. Should probably have mentioned that 
in the first mail, but I didn't think about it...


The pictures looks mostly fine, but the diagonal lines are not straight, 
neither when viewed with a pdf-viewer, or printed. They are actually not 
straight when not using pdflatex either, but they are much better.


On another topic, I think that LyX is great, and I started using it so 
that I would not have to learn too much latex, which I did not know at 
that stage. But in the end I found it easier to do it the latex way than 
the LyX way in very many cases.


/Sara


Re: bibtex natbib square brackets and Lyx

2006-02-09 Thread Sara Stymne
Hi!

On way to solve this is to create your own bibliography style file. This
can very easily be done by running "latex makebst" in a console. Doing
this creates a stylefile by asking a lot of multiple choice questions,
such as what type of brackets you like, in what orders names of authors
should be, how you want your URLs etc.

/Sara



Alexander Gahr wrote:

> Hi I'm currently searching for a bibtechstyle file for my german 
> diploma thesis.
> There's one style file  for my institute but it seems it don't works 
> well with natbib.
> So it doesn't show up url and web pages
>
> Also i want to use square brackets in cite
>
>
> "geschrieben in (Gahr et. al.[2004])"
>
> Is this possible.
> THANX Alex
>
>



Re: Searching for a cite in the lyx code

2006-02-09 Thread Sara Stymne
Hi!

The only way to do this that I have figured out is to open the lyx
document in a texteditor, and search for the reference there.

I would be happy however if there were some better, more LyX-ish way to
do it!

/Sara



Horacio Emilio Pérez Sánchez wrote:

> Hello all,
>
> How can I search for a bibliographic reference inside the lyx code ?
> If I use the option inside "Edit" menu, it doesn't find references I
> know exist in the document.
>
> Thanks in advance.
>



Re: importing chart from excel ?

2006-02-23 Thread Sara Stymne
Hi!

If the quality of the png-file is good, but not the quality of the the
pdf-file created from lyx, the loss of quality appears when lyx converts
the picture from png to eps. This can be solved by using pdflatex
instead of latex, which directly uses png-images.

/Sara

Luqman H wrote:

>hi,
>
>i have copy-paste chart graph from excel to mspaint,
>and then save it to png, and open it into lyx document
>
>but the result is not as smooth when printing it in excel directly.
>
>is there any way to input the chart into lyx without
>loosing quality...?
>
>thanks
>
>  
>



Caption in longtable?

2006-03-12 Thread Sara Stymne

Hi!

I have trouble with getting a caption for longtables. I cannot use the 
Caption environment, since I cannot place the longtable in a float. And 
there seems to be no way to specify a caption in the longtable dialog. 
So is there a way to solve this in LyX, or do I have to use ERT, like 
for instance:


\begin{longtable}{|l|l|}
\caption{Verb frames for English}\\
\hline
Type&
Example\tabularnewline
\hline
\hline
\endfirsthead
\hline
Regular&
It rains\tabularnewline
\hline
. . .
\end{longtable}

By the way, I'm still using 1.3.6, so if this is solved in 1.4 I would 
be happy to switch LyX-version, just haven't got around to yet...


/Sara


correct page break + numbering after floats

2006-03-26 Thread Sara Stymne

Hi!

I'm trying to do the last few things on my thesis and got a bit stuck...

My last appendix contains a little text and then two big (one-page) 
tables, in a float each. After that I need to insert a "library page", a 
special page that I have in ERT, see below. On the library page their 
should be no header and footer, and it should appear on a left page. 
(The last table is on a right page...)


I have tried to achieve this by making a page break after the floats, 
both from the LyX menue and in ERT with \clearpage and \cleardoublepage. 
And I have tried to remove the headings both by \pagestyle{empty} and 
\thispagestyle{empty}. But I just cannot seem to get it right.


If I place the page break after both floats I get an extra blank page 
between the floats and the library page, and the library page is on a 
right page. If I put the page break before or between the floats the 
pages get right, but then the page with the last table gets the empty 
heading, and the library page gets a normal heading. Or neither of them 
gets any headings if I use pagestyle{empty}.


So I need to get the page break right, and the changed headings to apply 
to the correct page. Any ideas?


/Sara



ERT for the "library page":

\changepage{}{}{}{}{}{-1.5cm}{}{}{} %%from chngpage package
%%% Här ritas blanketten upp:

\enlargethispage{30mm}
\scriptsize
\setlength{\unitlength}{1.23mm}
\begin{picture}(126,212)(6,-5)

\put(0,190){\framebox(92,22)}  % dept, division etc
\put(27,209){\bf Avdelning, Institution}

 %Lots of more puts here...

\end{picture}


Re: correct page break + numbering after floats

2006-03-27 Thread Sara Stymne

john wrote:


n Mon, Mar 27, 2006 at 03:28:57AM +0200, Sara Stymne wrote:
 


If I put the page break before or between the floats the
pages get right, but then the page with the last table gets the empty
heading, and the library page gets a normal heading. Or neither of
them
gets any headings if I use pagestyle{empty}.
   



Have you tried putting the \thispagestyle{empty} at the end of the
"library page"?

 

I have tried that, and putting it in the middle of the page to, but it 
is not working, because I get an extra blank page before the library 
page and empty gets applied to that, and the library page still gets 
headings. I get this blank page regardless of using \clearpage or 
\cleardoublepage. If I use the LyX menue page break between the tables I 
do not get the extra blank page, but then \thispagestyle{empty} is 
applied to the last table page instead of the library page.


/Sara


Re: correct page break + numbering after floats

2006-03-28 Thread Sara Stymne
I solved it! The problem was that the picture on the library page was
bigger than the available textarea of the page. And this, for some
reason I don't know, caused a blank page to be printed before the
picture... Anyway, I made the text area slightly bigger with changepage
from the chngpage package in ERT, and it all worked fine!

/Sara

john wrote:

>On Mon, Mar 27, 2006 at 11:29:27AM +0200, Sara Stymne wrote:
>  
>
>>I have tried that, and putting it in the middle of the page to, but it 
>>is not working, because I get an extra blank page before the library 
>>page and empty gets applied to that, and the library page still gets 
>>headings. I get this blank page regardless of using \clearpage or 
>>\cleardoublepage.
>>
>>
>
>I was not referring to this case.
>
>  
>
>>If I use the LyX menue page break between the tables I 
>>do not get the extra blank page,
>>
>>
>
>This was the case I was referring to.
>
>  
>
>>but then \thispagestyle{empty} is 
>>applied to the last table page instead of the library page.
>>
>>
>
>It seems strange that is would be the case, even if the
>\thispagestyle{empty} was placed at the end of the library page.
>
>Could you mail me a file where this occurs so that I can see what is
>happening? 
>
>  
>
>>/Sara
>>
>>
>
>--
>John C. McCabe-Dansted
>Masters Student
>  
>



Re: Question about Bibtex - which is the best GUI?

2006-03-30 Thread Sara Stymne
Hi!

I've tried both Pybliographer and JabRef and I liked them both quite
well. But then I had some trouble with both of them, they didn't really
let me do everything I wanted, or maybe I didn't have the patience to
learn how to do it. And like several others I had problems with
non-ascii characters.

So in the end I always ended up using emacs, with its really useful
bibtex mode. It works a treat! I can automatically create entries of
different types, and it lets me do everything I want. I can't directly
insert references into LyX though, but I find the LyX dialog for that
fine, so it doesn't bother me at all.

/Sara

Tim Vaughan wrote:

>Hi,
>
>I plan on using Bibtex to handle the citations needed for a series of
>essays I am writing.  I have come across two Java GUIs, JabRef and
>Bib-it and an OS X one, BibDesk.
>I'm happy to try them all out but I was wondering if people had
>experience with these programs or others and which they would
>recommend?
>
>Tim
>
>  
>



Re: Changing appendix headings from "A" to "Appendix A"

2006-03-30 Thread Sara Stymne

Hi!

Since you're using komascript this is easily achieved. Just add the 
komascript option appendixprefix. In LyX you do that in the 
Layout->document dialog, on the layout tab in the text field marked options.


The komascript documentation is really useful for these things by the 
way. It is available from http://www.komascript.de/scrdoc/


/Sara


Peter Bowyer wrote:


Hi,

Apologies for what I imagine is a common question, yet I cannot find 
it in the wiki or mailing list archive.  I've written an article with 
an appendix in LyX 1.3.7 using the koma-script article layout.  I'd 
like to change the appendix headings from just

: My title
to
Appendix : My title

How is this best achieved?  I'm guessing there's a way using 
\renewcommand?


Thanks,
Peter





Re: Changing appendix headings from "A" to "Appendix A"

2006-03-31 Thread Sara Stymne

Peter Bowyer wrote:


At 06:46 31/03/2006, Sara Stymne wrote:

Since you're using komascript this is easily achieved. Just add the 
komascript option appendixprefix. In LyX you do that in the 
Layout->document dialog, on the layout tab in the text field marked 
options.



Thanks, I added that and from the manual I understand what it should 
do: yet I see no result when outputting my document!  The appendix 
header (style 'section') is still shown as "A. My title here".


Any ideas as to what is stopping this from working?

Thanks,
Peter

It seems to only work for the report and book classes, where the 
appendices are chapters... And not for the article class where they are 
sections.


/Sara


Re: indenting help

2006-04-10 Thread Sara Stymne
Hi!

One solution would be to use the LyX-code environment. Then the text
appears exactly as you put it. The text will be in a fixed width font
however, and that might not be what you want...

/Sara

---
> I know I asked a question like this before and I know it's a touchy
> subject because people go Oh lyx isn't a word processor etc but I keep
> running into this problem, and I know there must be some kind of
> solution because it's relatively simple. I want to format something
> like this:
> 
> S = blah blah blah
>   1. blah blah blah
>   1. more stuff
>   2. yet more stuff
>2. ending up
>3. the end!
> 
> I don't necessarily want to put it within the enumerate environment
> because I need control over what I'm doing (when I tried that the line
> with S got enumerated anyway). I tried putting it in the description
> environment but that only seems to let me indent one time and that's
> it. Is there a way to indent stuff like this without using ERT? If
> not, why isn't there? I'm also doing this in the description
> environment which seems to be really picky, and I'm not sure if I'm
> using it correctly. I heard something about putting in forced white
> spaces but there should be another way to do it. If someone could
> upload a test file that would be great.
> 
> 


Re: How do I remove trailing dot after table/figure number in komascript added when appendix is added?

2006-04-12 Thread Sara Stymne
Hi!

Adding 'pointlessnumbers' as a package option should remove the unwanted
dots. This is done through the layout->document menu in LyX 1.3.*.

/Sara


john wrote:

>Hi, I've been using the Book (koma-script) layout. To begin with it
>output Table and Figure headers with a colon after the table number,  e.g.
>
>"Table 3.4: Title of Table"
>
>This is fine. However, now that I have added an appendix, it outputs
>tables with a trailing dot after the table number but before the colon.
>For example
>
>"Table 3.4.: Title of Table".
>
>It seems rather untidy to have a "." and a ":" right next to each other.
>Is there any way I can get rid of the trailing dot without removing
>the appendix?
>
>  
>



Re: Eszett

2006-04-19 Thread Sara Stymne

Bruce Pourciau wrote:

How do I get the German letter ß (eszett) to appear? When I type \ss 
in ERT by itself, I get it, but typing the same thing in the middle of 
a German word gives me an error message like this: Undefined control 
sequence.

 ...en Fassungen gewandelt hat. Anschlie\ssend

What am I doing wrong?

Bruce

Try Anschlie\ss{}end. You have to tell latex where the command ends by 
using {}.


/Sara


Re: Centering a floating image

2006-04-27 Thread Sara Stymne

Hi

One way is to enter \centering in ERT in the figure float.

/Sara


André Bonhôte wrote:


Hi!

I'd like to scale down an image to 60% of the linewidth. That works  
fine, but now it's aligned to the left margin. Is there a way to  
center it on the page (horizontally)?


I am using 1.3.7 on Mac OS X 10.4.6.

TIA

André Bonhôte

Systems Engineer
COLT
Mürtschenstrasse 27
CH-8048 Zürich/Switzerland
Tel:   +41 (0)44 560 06 00  Internal: 8411 0501
Fax:  +41 (0)44 563 05 01
[EMAIL PROTECTED]
www.colt.net
Data | Voice | Managed Services







Re: spacing between sections

2006-04-28 Thread Sara Stymne
Hi!

Check out the titlesec package (can be found at:
http://www.math.utah.edu/tex-archive/macros/latex/contrib/titlesec/ ),
especially \titlespacing*. I think that does what you're looking for.

/Sara


Stacia Hartleben wrote:

>I'm currently working on a paper where the teacher is VERY strict
>about format. He didn't like that there was a linebreak between
>sections and subsections..for example
>
>blah blah blah
>
>Subsection
>Blah blah blah
>
>should be like
>
>blah blah blah
>Subsection
>Blah blah blah
>
>Any way to fix this? Help me before I do a copy in word :(
>
>  
>



Re: page margins

2006-05-14 Thread Sara Stymne

Hi!

I use the chngpage package. It find it very easy to use!

/Sara


Pol wrote:


Any hints to change margins or text length of a special page,
overrinding the document global setting?

thank you

--pol

 





Re: Page numbering

2006-05-14 Thread Sara Stymne

Hi!

If you use the book class (or one of its versions) you can use the 
commands frontmatter and mainmatter. Put \frontmatter in ERT at the 
beginning of the document and you will get roman numbering there, then 
put \mainmatter in ERT where the first chapter starts and you will get 
arabic numerals starting on page one.


/Sara


Theo wrote:


Hi everybody,

i don't want to start the page numbering with the very first page couse i have
like index and TOC and all that stuff. i think they should have page numbers
like this: I, II, III and then lets say page 10 actually starting with page
number 1.

what would be the easiest way to accomplish this?

thanks a lot,
theo





 





Re: Centering a float figure

2006-05-17 Thread Sara Stymne

Hi!

There is probably a better way, but one way that works is to enter 
\centering in ERT in the figure float.


/Sara

Patton, Eric wrote:


I have a figure float in my paragraph that looks pretty good; the caption is
centered in the page, but the image itself is left-justified, seemingly by
default. None of the right-click context menu options seems to allow the
justification of the image itself, only the float position on the page.

Is it possible to center the image in the page, above the caption?


~~~

Eric Patton

 





mixing portrait and landscape in one document

2006-05-18 Thread Sara Stymne

Hi!

I'm writing an article where I would like the appendix in landscape 
orientation, and the rest in portrait. I don't want a table, which I 
know how to rotate, but plain text. Does anyone know how to achieve this?


/Sara


Re: mixing portrait and landscape in one document

2006-05-18 Thread Sara Stymne
That's what i would need, but I can't get it to work. I get loads of 
errors when I try. I attach a non-working sample file. I tried it both 
with LyX 1.3.6 on Linux (Ubuntu) and LyX 1.4.1 on Solaris.


/Sara


Eric Zollars wrote:


Page 4 of http://www.perce.de/LaTeX/rotating.pdf
may be what you need.

Eric

Sara Stymne wrote:


Hi!

I'm writing an article where I would like the appendix in landscape 
orientation, and the rest in portrait. I don't want a table, which I 
know how to rotate, but plain text. Does anyone know how to achieve 
this?


/Sara




#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrartcl
\begin_preamble
\usepackage{gb4e}
\usepackage{sara}
\usepackage{lscape}
\end_preamble
\language swedish
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 1
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language swedish
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle plain
\bullet 1
0
24
-1
\end_bullet
\bullet 2
0
9
-1
\end_bullet
\bullet 3
0
0
-1
\end_bullet

\layout Title

Sample document...
\layout Section

Inledning
\layout Standard

Some text .
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{landscape}
\end_inset 


\layout Standard

some more text in landscape
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
end{landscape}
\end_inset 


\the_end


Re: mixing portrait and landscape in one document - solved!

2006-05-18 Thread Sara Stymne

Hi again!

That actually helped me solve the problem! Thanks!

The gb4e package apparently escapes some special characters, so it 
should always be included last of the used packages. So switching the 
orders of the inclusions so that gb4e is included after lscape in the 
preamble solved the problem! (the sara package is just some homemade 
latex macros, I should have removed it from the sample file, but it 
slipped my mind...)


/Sara



Stephen Harris wrote:


Sara Stymne wrote:

That's what i would need, but I can't get it to work. I get loads of 
errors when I try. I attach a non-working sample file. I tried it 
both with LyX 1.3.6 on Linux (Ubuntu) and LyX 1.4.1 on Solaris.


/Sara




I tried it on Windows and it said file sara.sty not found.
And another error message said something about non-stop modes.





#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrartcl
\begin_preamble
\usepackage{gb4e}
\usepackage{sara}






Re: Show entry type in References

2006-05-18 Thread Sara Stymne

Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego





references with no author

2006-05-21 Thread Sara Stymne

Hi!

I need to have some references with no author. One is a booklet without 
an author, and the other a webpage. I've added it in the bibtex file. 
But running bibtex on the commandline gives errors because I have 
neither author nor key in these entries. Adding a key makes the 
citations refer to the key, and gives the key as the author in the 
bibliography.


What I would like is that the citation should be referred to by the 
first word in the title in the in-text citations (now I get the first 
three letters..) And in the bibliography I would like it sorted on 
title. Now all authorless entries appear first in the bibliography.


Does anyone know how to get this?

/Sara


Re: Chapter base Page numbering to TOC

2006-06-02 Thread Sara Stymne
You can get the word "Chapter" in komascript. Just add the class option
"chapterprefix". You add it in the documents settings: class settings,
options.

/Sara

>
>
> btw, i have report Document, and the abstract page don't have
> the page number... i force with \setcounter{page}{2}
> but it always show as page number 1 at TOC
> except in Report(koma script) Document,  but i don't use it
> cause the word "Chapter" doesn't show up on the chapter page.
>
>
> thanks..




Re: book class questions

2006-06-04 Thread Sara Stymne


Eric Zollars skrev:
I am using the Book class and using roman numbering until the first 
page of chapter 1.  I have two unnumbered chapters* before the Table 
of Contents.
1. How do I include these unnumbered chapters and the table of 
contents itself in the table of contents? 



Hi!

One solution is to use the komascript bookclass, and use addchap instead 
of chapter*


/Sara




Re: Hacking bst files... [Was: Show entry type in References]

2006-06-07 Thread Sara Stymne

Ares skrev:
As I wrote in a previous post, I would like the references of my PhD 
thesis

to be arranged as follows:


References

Articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...


LyX 1.4.1 supports "sectioned bibliography", so it is possible to 
split the

Bibliography chapter in sections.

In order to have the citation as [Art1] and [Book1] etc, I need to hack a
bst file, as suggested by Jürgen. I had a look to plain.bst and it 
doesn't

sound so easy!

In the end I would just like to add a prefix (Book, Art etc) to the
reference numbering and to use a separate bst file for each entry (Books,
Articles etc), so that the numbering starts with each "section".

Is there a resource where I can find how bst files work? or is there 
someone

who can help me?

Thanks for support,
Diego


Hi!

I think that a much easier way to get a bst file than to start hack it 
is to use the makebst utility. (run latex makebst) Then you get a series 
of multiple choice question on how you want to format oyur 
bibliographical entries. Then two files are created, a dbj file and a 
bst file. The bst file is the bibliography file created. The dbj file is 
a batch file that is run through latex to create the bst file.


If you later want to tweak the style file, this can easily be done by 
changing the dbj file, which is quite easy. Just comment out the option 
you want to change using a "#", and uncomment the line with the option 
you prefer instead. The you just run the dbj file thorugh latex to 
update the bst file!


You might not be able to do everything this way, but at least it is easy 
and it helped me a lot!


/Sara



Re: lost border with v-space insite table

2006-06-13 Thread Sara Stymne
christiaan pauw wrote:

> Hi all
>
> In lyx 1.4.1. (win) the side border gets lost if one inserts vspace in
> a table.  I attach an example.
>
> Regards
> Christiaan
>
One way to solve this would be to use a "strut" instead of vspace. A
strut is a rectangular box of zero width, and thus invisible, which can
be used to change the spacing of a line.

To get a strut you need some ERT (AFAIK, if there is a Lyx-way to do it
I'd be happy to know!), put it in the table cell where you want more
vertical space. The command is:

\rule[raise-height]{width}{height}

Where width should be set to 0, raise-height could be left out, but
should be set to a negative value if you want space below the line, and
height is the height of the strut, i.e. how much vertical space you will
get, for instance:
\rule{0pt}{14pt} - gives 14 points of vertical space from the
baseline and up
\rule[-5pt]{0pt}{20pt} gives 5 points space below the baseline and
15 points above it.

/Sara




Re: How does one change the margins on one page only?

2007-03-07 Thread Sara Stymne
Hi!

The latex package "chngpage" might be useful.

/Sara

Steve Litt wrote:

>Hi all,
>
>How does one change the margins on one page only? I need the first page (I'm 
>not using a title page -- I'm ERT'ing it) to be an image that goes paper edge 
>to paper edge.
>
>Thanks
>
>SteveT
>
>Steve Litt
>Author: Universal Troubleshooting Process books and courseware
>http://www.troubleshooters.com/
>  
>