Re: Hello and 3 questions

2004-08-10 Thread Renato Gomes Damas
Hi every body,

Mr. Omma did some questions and thought the one dobt remains..
How can I put all bibliography together at the end when I have a master file with 
several include file ?
That is my dobt too.

Some body know to do it please share with us.

best regards,

Renato Damas.

On Thursday 05 August 2004 14:01, Henrik Nilsen Omma wrote:
 Hello everyone,
 
 I've been using LyX for a few months, but this is my first posting to 
 the list. I'm writing a Ph.D. thesis in physics of about 150 pages in 
 7-8 chapters plus appendices, etc. There are obviously lots of 
 equations, images, and figures. I've made 1 file for each chapter to 
 keep it manageable and a master file with include statements. I only 
 want one bibliography at the end. I also use BibTex and NatBib. And now 
 I have some questions :)  (I apologise if these have been asked here before)
 
 1. How can I do appendix style numbering?
 I'd like to number the appendix pages as A-1, A-2, B-1, B-2, etc.  (I've 
 worked out that I can use ERT: \setcounter{page}{1} and found a 
 description opf how to do roman numerals for the TOC, but how do you 
 prefix the number with an 'A-'?)
 
 2. How to make line spacing different for different sections?
 The thesis needs to be double spaced, but that looks really silly in the 
 table of contents and bibliography. How do I specify single spacing for 
 those sections?
 
 3. Language problems:
 When I paste a block from one document to another, I sometimes get blue 
 underline, which I've read signifies a foreign language. I can turn off 
 the notification in the Preferences, but I still get the error message:
 'Package babel Error: You haven't loaded the option english yet.
  [EMAIL PROTECTED]' I have selected English in Document settings 
 and preferences.
 Ideas?
  
  Any help is appreciated.
  
  Thanks,
  
 Henrik
 


Re: Hello and 3 questions

2004-08-10 Thread Renato Gomes Damas
Hi every body,

Mr. Omma did some questions and thought the one dobt remains..
How can I put all bibliography together at the end when I have a master file with 
several include file ?
That is my dobt too.

Some body know to do it please share with us.

best regards,

Renato Damas.

On Thursday 05 August 2004 14:01, Henrik Nilsen Omma wrote:
 Hello everyone,
 
 I've been using LyX for a few months, but this is my first posting to 
 the list. I'm writing a Ph.D. thesis in physics of about 150 pages in 
 7-8 chapters plus appendices, etc. There are obviously lots of 
 equations, images, and figures. I've made 1 file for each chapter to 
 keep it manageable and a master file with include statements. I only 
 want one bibliography at the end. I also use BibTex and NatBib. And now 
 I have some questions :)  (I apologise if these have been asked here before)
 
 1. How can I do appendix style numbering?
 I'd like to number the appendix pages as A-1, A-2, B-1, B-2, etc.  (I've 
 worked out that I can use ERT: \setcounter{page}{1} and found a 
 description opf how to do roman numerals for the TOC, but how do you 
 prefix the number with an 'A-'?)
 
 2. How to make line spacing different for different sections?
 The thesis needs to be double spaced, but that looks really silly in the 
 table of contents and bibliography. How do I specify single spacing for 
 those sections?
 
 3. Language problems:
 When I paste a block from one document to another, I sometimes get blue 
 underline, which I've read signifies a foreign language. I can turn off 
 the notification in the Preferences, but I still get the error message:
 'Package babel Error: You haven't loaded the option english yet.
  [EMAIL PROTECTED]' I have selected English in Document settings 
 and preferences.
 Ideas?
  
  Any help is appreciated.
  
  Thanks,
  
 Henrik
 


Re: Hello and 3 questions

2004-08-10 Thread Renato Gomes Damas
Hi every body,

Mr. Omma did some questions and thought the one dobt remains..
How can I put all bibliography together at the end when I have a master file with 
several include file ?
That is my dobt too.

Some body know to do it please share with us.

best regards,

Renato Damas.

