Harold Mouras wrote:

I have two simple questions:
1) in a Lyx document in which the margins are set for some default
dimensions, how can I change these dimensions only for one page of the
document. I think I have to use the command \thispagestyle, but what would
be for example the command line for no margin;

\thispagestyle doesn't change the margins. It sets the style (with pagenumber or not, with headers and footers or not).


From the typographic view, you should change the margins for single pages only for a very good reason.
Here is one way to do it:


- Create a new document with the same margin settings as you use in your document. Add to its preamble the line
\usepackage{layout}
and insert the command
\layout
in ERT.
If you compile this, you will get an illustration with the actual margin settings. (see the attached layout.lyx)


- To change the margins in your document, insert a \clearpage or \cleardoublepage command at the position where the new margin settings should begin. \clearpage prints all unprocessed floats and creates a new page to prevent troubles. If you e.g. want no margins, enter the commands
\setlength{\hoffset}{-1in}
\setlength{\voffset}{-1in}
To return to the old margin settings, insert again a \clearpage and set the lengths to the values that are shown in the margin illustration. (see the attached newfile2.lyx)


2) if I choose all the float with the option "pages of float" for the
placement, do LyX and Latex make a special section at the end of the
document with all the floats in the right order?

No, it will produce float pages as soon as possible in the text. The floats will be in the right order.


regards Uwe
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrartcl
\begin_preamble
\usepackage{layout}
\end_preamble
\language frenchb
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 4
\paragraph_separation skip
\defskip medskip
\quotes_language french
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
layout 
\end_inset 


\the_end
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrartcl
\language frenchb
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 4
\paragraph_separation skip
\defskip medskip
\quotes_language french
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty
\bullet 1
        1
        34
        -1
\end_bullet
\bullet 2
        2
        35
        -1
\end_bullet
\bullet 3
        2
        7
        -1
\end_bullet

\layout Standard

blalba
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
clearpage
\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
setlength{
\backslash 
hoffset}{-1in}
\newline 

\backslash 
setlength{
\backslash 
voffset}{-1in}
\end_inset 


\layout Standard

hello
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
clearpage
\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
setlength{
\backslash 
hoffset}{0pt}
\newline 

\backslash 
setlength{
\backslash 
voffset}{0pt}
\end_inset 


\layout Standard

lbabla
\the_end

Reply via email to