Re: Where is float figure* in tufte-book?

2015-10-24 Thread Nikos Alexandris
Nikos Alexandris:

> > Dear Tufte-LaTeX users,

> > the example file "tufte-book.lyx" contains an example of the "float:
> > Figure*", a full-width figure box.  I can't trace this anywhere in the
> > (Insert) menus.

> > Using LyX Version 2.1.4.  Any help highly appreciated.

John Kane:

> By my reading of the example it is just
> Insert > Float > Figure, the only difference being where the caption is
> placed.

Exactly. A long caption will not (at least, it does not do for me) fit
nicely.

Nikos


Re: Where is float figure* in tufte-book?

2015-10-24 Thread Nikos Alexandris
Sorry, that msg was meant to hit the list too!

Nikos

* Nikos Alexandris  [2015-10-25 01:12:11 +0300]:

> 
> Nikos Alexandris:
>  
> > > Dear Tufte-LaTeX users,
> > > 
> > > the example file "tufte-book.lyx" contains an example of the "float:
> > > Figure*", a full-width figure box.  I can't trace this anywhere in the
> > > (Insert) menus.
> > > 
> > > Using LyX Version 2.1.4.  Any help highly appreciated.
> 
> Charlie:
> 
> > Not certain this is the answer because I haven't tried it. But in ERT:
> > 
> > \begin{fullwidth}
> > 
> > And between these two ERT commands place your full page float
> > 
> > \end{fullwidth}
> > 
> > Maybe that will work?
> 
> Thank you.  Not exactly. There is some problem with the caption.  I've
> tested it by using the example file.  Below the *existing* "float:
> Figure*" example, I used the "fullwidth" environment and the same
> content (as in the existing example).  It's not quite the same.
> 
> I can use an ERT for "\begin{figure*}".  But, it's not the same.  Where
> does the example box come from in LyX, I wonder!?
> 
> Thank you, Nikos


Re: Where is float figure* in tufte-book?

2015-10-24 Thread Nikos Alexandris
Nikos Alexandris:

> > > > Dear Tufte-LaTeX users,
> > > > 
> > > > the example file "tufte-book.lyx" contains an example of the
> > > > "float: Figure*", a full-width figure box.  I can't trace this
> > > > anywhere in the (Insert) menus.
> > > > 
> > > > Using LyX Version 2.1.4.  Any help highly appreciated.

The "figure" becomes "figure*" by selecting the "Span columns" option in
the LyX: float dialog (Right click on "float: Figure" > Settings > Span
columns).

A "custom" float may be defined to instruct the \begin{figure*} command
directly as per the following:

--->%--
Float
Typefigure*
GuiName Figure*
Placement   p
Extension   lof
NumberWithinnone
Style   plain
ListName"List of Figures"
ListCommand listoffigures
IsPredefined true
UsesFloatPkg false
End
--%<---


In the "Customization" document, in "5.3.8 Floats" it is stated:

Type [string=””] The “type” of the new class of floats, like program or
algorithm. After the appropriate \newfloat, commands such as \begin{program} or
\end{algorithm*} will be available.  So, the above looks like a "duplication" 
(?).


So, after using the custom "figure*" float (which does work!), it is still 
possible to select "Span columns" (which is NOT pre-selected). Another star is 
added and the float becomes "figure**".


On the Span columns, the "Embedded Objects" manual states:

The option Span columns is only useful for two-column documents: If you select
it, the float will span both columns on the page instead of being confined to
just one.


How can we put all this info together and have a clean "Figure*" float for 
tufte-book?  Perhaps reword the "is only useful for two-column documents" 
sentence as well (?).

Thank you, Nikos


Re: Where is float figure* in tufte-book?

2015-10-24 Thread John Kane
By my reading of the example it is just
Insert > Float > Figure, the only difference being where the caption is
placed.

On 24 October 2015 at 17:41, Nikos Alexandris 
wrote:

> Dear Tufte-LaTeX users,
>
> the example file "tufte-book.lyx" contains an example of the "float:
> Figure*", a full-width figure box.  I can't trace this anywhere in the
> (Insert) menus.
>
> Using LyX Version 2.1.4.  Any help highly appreciated.
>
> Nikos
>



-- 
John Kane
Kingston ON Canada


Re: Where is float figure* in tufte-book?

2015-10-24 Thread Charlie

  On Sun, 25 Oct 2015 01:12:11 +0300 Nikos mentioned this: 
Re: Where is float figure* in tufte-book?. 

> 
> Nikos Alexandris:
>  
> > > Dear Tufte-LaTeX users,
> > > 
> > > the example file "tufte-book.lyx" contains an example of the
> > > "float: Figure*", a full-width figure box.  I can't trace this
> > > anywhere in the (Insert) menus.
> > > 
> > > Using LyX Version 2.1.4.  Any help highly appreciated.
> 
> Charlie:
> 
> > Not certain this is the answer because I haven't tried it. But in
> > ERT:
> > 
> > \begin{fullwidth}
> > 
> > And between these two ERT commands place your full page float
> > 
> > \end{fullwidth}
> > 
> > Maybe that will work?
> 
> Thank you.  Not exactly. There is some problem with the caption.  I've
> tested it by using the example file.  Below the *existing* "float:
> Figure*" example, I used the "fullwidth" environment and the same
> content (as in the existing example).  It's not quite the same.
> 
> I can use an ERT for "\begin{figure*}".  But, it's not the same.
> Where does the example box come from in LyX, I wonder!?
> 
> Thank you, Nikos


  From my keyboard:

   Hello Nikos,