On Thursday 05 August 2004 14:01, Henrik Nilsen Omma wrote:
 Hello everyone,
 
 I've been using LyX for a few months, but this is my first posting to 
 the list. I'm writing a Ph.D. thesis in physics of about 150 pages in 
 7-8 chapters plus appendices, etc. There are obviously lots of 
 equations, images, and figures. I've made 1 file for each chapter to 
 keep it manageable and a master file with include statements. I only 
 want one bibliography at the end. I also use BibTex and NatBib. And now 
 I have some questions :)  (I apologise if these have been asked here before)
 
 1. How can I do appendix style numbering?
 I'd like to number the appendix pages as A-1, A-2, B-1, B-2, etc.  (I've 
 worked out that I can use ERT: \setcounter{page}{1} and found a 
 description opf how to do roman numerals for the TOC, but how do you 
 prefix the number with an 'A-'?)
 
 2. How to make line spacing different for different sections?
 The thesis needs to be double spaced, but that looks really silly in the 
 table of contents and bibliography. How do I specify single spacing for 
 those sections?
 
 3. Language problems:
 When I paste a block from one document to another, I sometimes get blue 
 underline, which I've read signifies a foreign language. I can turn off 
 the notification in the Preferences, but I still get the error message:
 'Package babel Error: You haven't loaded the option english yet.
  [EMAIL PROTECTED]' I have selected English in Document settings 
 and preferences.
 Ideas?
  
  Any help is appreciated.
  
  Thanks,
  
 Henrik
 


Re: Hello and 3 questions

2004-08-06 Thread Georg Baum
Henrik Nilsen Omma wrote:

 2. How to make line spacing different for different sections?
 The thesis needs to be double spaced, but that looks really silly in the
 table of contents and bibliography. How do I specify single spacing for
 those sections?

See attached.

 3. Language problems:
 When I paste a block from one document to another, I sometimes get blue
 underline, which I've read signifies a foreign language. I can turn off
 the notification in the Preferences, but I still get the error message:
 'Package babel Error: You haven't loaded the option english yet.
  [EMAIL PROTECTED]' I have selected English in Document settings
 and preferences.
 Ideas?

This should not happen, because lyx should select the correct babel options.
Can you send a minimal example file showing this behaviour?
If the pasted text is not really in a foreign language, mark it and then
reset the language in Format-Character.


Georg


doublespacing.lyx
Description: application/lyx


Re: Hello and 3 questions

2004-08-06 Thread Herbert Voss
Henrik Nilsen Omma wrote:
1. How can I do appendix style numbering?
I'd like to number the appendix pages as A-1, A-2, B-1, B-2, etc.  (I've 
worked out that I can use ERT: \setcounter{page}{1} and found a 
description opf how to do roman numerals for the TOC, but how do you 
prefix the number with an 'A-'?)
write into the preamble
\renewcommand\appendix{\par
  \setcounter{chapter}{0}%
  \setcounter{section}{0}%
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]@chapter}%
  \gdef\thesection{\thechapter-\arabic{section}}%
}
Herbert



Re: Hello and 3 questions

2004-08-06 Thread Henrik Nilsen Omma
Georg Baum wrote:
See attached.
 

Thanks :)

This should not happen, because lyx should select the correct babel 
options.
Can you send a minimal example file showing this behaviour?
If the pasted text is not really in a foreign language, mark it and then
reset the language in Format-Character.
Ah, thanks. Resetting the language works.  I'm attaching two files 
anyway in case someone wants to debug the problem further. Try pasting 
something from chapter 5 to chapter 6 and try a DVI view to see the 
problem. (using LyX 1.3.3-win32)

(Herbert: thanks for the appendix numbering code)
- Henrik
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass mythesis
\begin_preamble

% REF MACROS 

\def\apj{ApJ}
\def\mnras{MNRAS}
\def\apjl{ApJL}
\def\aap{A\A}




 LAYOUT %%
\raggedbottom
\end_preamble
\language british
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 12
\spacing other 1.50 
\papersize a4paper
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\use_natbib 1
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 1.25in
\topmargin 1.6in
\rightmargin 0.8in
\bottommargin 1in
\headsep 0.6in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle uheadings

\layout Chapter

Results, part I
\layout Standard

This chapter is a first look at the experimental results starting with a
 description of the raw data generated by the simulations and the data reduction
 and analysis routines used to extract useful scientific information.
 We also examine the first stage of the simulation, the cooling phase during
 the first 300 Myrs, which is identical for all simulations.
