Re: Seperate Page for the Document Title and Abstract

2018-04-11 Thread Rich Shepard

On Wed, 11 Apr 2018, Aaron Brülisauer wrote:


A seperate cover is required. A Din A4 page with my works title, my
name, company name, and even more informations about my apprenticeship.

After the abstract has to be a page breack because it's followed by the
table of contents. A third page break is required after the table of
contents.



I have tried to insert a page break via "insert -> formatting -> new
page". This breaks my formatting: screenshot_2.png


Aaron,

  I've used (via ERT) \newpage without any problems when the page break is
in the wrong place. I'm not familiar with the class you're using as I use
the KOMA-Script classes where the report and book classes allow for a
separate title page. Anyway, if worse comes to worst, I'd make the title
page a separate PDF document then prepend it to the rest of your work using
pdftk (the PDF toolkit) or a similar tool.


I have a second problem:

I'm using programm listings. Sometimes they get splitt over 2 pages.
This is not generaly a problem, only if it happens like this:
screenshot_3.png

How can I avoid it?


  Since there appears to be only a single line on the following page I would
place \vspace{-10em} or some other value/unit above the code box to move it
slightly higher on the page.

  Others probably have better soluctions for both issues than I have and
they'll share them with you.

Regards,

Rich


Re: Smaller font in floats in the working area

2018-04-11 Thread racoon

On 09/04/2018 11:25, Guenter Milde wrote:

On 2018-04-05, racoon wrote:

Hi,



Is it possible to get a smaller font for floats in the working area? So,
I don't want to change the LaTeX output but the float inset. For
example, larger tables often would fit better with a smaller font.


This should be possible with a custom layout or module. See
Help>Customization.


Thanks. A bit more specific information would be very helpful.

One can use

Font [or LabelFont or DefaultFont]
  Size small
EndFont

to set the font size to small. However, this is not recognized within 
the Float layout. Please correct me if I am wrong.


Maybe I could write a new inset for floats but I guess I would lose some 
functionality that way, like the positioning via the label menu.


So maybe you had something else in mind?

Best,
Daniel


Re: which document class?

2018-04-11 Thread Paul A. Rubin

On 04/10/2018 07:41 AM, Aaron Brülisauer wrote:

Hello

Right now I'm still reading the Tutorial and I reached the section
"Document Classes". I have tried multiple ones with my "first_document.lyx".
I'll have to write a documentation for system engeneer degree. I have to
documentate a installation and configuration of a document sync solution
(Nextcloud). I'm new to LyX and don't know much about LateX. What class
would you choose? It should just do the work and nothing more. Simple,
easy to use. The right thing for a beginner.
I have found some Classes which look like something I could use: Report,
Paper, Article.
What are "KOMA-script-"?

Salutations
Aaron

The simplest class to use is Article. I always start with that. If you 
need to have chapters, though, Article won't work. In that case, you can 
try Report or Book.


Paul



Show shortcuts in menus

2018-04-11 Thread Sasson Technoligies
hi all,

I'm using LyX Version 2.2.3 Windows 10.
>From some reason the keyboard shortcuts are not shown in the different
menus.
and i can see in screenshots and tutorial of other users that they did
appear in the menus.

i couldn't find any option in the preferences to show shortcuts in the menus
and couldn't find any answer in the archive nor in the wiki docs.


hope you can help me with that
(it's grueling to google every shortcut)

thanks


Re: Seperate Page for the Document Title and Abstract

2018-04-11 Thread Michael Berger

Hello Aaron,

I feel this is your first document produced with LyX and thus would 
recommend you to first of all try a template that is not too complicated 
yet *providing a rich set of predefined standards* (which I feel you may 
need), e. g. KOMA-Script Article or KOMA.Script Report.


File > New > Document > Settings  > Document Class and then select 
either one of the two above  KOMA-Script Classes from the list.


In LyX open the Standard drop-down menu (top left) and see if the 
predefined settings shown in the drop-down list do suit your needs.


Good luck,

Michael


On 11.04.2018 10:38, Aaron Brülisauer wrote:

Hello


I have found a document class which works for me (AMS Aufsatz - I don't
know the English name). I'm working on my Document and like what I get.
The only Problem I have is:

A seperate cover is required. A Din A4 page with my works title, my
name, company name, and even more informations about my apprenticeship.

After the abstract has to be a page breack because it's followed by the
table of contents. A third page break is required after the table of
contents.

How it looks now: screenshot_1.png

I have tried to insert a page break via "insert -> formatting -> new
page". This breaks my formatting: screenshot_2.png

I have activated the modul "Benutzerdefinierte Kopf- und Fusszeile"
(translation: User defined header and footer) and set the header how it
has to be for my documentation (date, title, writer).

How can I manipulate this formatting behaviour?


I have a second problem:

I'm using programm listings. Sometimes they get splitt over 2 pages.
This is not generaly a problem, only if it happens like this:
screenshot_3.png

How can I avoid it?


Salutations

Aaron





Re: Show shortcuts in menus

2018-04-11 Thread Paul A. Rubin

On 04/11/2018 02:12 PM, Richard Kimberly Heck wrote:

On 04/11/2018 01:37 PM, Paul A. Rubin wrote:
Display of shortcuts in the menus is hit and miss at best. In LyX 
2.3.0 (on Linux), I get shortcuts for most of the entries in the Edit 
menu but only one in the Insert menu.


I'm not sure many of the Insert entries have shortcuts (other than the 
menu accellerators themselves).
Good point. Many of the submenu items do come with shortcuts. What 
caught my eye was that Insert > Math had no shortcuts at all. That might 
be correct for a lot of the items, but the top two (Inline/Display 
Formula) are bound to Ctrl+M and Ctrl+Shift+M in cua.bind, and I use 
those shortcuts quite frequently.


