Re: How do I bring the QUANTA journal template into LyX?

2018-07-30 Thread Cris Fuhrman
Indeed there is no trace of any LyX layout file for Quanta. However, I
don't think you have to go the customized layout route.

I tried (with LyX 2.2.3) to import (File > Import > LaTeX (plain)) the
LaTeX template called Manuscript.tex (it's available on the quanta site)
and it creates a LyX file that's not too bad as a start.

When I generated the PDF, it took some time to install the missing
packages/fonts on my MikTeX install, and it resulted in a few errors with
"Option clash" for both babel and graphicx. There are several packages that
seem to be superfluously loaded in the preamble (Document > Settings >
LaTeX preamble). Commenting them out worked.

The result looks close to what is on their site, with figures, etc. One
problem I spotted was with the bibliography/citations that are not correct
(the template has \bibitem and I think LyX works best with a separate file,
especially if you want to have [4-7] instead of [4, 5, 6, 7] citations).
Converting the \bibitem in the template is not trivial (there is tex2bib,
but it's perl and needs Linux or a Mac probably). You likely have your own
database of references?




On Fri, Jul 27, 2018 at 2:17 PM Paul A. Rubin  wrote:

> On 07/27/2018 12:31 AM, e...@me.com wrote:
> > See
> > http://quanta.ws/ojs/index.php/quanta/about/submissions#authorGuidelines
> .
> >
> > 5-lines from top it mentions the Journal’s LaTeX template.
> >
> > 11-lines from top it mentions their approval of LyX.
> >
> > I would like to bring the QUANTA journal template into LyX, so that is
> > available when required (from within LyX).
> >
> > Thank you.
> You will need to find (or create) a LyX layout file, which tells LyX how
> to map elements of their template to GUI elements. See Chapter 5 of the
> LyX Customization manual for the gory details. Since they mention that
> they accept LyX files, it is possible that a layout file already exists
> ... but it does not seem to be one of the layouts included with LyX, and
> they make no mention of it on their site. You might email their
> editorial office and ask whether they know of one before going through
> the hassle of building your own.
>
> Paul
>
>


Re: Placing caption above box with boxedfloat.module

2018-07-30 Thread edu Gpl
1- Put the cruser insude the flot box.
2- click ctrl+L then write this code:
\captionof{figure}{mytext}{
3- click the cruser after the code box.
4- include the image by insert/Graphics .
5- click Ctrl+L then write:
{
in the code box.

Best regards

الحصول على Outlook for Android


From: edu Gpl 
Sent: Monday, July 30, 2018 7:00:13 PM
To: Dirk Heine
Subject: Re: Placing caption above box with boxedfloat.module

1- Put the cruser insude the flot box.
2- click ctrl+L then write this code:
\captionof{figure}{mytext}{
3- click the cruser after the code box.
4- include the image by insert/Graphics .
5- click Ctrl+L then write:
{
in the code box.

Best regards

الحصول على Outlook for Android


From: lyx-users@lists.lyx.org  on behalf of Dirk Heine 

Sent: Monday, July 30, 2018 2:33:33 AM
To: lyx-users@lists.lyx.org
Subject: Placing caption above box with boxedfloat.module

Dear LyX experts,

I would like to put the caption of a box above the content of that box, so that 
the caption functions as a title for the box. I would be grateful for advice 
how to do that.

I am currently using the Boxed Float module, but that automatically places the 
caption below the box.

Best regards,

Dirk




Re: Grrr! Loosing my mind on graphic options in pdflatex

2018-07-30 Thread Kornel Benko
Am Montag, 30. Juli 2018 11:44:00 CEST schrieb Baris Erkus 
:
> On 28-Jul-18 3:28 PM, Murat Yildizoglu wrote:
> Hello,
> I am working on a new book and suddenly I have started to meet a problem with 
> the graphics that are included in the document : when I pdflatex the doc, I 
> get a lot of error messages all concerning the options set in the 
> \includegraphics instructions. If I fo not scale the graph, it prints (with 
> the original size of course), and if I set a scale option, I get scale=0.8 
> instead of the pdf graphic. (see the capture of the output window).
>  I also include some other captures about the options of the document and the 
> figure.
> I do not remember having changes anything, but I probably have, and I cannot 
> locate my stupid error. Any idea?

I would try to set the width or height, instead of %scale.

> My preamble contains:
> \usepackage{amsfonts}
> \batchmode

Why is that needed?

> This problems makes me mad and any suggestion will be very much appreciated. 
> I remember having met it before, but I do not remember how I have been able 
> to solve it.
...
> I would highly recommend to come up with a MWE. I have had similar problems, 
> particularly when using TikZ graphics, and in most cases I have identified 
> the error when developing a "proper" MWE to post to SE or LyX mailing list.

+1

> BE

Kornel

signature.asc
Description: This is a digitally signed message part.