\layout Section

The raw data
\layout Standard


\noun on 
Enzo
\noun default 
 stores the main grid data in industry standard NCSA Hierarchical Data Format
 (HDF)
\begin_inset Foot
collapsed true

\layout Standard

See 
\family typewriter 
http://hdf.ncsa.uiuc.edu
\family default 
 for details.
\end_inset 

.
 These files contain the 11? variables listed in table X, and some meta
 data, such as variable names.
 The HDF format is valuable because the date can be read directly by standard
 visualisation programs like HDFLook and IDL
\begin_inset Foot
collapsed true

\layout Standard

See: 
\family typewriter 
http://daac.gsfc.nasa.gov/MODIS/HDFLook/
\family default 
 and 
\family typewriter 
http://www.rsinc.com/idl/
\family default 
.
\end_inset 

.
 The raw data can therefore be studied directly as the simulation progresses
 to ensure that it develops as expected.
 However, each grid in the grid structure is stored in a separate HDF file,
 and with several thousand such grids it is impractrical to analyse this
 data directly.
 Viewing any one grid file only gives a low resolution view of the domain
 or a high resolution view of a very small region.
 To be scientifically useful, the data is reduced in a number of ways.
 Enzo includes as standard data reduction routines for producing 3-dimensional
 extractions, 2-dimensional projections, and 1-dimensional vectors averaged
 over radial shells.
 A fourth reduction tool was developed during this project to extract an
 arbitrary set of point samples from the domain.
\the_end
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass mythesis2
\begin_preamble

% REF MACROS 

\def\apj{ApJ}
\def\mnras{MNRAS}
\def\apjl{ApJL}


\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing onehalf 
\papersize a4paper
\paperpackage widemarginsa4
\use_geometry 0
\use_amsmath 0
\use_natbib 1
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Chapter

Discussion
\layout Section

Previous simulations
\layout Standard

Churazov etal.
 
\begin_inset LatexCommand \cite{Churazov_etal_2001}

\end_inset 

 performed the first significant numerical bubble experiment in 2000.
 The setup was modeled on the M87 galaxy and its surroundings, based on
 ROSAT data by Nulsen and Böhringer 
\begin_inset LatexCommand \cite{NulsenBohringer_1995}

\end_inset 

, with typical densities of 0.02 
\begin_inset Formula $\textrm{cm}^{-3}$
\end_inset 

 and temperatures of 2 keV.
 The simulations were 2-dimensional with medium resolution at 
\begin_inset Formula $200^{2}$
\end_inset 

 cells, and rotational symetry was chosen about an axis parallel with the
 gravitational force.
 The computational domain was limited, reaching out 51kpc from the cluster
 core.
 A 2-dimensional gravitational potential and temperature profile were selected,
 and a corresponding density gradient was constructed in hydrostatic 

Re: Hello and 3 questions

2004-08-06 Thread Georg Baum
Henrik Nilsen Omma wrote:

 Ah, thanks. Resetting the language works.  I'm attaching two files
 anyway in case someone wants to debug the problem further. Try pasting
 something from chapter 5 to chapter 6 and try a DVI view to see the
 problem. (using LyX 1.3.3-win32)

Chapter 5 uses the document class mythesis, chapter 6 uses mythesis2. I
don't have either of them, so I changed the class to article, and
everything went fine (lyx 1.3.5cvs on linux). I get the blue underlines,
because the language is different, but the latex output works.
I guess it has something to do with the .layout files of your thesis
classes. BTW, you should use the same class for all parts of the doument.


Georg




Re: Hello and 3 questions

2004-08-06 Thread Georg Baum
Henrik Nilsen Omma wrote:

 2. How to make line spacing different for different sections?
 The thesis needs to be double spaced, but that looks really silly in the
 table of contents and bibliography. How do I specify single spacing for
 those sections?

See attached.

 3. Language problems:
 When I paste a block from one document to another, I sometimes get blue
 underline, which I've read signifies a foreign language. I can turn off
 the notification in the Preferences, but I still get the error message:
 'Package babel Error: You haven't loaded the option english yet.
  [EMAIL PROTECTED]' I have selected English in Document settings
 and preferences.
 Ideas?

