Re: Inserting picture on all corners of a sheet

2017-05-04 Thread Paul Smith
On Thu, May 4, 2017 at 1:35 PM, Paul Smith  wrote:
>
> I would like to insert a picture on every corner of a sheet (the same
> picture on all corners). How can one do that?

I have meanwhile found out that the LaTeX package

textpos

does what I was needing to do:

https://www.ctan.org/pkg/textpos?lang=en

Paul


Re: No print icon in Debian Stretch lyx 2.2.2

2017-05-04 Thread Richard Heck
On 05/03/2017 07:51 PM, Paul A. Rubin wrote:
> On 05/03/2017 07:42 PM, John White wrote:
>> On Tuesday, May 2, 2017 10:52:53 AM PDT John White wrote:
>>> I upgraded from Jessie to Stretch and now there is no print icon in
>>> lyx.
>>> Cntrl-d brings up xdvik and renders a dvi file.  Pushing cntrl-P in
>>> xdvik
>>> says it prints, but it doesn't.   So I have to export to pdf to print.
>>>
>>> Any suggestions as to how I might get a print option in lyx?
>>>
>>> John
>> I got xdvki/dvi to print fine (my alert IT guy added a missing
>> dependency), so
>> only question now is:  what happened to the print icon in lyx?  It
>> used to be
>> in the "File" dropdown menu.  Its no huge deal as now to print I
>> press cntrl-d
>> and then cntrl-p, instead of just cntrl-p as before, but it still seems
>> strange that there is no print icon in my lyx 2.2.2.
>>
>>
>>
> I believe Richard Heck answered this (but I've deleted my copy of the
> message). IIRC, he said that direct printing had been removed from LyX
> due to a combination of very few people using it and it being a PITA
> for the devs. 

One problem was that it had a ton of options that, again, seemed rarely
to be used. In a way, the more serious problem was that it was tightly
tied to DVI, so no PDF-specific features could be used.

> Personally, I never used it and never noticed it was gone. The
> "official" way to print now is to compile and view the document (which
> ctrl-D in LyX does for you) and then print it from the viewer (which
> ctrl-P apparently does in xdvik).

As I also mentioned, it's possible to restore printing, in a way, if one
wants to do so. The short version is:
1. Use Tools> Preferences> File Handling> File Formats to create a
new "Print" format.
2. Use Tools> Preferences> File Handling> Converters to define a new
(say) DVI --> Print converter. Define the converter as whatever command
line you might use to print. You can define a shortcut for this now if
you like.

Richard



Re: How to insert a colored frame around a sub-matrix of matrix?

2017-05-04 Thread Paul Smith
On Sat, Apr 1, 2017 at 3:23 PM, Paul Smith  wrote:
>>
>> How to insert a colored frame around a sub-matrix of matrix? I am
>> using the \bmatrix environment.
>
> I have meanwhile found out a solution to my own problem, which I will
> post later.

As promised, I am attaching here an example. Please, notice the LaTeX preamble.

Paul


example_colored_frame_submatrix.lyx
Description: application/lyx


Inserting picture on all corners of a sheet

2017-05-04 Thread Paul Smith
Dear All,

I would like to insert a picture on every corner of a sheet (the same
picture on all corners). How can one do that?

Thanks in advance,

Paul