Paul


Re: Show shortcuts in menus

2018-04-11 Thread Richard Kimberly Heck
On 04/11/2018 01:37 PM, Paul A. Rubin wrote:
> On 04/11/2018 11:23 AM, Sasson Technoligies wrote:
>> hi all,
>>
>> I'm using LyX Version 2.2.3 Windows 10.
>> From some reason the keyboard shortcuts are not shown in the
>> different menus.
>> and i can see in screenshots and tutorial of other users that they
>> did appear in the menus.
>> i couldn't find any option in the preferences to show shortcuts in
>> the menus
>> and couldn't find any answer in the archive nor in the wiki docs.
>> hope you can help me with that
>> (it's grueling to google every shortcut)
>> thanks
>>
> Display of shortcuts in the menus is hit and miss at best. In LyX
> 2.3.0 (on Linux), I get shortcuts for most of the entries in the Edit
> menu but only one in the Insert menu.

I'm not sure many of the Insert entries have shortcuts (other than the
menu accellerators themselves).

> That said, if you're missing shortcuts for entries where other people
> see them, that's a bug.

It'd be nice to know if other Windows users see them.

> Meanwhile, I can suggest a partial workaround (that might let Google
> catch its breath). In LyX, click Tools > Preferences... > Editing >
> Shortcuts, which will display a list of the shortcuts defined in the
> bind file you are using. You can leave the dialog open while you are
> editing a document. The "Show key-bindings containing:" box will let
> you search either by key combination (enter "Ctrl + M", find out it's
> bound to math-mode, which starts an inline equation) or by function
> (enter "math-mode", find out the shortcut is "Ctrl+M"). The latter
> part is not entirely helpful if you don't know what the LyX name for
> the function is, but worst case you can enter a partial name for the
> function (say, "math") and get a list of possibilities. It won't
> necessarily keep you away from Google entirely, but it might help.

And note that you can look at Help> LyX Functions for a list of things
that might have shortcuts.

Riki



Re: Show shortcuts in menus

2018-04-11 Thread Paul A. Rubin

On 04/11/2018 11:23 AM, Sasson Technoligies wrote:

hi all,

I'm using LyX Version 2.2.3 Windows 10.
From some reason the keyboard shortcuts are not shown in the different 
menus.
and i can see in screenshots and tutorial of other users that they did 
appear in the menus.
i couldn't find any option in the preferences to show shortcuts in the 
menus

and couldn't find any answer in the archive nor in the wiki docs.
hope you can help me with that
(it's grueling to google every shortcut)
thanks

Display of shortcuts in the menus is hit and miss at best. In LyX 2.3.0 
(on Linux), I get shortcuts for most of the entries in the Edit menu but 
only one in the Insert menu. That said, if you're missing shortcuts for 
entries where other people see them, that's a bug.


Meanwhile, I can suggest a partial workaround (that might let Google 
catch its breath). In LyX, click Tools > Preferences... > Editing > 
Shortcuts, which will display a list of the shortcuts defined in the 
bind file you are using. You can leave the dialog open while you are 
editing a document. The "Show key-bindings containing:" box will let you 
search either by key combination (enter "Ctrl + M", find out it's bound 
to math-mode, which starts an inline equation) or by function (enter 
"math-mode", find out the shortcut is "Ctrl+M"). The latter part is not 
entirely helpful if you don't know what the LyX name for the function 
is, but worst case you can enter a partial name for the function (say, 
"math") and get a list of possibilities. It won't necessarily keep you 
away from Google entirely, but it might help.


Also, if it's any consolation, the shortcuts you use most often will 
eventually stick in memory.


Paul



Re: Formatting name/date to be filled by others

2018-04-11 Thread Rich Shepard

On Wed, 11 Apr 2018, Steve Litt wrote:


Why not use sixteen consecutive underscores?


SteveT,

  Because 1) it doesn't look as good when typeset and b) \rule{}{} allows