This should not happen, because lyx should select the correct babel options.
Can you send a minimal example file showing this behaviour?
If the pasted text is not really in a foreign language, mark it and then
reset the language in Format-Character.


Georg


doublespacing.lyx
Description: application/lyx


Re: Hello and 3 questions

2004-08-06 Thread Herbert Voss
Henrik Nilsen Omma wrote:
1. How can I do appendix style numbering?
I'd like to number the appendix pages as A-1, A-2, B-1, B-2, etc.  (I've 
worked out that I can use ERT: \setcounter{page}{1} and found a 
description opf how to do roman numerals for the TOC, but how do you 
prefix the number with an 'A-'?)
write into the preamble
\renewcommand\appendix{\par
  \setcounter{chapter}{0}%
  \setcounter{section}{0}%
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]@chapter}%
  \gdef\thesection{\thechapter-\arabic{section}}%
}
Herbert



Re: Hello and 3 questions

2004-08-06 Thread Henrik Nilsen Omma
Georg Baum wrote:
See attached.
 

Thanks :)

This should not happen, because lyx should select the correct babel 
options.
Can you send a minimal example file showing this behaviour?
If the pasted text is not really in a foreign language, mark it and then
reset the language in Format-Character.
Ah, thanks. Resetting the language works.  I'm attaching two files 
anyway in case someone wants to debug the problem further. Try pasting 
something from chapter 5 to chapter 6 and try a DVI view to see the 
problem. (using LyX 1.3.3-win32)

(Herbert: thanks for the appendix numbering code)
- Henrik
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass mythesis
\begin_preamble

% REF MACROS 

\def\apj{ApJ}
\def\mnras{MNRAS}
\def\apjl{ApJL}
\def\aap{A\A}




 LAYOUT %%
\raggedbottom
\end_preamble
\language british
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 12
\spacing other 1.50 
\papersize a4paper
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\use_natbib 1
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 1.25in
\topmargin 1.6in
\rightmargin 0.8in
\bottommargin 1in
\headsep 0.6in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle uheadings

\layout Chapter

Results, part I
\layout Standard

This chapter is a first look at the experimental results starting with a
 description of the raw data generated by the simulations and the data reduction
 and analysis routines used to extract useful scientific information.
 We also examine the first stage of the simulation, the cooling phase during
 the first 300 Myrs, which is identical for all simulations.
\layout Section

The raw data
\layout Standard


\noun on 
Enzo
\noun default 
 stores the main grid data in industry standard NCSA Hierarchical Data Format
 (HDF)
\begin_inset Foot
collapsed true

\layout Standard

See 
\family typewriter 
http://hdf.ncsa.uiuc.edu
\family default 
 for details.
\end_inset 

.
 These files contain the 11? variables listed in table X, and some meta
 data, such as variable names.
 The HDF format is valuable because the date can be read directly by standard
 visualisation programs like HDFLook and IDL
\begin_inset Foot
collapsed true

\layout Standard

See: 
\family typewriter 
http://daac.gsfc.nasa.gov/MODIS/HDFLook/
\family default 
 and 
\family typewriter 
http://www.rsinc.com/idl/
\family default 
.
\end_inset 

.
 The raw data can therefore be studied directly as the simulation progresses
 to ensure that it develops as expected.
 However, each grid in the grid structure is stored in a separate HDF file,
 and with several thousand such grids it is impractrical to analyse this
 data directly.
 Viewing any one grid file only gives a low resolution view of the domain
 or a high resolution view of a very small region.
 To be scientifically useful, the data is reduced in a number of ways.
 Enzo includes as standard data reduction routines for producing 3-dimensional
 extractions, 2-dimensional projections, and 1-dimensional vectors averaged
 over radial shells.
 A fourth reduction tool was developed during this project to extract an
 arbitrary set of point samples from the domain.
\the_end
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass mythesis2
\begin_preamble

% REF MACROS 

\def\apj{ApJ}
\def\mnras{MNRAS}
\def\apjl{ApJL}


