Re: Adding horizonal lines for user entry

2023-09-17 Thread Rich Shepard

On Sun, 17 Sep 2023, Tobias Hilbricht wrote:


\hrulefill (and \dotfill and others) are available in LyX via Insert ->
Formatting -> Horizontal Space -> Choose "Variable horizontal space" and a
fill and place this into a minipage. The visual feedback in LyX - two
vertical blue thin lines - does not really mirror the result in the
compiled document.


Tobias,

Thanks. This is the first time I've needed to provide text entry lines in a
document.

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding horizonal lines for user entry

2023-09-17 Thread Tobias Hilbricht
Am Freitag, dem 15.09.2023 um 20:15 +0200 schrieb Herbert Voss:
> 
> 
> Am 15.09.23 um 20:02 schrieb Rich Shepard:
> > 
> > 
> > Signature:
> > _
> > 
> > Printed Name:
> > __
> > 
> > Organization:
> > __
> > 
> > Date Submitted:
> > 
> 
> Rich,
> insert a box (minipage) of a width like 50% of the textwidth, which
> can 
> be set
> in the box menue. And then use \hrulefill
> 
> Herbert

\hrulefill (and \dotfill and others) are available in LyX via Insert ->
Formatting -> Horizontal Space -> Choose "Variable horizontal space"
and a fill and place this into a minipage. The visual feedback in LyX -
two vertical blue thin lines - does not really mirror the result in the
compiled document. 

If you need this function oftentimes, like I do for exam papers or
feedback forms at school, you can define key combinations in LyX:

Tools -> Settings -> Edit -> Key combinations -> New

Copy the following into "Function" and assign a key combination:

inset-insert space \hrulefill{}

Tobias

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding horizonal lines for user entry

2023-09-16 Thread Herbert Voss




Am 16.09.23 um 00:27 schrieb Rich Shepard:

On Fri, 15 Sep 2023, Herbert Voss wrote:

insert a box (minipage) of a width like 50% of the textwidth, which 
can be

set in the box menue. And then use \hrulefill


That worked perfectly. By trial-and-error I learned how to set the 
width and

height. Setting the height to 5mm provides room for hand written input. I
adjusted the textwidth % to make the lines even (but I now see the 
last one

is 1 or 2mm too long; I'll fix that.)


Rich,
without an example it is difficult to say, why the last line
is not justified.

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding horizonal lines for user entry

2023-09-15 Thread Rich Shepard

On Fri, 15 Sep 2023, Herbert Voss wrote:


insert a box (minipage) of a width like 50% of the textwidth, which can be
set in the box menue. And then use \hrulefill


Herbert,

That worked perfectly. By trial-and-error I learned how to set the width and
height. Setting the height to 5mm provides room for hand written input. I
adjusted the textwidth % to make the lines even (but I now see the last one
is 1 or 2mm too long; I'll fix that.)

The output is attached.

Best regards,

Rich

signature-block.pdf
Description: Adobe PDF document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding horizonal lines for user entry

2023-09-15 Thread Dr Eberhard W Lisse
I usually create tables but this works even better.

el

On 15/09/2023 20:15, Herbert Voss wrote:
> Am 15.09.23 um 20:02 schrieb Rich Shepard:
>> I need to add lines for a signature, printed neme, and other data in
>> a report document.  I'm using the description environment for the
>> data names to be entered.
[...]
> Rich,
> insert a box (minipage) of a width like 50% of the textwidth, which
> can be set in the box menue.  And then use \hrulefill
> 
> Herbert
> 

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding horizonal lines for user entry

2023-09-15 Thread Rich Shepard

On Fri, 15 Sep 2023, Herbert Voss wrote:

insert a box (minipage) of a width like 50% of the textwidth, which can be 
set in the box menue. And then use \hrulefill


Herbert,

Thank you. That hadn't occurred to me.

Best regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Adding horizonal lines for user entry

2023-09-15 Thread Rich Shepard

I need to add lines for a signature, printed neme, and other data in a
report document. I'm using the description environment for the data names to
be entered.

\hrule places a text width line above the data name.

How can I place these lines so they look like this:

Signature: _

Printed Name: __

Organization: __

Date Submitted: 

Thanks in advance,

Rich

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users