Re: threeparttablex with longtable

2015-12-03 Thread John Kane
Hi Tyler;
Could you upload a minimal example of the table. It is not clear to me
exactly how you are using the ERT.

Is the entire table in the ERT or are you using a LyX-type table with the
Insert commands in an ERT?

On 30 November 2015 at 20:17, Tyler Grummett  wrote:

> Hello Lyx,
>
>
> Im having a problem when using threeparttablex with longtables. In order
> to see the table I am working with, I have chosen to use ERT code to
> \begin{ThreePartTable} and then \begin{TableNotes}  \end{TableNotes}
> etc then ive inserted a table and made it a long table.
>
>
> Everything works if you just put in the ERT code \end{ThreePartTable}, but
> then there are no actual table notes. I cant work out where to put the ERT
> code \insertTableNotes. According to the documentation, it needs to be
> inside the longtable, but I cant work out how to do it without getting an
> error \misaligned etc.
>
>
> Please help.
>
>
> Tyler
>
>
> *
>
> *Tyler Grummett ( BBSc, BSc(Hons I))*
> *PhD Candidate*
> *Brain Signals Laboratory*
> *Flinders University*
> *Rm 5A301*
> *Ext 66125*
>



-- 
John Kane
Kingston ON Canada


Re: Render inkscape text with latex

2015-12-03 Thread Rajil Saraswat
On Dec 2, 2015 1:55 PM, "David"  wrote:
>
> Am 02.12.2015 um 20:30 schrieb Daniel CLEMENT:
> > Le mardi 01 décembre 2015 à 13:27 -0600, Rajil Saraswat a écrit :
> >> Hello,
> >>
> >> I want the text used in svg images to be rendered using latex.
> >> Inkscape provides instructions at
> >> http://wiki.inkscape.org/wiki/index.php/LaTeX on how to do this with
> >> Lyx. However this uses ERT and one loses the capability of seeing
> >> previews within Lyx.
> >>
> >> Is it possible to modify the SVG convertor with lyx to automatically
> >> carry out the steps given on the inkscape wiki mentioned above?
> >>
> >> Thanks
> > Hi,
> >
> > The solution described in the wiki is very elaborate, but have you
> > noticed the tiny link to the "textext" extension for Inkscape?
> >
> > I find it very helpful for writing TeX formulas into Inkscape. In
> > particular, you can use whatever preamble file you want within textext,
> > e.g. to specify a given font. Real easy to use. You might want to give
> > it a try.
>
> I also like to use Textext for my Inkscape figures. One should mention,
> however, that the Latex rendered with Textext looks a tiny bit thicker
> in the PDF output than "normal" pdflatex rendered Latex.
>

Thanks for these inputs. I have found that the 0.91 version of Inkscape
cuts off the data in the pdf and produces a multi page pdf from a single
page when exporting using PDF+Latex. This bug isn't present in 0.48 release
of Inkscape.


Re: Render inkscape text with latex

2015-12-03 Thread Georg Baum
Rajil Saraswat wrote:

> Hello,
> 
> I want the text used in svg images to be rendered using latex.
> Inkscape provides instructions at
> http://wiki.inkscape.org/wiki/index.php/LaTeX on how to do this with
> Lyx. However this uses ERT and one loses the capability of seeing
> previews within Lyx.
> 
> Is it possible to modify the SVG convertor with lyx to automatically
> carry out the steps given on the inkscape wiki mentioned above?

Yes. LyX has so-called external templates, they are documented in the 
Customization Manual. Unfortunately they are not so easy to understand if 
one is not used to theem, but there is already a template which does the 
equivalent of what you want for Xfig figures.

You can define an inkscape template without modifying the LyX source code. 
If you do, it would be nice if you could contribute it. If you do not want 
to have ago yourself, please file an enhancement request at 
http://www.lyx.org/trac/wiki/BugTrackerHome (if none exists alreeady).


Georg




Re: threeparttablex with longtable

2015-12-03 Thread Jacob Bishop
On Mon, Nov 30, 2015 at 6:17 PM, Tyler Grummett <
tyler.grumm...@flinders.edu.au> wrote:

> Im having a problem when using threeparttablex with longtables.
>
Does the normal threeparttable package work for you? Is it just a longtable
and threeparttablex-specific problem? If so, have you tried putting the
entire table in ERT? For this, there is a demo table in the threeparttablex
package. That's where I would start, then try to go to a lyx table with ERT
until it the source preview pane gives you about the same as it did with
pure ERT. A minimal example would also be useful as suggested by John.


Re: Splitting long eqution

2015-12-03 Thread Jacob Bishop
On Wed, Dec 2, 2015 at 12:47 AM, Anders Ekberg  wrote:

> see the extended minimal example attached.
>

This example is really good, and Anders' response was on the spot, but I
thought I'd take the opportunity to point out something that took me quite
a while to realize. When using the equation array environment (what happens
when you push ctrl+enter), the spacing around the equal sign is different
than what it is for a "display formula." This leads to a document that has
inconsistent spacing, which can be seen in this example. The spacing around
the equals sign in equation (1) is a lot less than the spacing around the
equals signs in the other equations. The solution is to use AMS
environments. Check the spacing produced in the attached document. I also
used \mathrm for multi-letter subscripts, which I would recommend. Finally,
you should check out the different reference types. I use the one with
parentheses to do equations.

I hope this helps.

Jacob


minimal_extended-AMS.lyx
Description: application/lyx