\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing onehalf 
\papersize a4paper
\paperpackage widemarginsa4
\use_geometry 0
\use_amsmath 0
\use_natbib 1
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Chapter

Discussion
\layout Section

Previous simulations
\layout Standard

Churazov etal.
 
\begin_inset LatexCommand \cite{Churazov_etal_2001}

\end_inset 

 performed the first significant numerical bubble experiment in 2000.
 The setup was modeled on the M87 galaxy and its surroundings, based on
 ROSAT data by Nulsen and Böhringer 
\begin_inset LatexCommand \cite{NulsenBohringer_1995}

\end_inset 

, with typical densities of 0.02 
\begin_inset Formula $\textrm{cm}^{-3}$
\end_inset 

 and temperatures of 2 keV.
 The simulations were 2-dimensional with medium resolution at 
\begin_inset Formula $200^{2}$
\end_inset 

 cells, and rotational symetry was chosen about an axis parallel with the
 gravitational force.
 The computational domain was limited, reaching out 51kpc from the cluster
 core.
 A 2-dimensional gravitational potential and temperature profile were selected,
 and a corresponding density gradient was constructed in hydrostatic 

Re: Hello and 3 questions

2004-08-06 Thread Georg Baum
Henrik Nilsen Omma wrote:

 Ah, thanks. Resetting the language works.  I'm attaching two files
 anyway in case someone wants to debug the problem further. Try pasting
 something from chapter 5 to chapter 6 and try a DVI view to see the
 problem. (using LyX 1.3.3-win32)

Chapter 5 uses the document class mythesis, chapter 6 uses mythesis2. I
don't have either of them, so I changed the class to article, and
everything went fine (lyx 1.3.5cvs on linux). I get the blue underlines,
because the language is different, but the latex output works.
I guess it has something to do with the .layout files of your thesis
classes. BTW, you should use the same class for all parts of the doument.


Georg




Re: Hello and 3 questions

2004-08-06 Thread Georg Baum
Henrik Nilsen Omma wrote:

> 2. How to make line spacing different for different sections?
> The thesis needs to be double spaced, but that looks really silly in the
> table of contents and bibliography. How do I specify single spacing for
> those sections?

See attached.

> 3. Language problems:
> When I paste a block from one document to another, I sometimes get blue
> underline, which I've read signifies a foreign language. I can turn off
> the notification in the Preferences, but I still get the error message:
> 'Package babel Error: You haven't loaded the option english yet.
>  [EMAIL PROTECTED]' I have selected English in Document settings
> and preferences.
> Ideas?

This should not happen, because lyx should select the correct babel options.
Can you send a minimal example file showing this behaviour?
If the pasted text is not really in a foreign language, mark it and then
reset the language in Format->Character.


Georg


doublespacing.lyx
Description: application/lyx


Re: Hello and 3 questions

2004-08-06 Thread Herbert Voss
Henrik Nilsen Omma wrote:
1. How can I do appendix style numbering?
I'd like to number the appendix pages as A-1, A-2, B-1, B-2, etc.  (I've 
worked out that I can use ERT: \setcounter{page}{1} and found a 
description opf how to do roman numerals for the TOC, but how do you 
prefix the number with an 'A-'?)
write into the preamble
\renewcommand\appendix{\par
  \setcounter{chapter}{0}%
  \setcounter{section}{0}%
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]@chapter}%
  \gdef\thesection{\thechapter-\arabic{section}}%
}
Herbert



Re: Hello and 3 questions

2004-08-06 Thread Henrik Nilsen Omma
Georg Baum wrote:
See attached.
 

Thanks :)
<>
This should not happen, because lyx should select the correct babel 
options.
Can you send a minimal example file showing this behaviour?
If the pasted text is not really in a foreign language, mark it and then
reset the language in Format->Character.
Ah, thanks. Resetting the language works.  I'm attaching two files 
anyway in case someone wants to debug the problem further. Try pasting 
something from chapter 5 to chapter 6 and try a DVI view to see the 
problem. (using LyX 1.3.3-win32)

(Herbert: thanks for the appendix numbering code)
- Henrik
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass mythesis
\begin_preamble

% REF MACROS 

\def\apj{ApJ}
\def\mnras{MNRAS}
\def\apjl{ApJL}
\def\aap{A\}




 LAYOUT %%