I just checked and I'm using LyX Version 2.1.3 so it will be different
anyway.

Sorry for the noise.

Charlie


East Gippsland Wildlife Rehabilitators Inc..
   http://www.egwildlife.com.au/

-- 
Registered Linux User:- 329524
***

We need only travel enough to give our intellects an
airing. .Henry David Thoreau

***

Debian GNU/Linux - Magic indeed.

-


Re: Where is float figure* in tufte-book?

2015-10-24 Thread Charlie
On Sun, 25 Oct 2015 00:41:20 +0300
Nikos Alexandris  wrote:

> Dear Tufte-LaTeX users,
> 
> the example file "tufte-book.lyx" contains an example of the "float:
> Figure*", a full-width figure box.  I can't trace this anywhere in the
> (Insert) menus.
> 
> Using LyX Version 2.1.4.  Any help highly appreciated.
> 
> Nikos

Not certain this is the answer because I haven't tried it. But in ERT:

\begin{fullwidth}

And between these two ERT commands place your full page float

\end{fullwidth}

Maybe that will work?

Charlie

-- 
Registered Linux User:- 329524
***

However mean your life is, meet it and live it; do not shun it
and call it hard names. It is not so bad as you are. It looks
poorest when you are the richest.Henry David Thoreau

***

Debian GNU/Linux - Magic indeed.

-


Where is float figure* in tufte-book?

2015-10-24 Thread Nikos Alexandris
Dear Tufte-LaTeX users,

the example file "tufte-book.lyx" contains an example of the "float:
Figure*", a full-width figure box.  I can't trace this anywhere in the
(Insert) menus.

Using LyX Version 2.1.4.  Any help highly appreciated.

Nikos


Re: XeTeX \sups already defined

2015-10-24 Thread Guenter Milde
On 2015-10-24, Maria Gouskova wrote:
> On Fri, Oct 23, 2015 at 4:56 AM, Charles de Miramon
> wrote:

>>> A bit of digging suggests this is because of an incompatibility
>>> between the TIPA package (which I need to use in order to use IPA
>>> with the qtree package). Is there a workaround for this?

>> Have you tried solution 6 of
>> http://tex.stackexchange.com/questions/273483/revisiting-tipa-and-fontspec

>> Basically you should not use the tipa package but use the
>> texipa macro of the fontspec package.

...

> Thanks, Charles--it was simpler than that even. I thought for some
> reason that one had to load TIPA in the preamble in order to use it in
> Qtree, but everything works without it, so simply removing
> \usepackage(tipa) from the preamble in the XeTeX version fixed my
> problem.

Yes, "use non-TeX fonts" loads the "fontspec" packagea, which in turn loads
"xunicode" which in turn loads the tipa character commands from the
t3enc.def file from "inputenc".


Günter



Re: RevTeX 4.1: \onlinecite

2015-10-24 Thread Uwe Stöhr

Am 13.10.2015 um 15:16 schrieb Rudi Gaelzer:


I'm writing a MS using revtex class, V. 4.1.
How do I insert specific commands for the RevTeX class 4.1, such as
\onlinecite?

I've found this post:
https://www.mail-archive.com/lyx-cvs@lists.lyx.org/msg09818.html
claiming that revtex4-1.layout supports \onlinecite.


This feature will first be available with LyX 2.2.

For LyX 2.1.x you have to use TeX code to insert the command \onlinecite.

regards Uwe


Re: XeTeX \sups already defined

2015-10-24 Thread Maria Gouskova
On Fri, Oct 23, 2015 at 4:56 AM, Charles de Miramon
 wrote:
> Maria Gouskova wrote:
>
>> Hi all,
>>
>> Elsevier wants me to create a .tex file for them that uses
> Arial--a
>> non-TeX font. When I go to make the PDF using XeTeX, I get
> the LaTeX
>> error "Command \sups already defined".
>>
>> A bit of digging suggests this is because of an
> incompatibility
>> between the TIPA package (which I need to use in order to
> use IPA with
>> the qtree package). Is there a workaround for this?
>>
>> Thank you,
>>
>> Maria
>
> Have you tried solution 6 of
> http://tex.stackexchange.com/questions/273483/revisiting-tipa-and-fontspec
>
> Basically you should not use the tipa package but use the
> texipa macro of the fontspec package.
>
> I have never used the IPA module in LyX but you may have to
> tweak it to suppress the loading of the ipa package
>
> You redefine the IPA environment for compatibility reasons
> with qtree.
>
> If Arial has the ipa glyphs you can keep the font for typing
> the ipa text. If not, you have to instruct fontspec to use a
> font with the available glyphs as explained above.
>
> Cheers,
> Charles
>

Thanks, Charles--it was simpler than that even. I thought for some
reason that one had to load TIPA in the preamble in order to use it in
Qtree, but everything works without it, so simply removing
\usepackage(tipa) from the preamble in the XeTeX version fixed my
problem.

So the problem here is that TIPA needs to be called expressly even if
the Linguistics module is loaded, if you want to use IPA in syntactic
trees. I have a few shorthand commands for IPA symbols in my preamble,
which also would not work without calling TIPA. But TIPA does not need
to be loaded for XeTeX/non-system fonts even if IPA symbols are called
in qtree, unless there is a conflict between custom-defined function
names and whatever XeTeX introduces (apparently \dz{} is taken, for
example).

For the two or three people in the world using LyX with IPA and
syntactic trees, I am including two example files, one that uses Arial
and another one that uses plain TeX with the linguistics module.

Maria


example_xetex_tree.lyx
Description: Binary data


example_tipa_qtree.lyx
Description: Binary data