fine control over length and line width.

Rich


Re: which document class?

2018-04-11 Thread Steve Litt
On Tue, 10 Apr 2018 13:41:52 +0200
Aaron Brülisauer  wrote:

> Hello
> 
> Right now I'm still reading the Tutorial and I reached the section
> "Document Classes". I have tried multiple ones with my
> "first_document.lyx". I'll have to write a documentation for system
> engeneer degree. I have to documentate a installation and
> configuration of a document sync solution (Nextcloud). I'm new to LyX
> and don't know much about LateX. What class would you choose? It
> should just do the work and nothing more. Simple, easy to use. The
> right thing for a beginner. I have found some Classes which look like
> something I could use: Report, Paper, Article.
> What are "KOMA-script-"?
> 
> Salutations
> Aaron
> 

If you're writing a book-like thing, I'd highly recommend the Book
document class over stuff like Memoir and Koma. My experience is that
Memoir and Koma are nice at first, but start conflicting with stuff
when you go to further customize your Document Class.

If you learn the Book class thoroughly, you'll get to the point where
you can make layout files to modify and add what you need for your
particular book.

I used Memoir as the basis for my 2007 "Twenty Eight Tales of
Troubleshooting", and had so much trouble that from then on I made it a
policy to base all my books off the Book document class, and modify it
from there.

If you're writing an article, use Article. If you're writing a letter,
use Letter (or better yet imho use LibreOffice). 

If your documentation is more than 50K words, I'd recommend the Book
class, with your own customizations as specified by those your handing
your documentation to.

SteveT

Steve Litt 
April 2018 featured book: Troubleshooting Techniques
 of the Successful Technologist
http://www.troubleshooters.com/techniques


Re: Formatting name/date to be filled by others

2018-04-11 Thread Steve Litt
On Tue, 10 Apr 2018 16:18:41 -0700 (PDT)
Rich Shepard  wrote:

>Before I re-invent the wheel I want to discover if there are
> existing tools to provide for entry of name, signature, and date to
> be filled in on a printed copy of the document page. Specifically,
> this is for project proposal acceptance and should look something
> like this (in fixed-space font):
> 
>  Name (printed): ___  Date: _
> 
>  Signature: 
> 
>Of course, \hspace{} and \vspace{} will place these appropriately.
> What I seek is a way to add the solid underline for a defined length
> and at a specified place. Would \hfill{} be the appropriate macro?
> I've used it to place spaces but not baselines.

Why not use sixteen consecutive underscores?

SteveT

Steve Litt 
April 2018 featured book: Troubleshooting Techniques
 of the Successful Technologist
http://www.troubleshooters.com/techniques


Re: Formatting name/date to be filled by others

2018-04-11 Thread Rich Shepard

On Wed, 11 Apr 2018, Cris Fuhrman wrote:


An alternative is to use a table.


Chris,

  There are three items: printed name, signature, and date. The \rule{}{}
macro is perfect for this. Spacing on the page using \vspace{} and \hspace{}
place each item appropriately.

Thanks,

Rich


Re: Formatting name/date to be filled by others

2018-04-11 Thread Cris Fuhrman
Hi Rich,

An alternative is to use a table. The labels (Name, Date, etc) are in cells
that have no borders, and the other parts are in cells with borders on the
bottom. Of course you have to play with widths of columns, but this
approach is more form-like and it's easier to perceive (WYSIWYM) in LyX
than ERTs that won't show till you view in PDF or whatever.

Cheers,

C. Fuhrman

On Tue, Apr 10, 2018 at 7:18 PM, Rich Shepard 
wrote:

>   Before I re-invent the wheel I want to discover if there are existing
> tools to provide for entry of name, signature, and date to be filled in on
> a
> printed copy of the document page. Specifically, this is for project
> proposal acceptance and should look something like this (in fixed-space
> font):
>
> Name (printed): ___ Date: _
>
> Signature: 
>
>   Of course, \hspace{} and \vspace{} will place these appropriately. What I
> seek is a way to add the solid underline for a defined length and at a
> specified place. Would \hfill{} be the appropriate macro? I've used it to
> place spaces but not baselines.
>
> Rich
>