\raggedbottom
\end_preamble
\language british
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 12
\spacing other 1.50 
\papersize a4paper
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\use_natbib 1
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 1.25in
\topmargin 1.6in
\rightmargin 0.8in
\bottommargin 1in
\headsep 0.6in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle uheadings

\layout Chapter

Results, part I
\layout Standard

This chapter is a first look at the experimental results starting with a
 description of the raw data generated by the simulations and the data reduction
 and analysis routines used to extract useful scientific information.
 We also examine the first stage of the simulation, the cooling phase during
 the first 300 Myrs, which is identical for all simulations.
\layout Section

The raw data
\layout Standard


\noun on 
Enzo
\noun default 
 stores the main grid data in industry standard NCSA Hierarchical Data Format
 (HDF)
\begin_inset Foot
collapsed true

\layout Standard

See 
\family typewriter 
http://hdf.ncsa.uiuc.edu
\family default 
 for details.
\end_inset 

.
 These files contain the 11? variables listed in table X, and some meta
 data, such as variable names.
 The HDF format is valuable because the date can be read directly by standard
 visualisation programs like HDFLook and IDL
\begin_inset Foot
collapsed true

\layout Standard

See: 
\family typewriter 
http://daac.gsfc.nasa.gov/MODIS/HDFLook/
\family default 
 and 
\family typewriter 
http://www.rsinc.com/idl/
\family default 
.
\end_inset 

.
 The raw data can therefore be studied directly as the simulation progresses
 to ensure that it develops as expected.
 However, each grid in the grid structure is stored in a separate HDF file,
 and with several thousand such grids it is impractrical to analyse this
 data directly.
 Viewing any one grid file only gives a low resolution view of the domain
 or a high resolution view of a very small region.
 To be scientifically useful, the data is reduced in a number of ways.
 Enzo includes as standard data reduction routines for producing 3-dimensional
 extractions, 2-dimensional projections, and 1-dimensional vectors averaged
 over radial shells.
 A fourth reduction tool was developed during this project to extract an
 arbitrary set of point samples from the domain.
\the_end
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass mythesis2
\begin_preamble

% REF MACROS 

\def\apj{ApJ}
\def\mnras{MNRAS}
\def\apjl{ApJL}


\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing onehalf 
\papersize a4paper
\paperpackage widemarginsa4
\use_geometry 0
\use_amsmath 0
\use_natbib 1
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Chapter

Discussion
\layout Section

Previous simulations
\layout Standard

Churazov etal.
 
\begin_inset LatexCommand \cite{Churazov_etal_2001}

\end_inset 

 performed the first significant numerical bubble experiment in 2000.
 The setup was modeled on the M87 galaxy and its surroundings, based on
 ROSAT data by Nulsen and Böhringer 
\begin_inset LatexCommand \cite{Nulsen_1995}

\end_inset 

, with typical densities of 0.02 
\begin_inset Formula $\textrm{cm}^{-3}$
\end_inset 

 and temperatures of 2 keV.
 The simulations were 2-dimensional with medium resolution at 
\begin_inset Formula $200^{2}$
\end_inset 

 cells, and rotational symetry was chosen about an axis parallel with the
 gravitational force.
 The computational domain was limited, reaching out 51kpc from the cluster
 core.
 A 2-dimensional gravitational potential and temperature profile were selected,
 and a corresponding density gradient was constructed in hydrostatic equlibrium.

Re: Hello and 3 questions

2004-08-06 Thread Georg Baum
Henrik Nilsen Omma wrote:

> Ah, thanks. Resetting the language works.  I'm attaching two files
> anyway in case someone wants to debug the problem further. Try pasting
> something from chapter 5 to chapter 6 and try a DVI view to see the
> problem. (using LyX 1.3.3-win32)

Chapter 5 uses the document class mythesis, chapter 6 uses mythesis2. I
don't have either of them, so I changed the class to article, and
everything went fine (lyx 1.3.5cvs on linux). I get the blue underlines,
because the language is different, but the latex output works.
I guess it has something to do with the .layout files of your thesis
classes. BTW, you should use the same class for all parts of the doument.


