long and broad figure on adjacent pages
I have a long and broad figure (a scilab simulation diagram) which I have split in two halves in order to fit it on two adjacent pages. I had to turn both sidewards because of the broadness of the illustration. How can I achieve that the upper part occurs on a page which is on top of the lower part page if the book is opened? I am using Koma script book style. Wolfgang -- upper part here -- -- lower part here -- note: you look at the sidewards turned book
Re: margin of table cells
Ok, I think I found a solution. I added '\setlength{\tabcolsep}{4pt}LyX Document ' in an ERT directly before the table envorinment. greetz - Tino Am 23.04.2015 um 21:27 schrieb Langer, Tino: Hello, is it possible to change the margin in table cell using lyx? If found the LaTeX-command |\setlength\tabcolsep{1.5pt}| , but I don't know where to insert it in lyx using the table functionallity. It seems the command has to be used inside the tabular-environment (http://tex.stackexchange.com/questions/201105/reduce-cell-margins-in-a-table) Many thanks for help! - Tino
margin of table cells
Hello, is it possible to change the margin in table cell using lyx? If found the LaTeX-command |\setlength\tabcolsep{1.5pt}| , but I don't know where to insert it in lyx using the table functionallity. It seems the command has to be used inside the tabular-environment (http://tex.stackexchange.com/questions/201105/reduce-cell-margins-in-a-table) Many thanks for help! - Tino
Re: Defining full-width insets
On 04/23/2015 03:55 AM, Klaus-Dieter Bauer wrote: Hello! I am trying to define an inset, that compiles to \begin{widetext} ... \end{widetext}. Doing so with InsetLayout however, results in flexible-width insets (like the Note inset), which is undesirable. E.g. when creating a such a widetext inset with a single display-style equation inside, it will be display a left-aligned equation in lyx, strongly at odds with the compiled result (a full-width equation in a twocolumn document). Is there some standard way to change this behaviour to be more like boxes, i.e. full-width in LyX regardless of the contents? I also posted the question on stackexchange[1] where an answer pointed out that the behaviour for boxes is achieved by the code bool InsetBox::hasFixedWidth() const { return !params_.width.empty(); } in InsetBox.cpp, so I fear it may be hard-coded. For reference, my current layout is InsetLayout WideText LyXType Custom LabelString WideText LatexTypeenvironment LatexNamewidetext Decoration classic LabelFont Colorblue Size Small EndFont MultiPar true OptionalArgs 0 Preamble \RequirePackage{widetext} EndPreamble End I don't believe there is a way to do this via layouts. You could file an enhancement request, though, for a FullWidth layout tag. It'd be very easy to implement. Richard
Re: lyx2lyx script
2015-04-23 14:19 GMT+02:00 Wolfgang Engelmann: > > By using trac? ---> > You could download the file one by one via trac (I dno't think you can download the folder at once). A better solution is to access the git repository: http://www.lyx.org/HowToUseGIT Jürgen
Re: lyx2lyx script
Am 23.04.2015 um 10:01 schrieb Jürgen Spitzmüller: 2015-04-22 18:24 GMT+02:00 Wolfgang Engelmann: I have copied the lyx2lyx in a file. Is it correct to add .py to it? No, you need to download the whole lyx2lyx folder. By using trac? ---> * first install of the latest stable version Trac 0.12.1, with i18n support: easy_install Babel==0.9.5 Genshi==0.6 easy_install Trac /It's very important to run the two easy_install commands separately, otherwise the message catalogs won't be generated./ * upgrade to the latest stable version of Trac: easy_install -U Trac * upgrade to the latest trunk development version (0.13dev): easy_install -U Trac==dev And how do I use it to convert a file x.lyx from a too new version to a 2.0x version file? python -tt /lyx2lyx/lyx2lyx -t 474 inputfile.lyx > outputfile.lyx Jürgen Wolfgang
Defining full-width insets
Hello! I am trying to define an inset, that compiles to \begin{widetext} ... \end{widetext}. Doing so with InsetLayout however, results in flexible-width insets (like the Note inset), which is undesirable. E.g. when creating a such a widetext inset with a single display-style equation inside, it will be display a left-aligned equation in lyx, strongly at odds with the compiled result (a full-width equation in a twocolumn document). Is there some standard way to change this behaviour to be more like boxes, i.e. full-width in LyX regardless of the contents? I also posted the question on stackexchange[1] where an answer pointed out that the behaviour for boxes is achieved by the code bool InsetBox::hasFixedWidth() const { return !params_.width.empty(); } in InsetBox.cpp, so I fear it may be hard-coded. For reference, my current layout is InsetLayout WideText LyXType Custom LabelString WideText LatexTypeenvironment LatexNamewidetext Decoration classic LabelFont Colorblue Size Small EndFont MultiPar true OptionalArgs 0 Preamble \RequirePackage{widetext} EndPreamble End regards, Klaus [1] http://tex.stackexchange.com/questions/240001/defining-a-lyx-inset-that-always-has-full-line-width-in-the-editor