LyX, Beamer and math macros

2018-06-07 Thread Reuven Segev
Hi,
When using LyX to produce slides with Beamer, I encountered the following
issue. Beamer produces an empty slide wherever I insert my math macros. I
could not think of a way to "encapsulate" them.

Any help will be appreciated.

Best,
Reuven Segev


Re: tex2LyX

2018-06-07 Thread Kornel Benko
Am Donnerstag, 24. Mai 2018 20:55:12 CEST schrieb Kornel Benko :

> 
> New test: AMS-import.
> 

tex2lyx still (again?) has some quirks.
Importing development/batchtests/ams-import.tex leads to correct display in 
lyx, but
the tex-file used to compile with e.g. pdflatex is wrong.

The original preamble is now repeated twice
> \makeatletter
> %% Textclass specific LaTeX commands.
> \numberwithin{equation}{section}
> \numberwithin{figure}{section}
> \theoremstyle{plain}
> \newtheorem{thm}{\protect\theoremname}
> \theoremstyle{plain}
> \newtheorem{cor}[thm]{\protect\corollaryname}
> 
> %% User specified LaTeX commands.
> 
> 
> \theoremstyle{plain}
> \newtheorem{thm}{\protect\theoremname}[section]
> %\newtheorem{thm}{\protect\theoremname}% => works
> \newtheorem{cor}[thm]{\protect\corollaryname}

Kornel



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


Re: pleading paper

2018-06-07 Thread Dr Eberhard W Lisse
John,

you may have to rotate the thing (something like angle=90?)


greetings, el



On 2018-06-07 09:04 , John White wrote:
> Dr. Lisse,
> 
> Brilliant!  Thank you so much.  This is clearly the best option, I
> still have to learn more before using it.
>
> For example, I get the error:
>
> "LaTeX Error: Cannot determine size of graphic in lines.pdf (no
> BoundingBox)."
>
> But if I "show output anyway" I get lined paper.  Lines are going
> horizontal rather than vertical, but nonetheless there is my text AND
> numbered lines in the same document!
> 
> Thanks again!
> 
> John
> 
> 
> On Tuesday, June 5, 2018 11:44:33 PM PDT Dr Eberhard Lisse wrote:
>> John,
>>
>> why don't you generate the lines separately into lines.pdf and then use
>> the background package in the preamble like so
>>
>> \usepackage{background}
>> \backgroundsetup{
>>contents={%
>>   \includegraphics[width=\pagewidth]{lines.pdf}
>>},
>>angle=0,
>>scale=1.0,
>>opacity=1.0
>> }
>>
>> I do something like that with a lab request form, where I position
>> demographic data (with textpos) which remains searchable.
>>
>> greetings, el


-- 
Dr. Eberhard W. Lisse  / Obstetrician & Gynaecologist (Saar)
e...@lisse.na/ * |   Telephone: +264 81 124 6733 (cell)
PO Box 8421  /
Bachbrecht, Namibia ;/


Re: pleading paper

2018-06-07 Thread John White
Dr. Lisse,

Brilliant!  Thank you so much.  This is clearly the best option,  I still have 
to learn more before using it.

For example, I get the error:

"LaTeX Error: Cannot determine size of graphic in lines.pdf (no BoundingBox)."

But if I "show output anyway" I get lined paper.  Lines are going horizontal 
rather than vertical, but nonetheless there is my text AND numbered lines in 
the same document!

Thanks again!

John


On Tuesday, June 5, 2018 11:44:33 PM PDT Dr Eberhard Lisse wrote:
> John,
> 
> why don't you generate the lines separately into lines.pdf and then use
> the background package in the preamble like so
> 
> \usepackage{background}
> \backgroundsetup{
>contents={%
>   \includegraphics[width=\pagewidth]{lines.pdf}
>},
>angle=0,
>scale=1.0,
>opacity=1.0
> }
> 
> I do something like that with a lab request form, where I position
> demographic data (with textpos) which remains searchable.
> 
> greetings, el
> 
> On 2013-12-04 01:17 , john White wrote:
> > john White  lawquest.com> writes:
> > 
> > 
> > 
> > 
> > I need some help here, guys.  I filed a brief yesterday without pleading
> > paper because I needed the multiple index feature more and the document as
> > filed had to be searchable. Will file another one today and still another
> > one tomorrow.  The remedy of putting pleading paper in the printer before
> > printing does not work in courts where the document must be searchable.
> > This is not at all ideal. If anyone on any version of lyx with any styles
> > of any nature is able to get lyx to both print the pleading paper
> > template mentioned above AND do an index, please advise and if possible
> > forward the code.  As indicated, mine (2.06) does a bang-up job with
> > either but errors out when I try to do both.