Georg




Hello and 3 questions

2004-08-05 Thread Henrik Nilsen Omma
Hello everyone,
I've been using LyX for a few months, but this is my first posting to 
the list. I'm writing a Ph.D. thesis in physics of about 150 pages in 
7-8 chapters plus appendices, etc. There are obviously lots of 
equations, images, and figures. I've made 1 file for each chapter to 
keep it manageable and a master file with include statements. I only 
want one bibliography at the end. I also use BibTex and NatBib. And now 
I have some questions :)  (I apologise if these have been asked here before)

1. How can I do appendix style numbering?
I'd like to number the appendix pages as A-1, A-2, B-1, B-2, etc.  (I've 
worked out that I can use ERT: \setcounter{page}{1} and found a 
description opf how to do roman numerals for the TOC, but how do you 
prefix the number with an 'A-'?)

2. How to make line spacing different for different sections?
The thesis needs to be double spaced, but that looks really silly in the 
table of contents and bibliography. How do I specify single spacing for 
those sections?

3. Language problems:
When I paste a block from one document to another, I sometimes get blue 
underline, which I've read signifies a foreign language. I can turn off 
the notification in the Preferences, but I still get the error message:
'Package babel Error: You haven't loaded the option english yet.
[EMAIL PROTECTED]' I have selected English in Document settings 
and preferences.
Ideas?

Any help is appreciated.
Thanks,
   Henrik


Hello and 3 questions

2004-08-05 Thread Henrik Nilsen Omma
Hello everyone,
I've been using LyX for a few months, but this is my first posting to 
the list. I'm writing a Ph.D. thesis in physics of about 150 pages in 
7-8 chapters plus appendices, etc. There are obviously lots of 
equations, images, and figures. I've made 1 file for each chapter to 
keep it manageable and a master file with include statements. I only 
want one bibliography at the end. I also use BibTex and NatBib. And now 
I have some questions :)  (I apologise if these have been asked here before)

1. How can I do appendix style numbering?
I'd like to number the appendix pages as A-1, A-2, B-1, B-2, etc.  (I've 
worked out that I can use ERT: \setcounter{page}{1} and found a 
description opf how to do roman numerals for the TOC, but how do you 
prefix the number with an 'A-'?)

2. How to make line spacing different for different sections?
The thesis needs to be double spaced, but that looks really silly in the 
table of contents and bibliography. How do I specify single spacing for 
those sections?

3. Language problems:
When I paste a block from one document to another, I sometimes get blue 
underline, which I've read signifies a foreign language. I can turn off 
the notification in the Preferences, but I still get the error message:
'Package babel Error: You haven't loaded the option english yet.
[EMAIL PROTECTED]' I have selected English in Document settings 
and preferences.
Ideas?

Any help is appreciated.
Thanks,
   Henrik


Hello and 3 questions

2004-08-05 Thread Henrik Nilsen Omma
Hello everyone,
I've been using LyX for a few months, but this is my first posting to 
the list. I'm writing a Ph.D. thesis in physics of about 150 pages in 
7-8 chapters plus appendices, etc. There are obviously lots of 
equations, images, and figures. I've made 1 file for each chapter to 
keep it manageable and a master file with include statements. I only 
want one bibliography at the end. I also use BibTex and NatBib. And now 
I have some questions :)  (I apologise if these have been asked here before)

1. How can I do appendix style numbering?
I'd like to number the appendix pages as A-1, A-2, B-1, B-2, etc.  (I've 
worked out that I can use ERT: \setcounter{page}{1} and found a 
description opf how to do roman numerals for the TOC, but how do you 
prefix the number with an 'A-'?)

2. How to make line spacing different for different sections?
The thesis needs to be double spaced, but that looks really silly in the 
table of contents and bibliography. How do I specify single spacing for 
those sections?

3. Language problems:
When I paste a block from one document to another, I sometimes get blue 
underline, which I've read signifies a foreign language. I can turn off 
the notification in the Preferences, but I still get the error message:
'Package babel Error: You haven't loaded the option english yet.
[EMAIL PROTECTED]' I have selected English in Document settings 
and preferences.
Ideas?

Any help is appreciated.
Thanks,
   Henrik