LyX ⇒ Some General Concerns before starting
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
Some General Concerns before starting
Is the best way to typeset the book to start at the very beginning and go page by page? Or to do pieces, and then somehow conjoin them all together?
What happens at the end after you're done with the whole book and then decide you want to remove a few pictures towards the beginning of the book? Does it mess up the rest of the book?
It seems like it takes me 20 minutes sometimes to put all my tables and pictures in exactly the right places, and it would be a major pain to have to redo everything simply because of an edit towards the beginning of the book, which had the side-effect of adding or removing more space throughout the rest of the book and having to throw everything out of alignment and pushing images onto the following pages and leaving big spaces on the pages preceding the images...etc, etc.
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
Some General Concerns before starting
LaTeX handles this extremely well (LyX does not deserve any credit here). My advice would be to use whatever workflow you think is comfortable for you, whether that's linear or non-linear. Maybe give mindmapping software a try and then when you have your ideas figured out go to LyX. The only important thing for you, since you say that you are very picky, is that if you are going to make manual adjustments (like throwing in \vspace and \hspace commands and like getting the figures positioned right where you want them on the page), *do them at the end*. Normally LaTeX will do a good job without these manual adjustments. Resist the urge to tweak them (maybe make a LyX note to remind you to come back to it later) and do your tweaks, if you must, at the end.insipidtoast wrote: Is the best way to typeset the book to start at the very beginning and go page by page? Or to do pieces, and then somehow conjoin them all together?
What happens at the end after you're done with the whole book and then decide you want to remove a few pictures towards the beginning of the book? Does it mess up the rest of the book?
It seems like it takes me 20 minutes sometimes to put all my tables and pictures in exactly the right places, and it would be a major pain to have to redo everything simply because of an edit towards the beginning of the book, which had the side-effect of adding or removing more space throughout the rest of the book and having to throw everything out of alignment and pushing images onto the following pages and leaving big spaces on the pages preceding the images...etc, etc.
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Some General Concerns before starting
That's what LaTeX is able to handle for you. If you would have a look at scientific books with figures, figures have a caption with a number, and within the text they are referenced by this number. They don't need to be exact at the place where they are mentioned (otherwise you would not need the reference), they just should be near to the place, i.e. in the same chapter or even section, possibly at one of the following pages. A preferred place is at the top of pages, it lines up well with the text top in general then. You know, sometimes a picture or a big table just doesn't fit to the page, so it has to go to the next one, and following text should be used to fill up the page.insipidtoast wrote:It seems like it takes me 20 minutes sometimes to put all my tables and pictures in exactly the right places
In LyX and LaTeX, figures and tables are also called floats, because they can float to a good place from the typesetting view point. They float a bit through the text to an optimal position. One has to get used to it first, if one just knows the "word-like" workflow putting pictures at fixed positions in the source text, thus having to reposition a lot if there were changes. LyX and LaTeX can do it automatically.
Even better: you can tell LyX/LaTeX which kind of positioning you prefer: top, bottom, on separate pages, right here if possible, or exactly here. Have a look, open in the menu Documents / Settings:
Check the option you would like to use. Check "Ignore LaTeX rules" for very relaxed and "near" placement. But you could leave it unchecked. In that case, you still could fine tune the rules, such as telling how many floats are allowed to be at a page top, at the bottom, the total number of floats allowed on a page, the relation of amount of text and floats, the spacing between floats and texts, and many more. Perhaps come back here and ask in a new topic, if you have questions regarding fine tuning later on.
To get an impression of the sophisticated LaTeX mechanisms, have a quick look at the

Don't worry much about the layout during writing. I recommend to focus on the content, the layout can always be changed. And I agree with scottkosty: if tweaks are desired, do it at the very end, to not loose time doing it again and again.
Stefan
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
Re: Some General Concerns before starting
It sounds like the consensus is just to throw everything into LyX quickly, and apply some general format to it, and then go back later and fine tune little annoying things.
My question is this:
When going back to fine tune things, should I start at the beginning or is it OK to randomly fix things here and there.
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
Re: Some General Concerns before starting
So now there's a page with nothing on it except,
"And they...
lived happily ever after."
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Some General Concerns before starting
You can adjust the text height of a specific page by 2 lines by inserting LaTeX code (ERT) at this page:
Code: Select all
\enlargethispage{2\baselineskip}
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
Re: Some General Concerns before starting
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
Re: Some General Concerns before starting
For example, would creating a section with multicolumns be "fine tuning?"
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Some General Concerns before starting
I guess you mean the recommendation to make tweaks at the very end: well, you can do layout fine tuning in the preamble all the time, just postpone fine tuning in the document body to the final stage. Tuning, which could become obsolete because of other changes.
Creating a section with multicolumns is a normal layout work. When you know you need it, do it.
Stefan
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
Some General Concerns before starting
This may sound like a dumb question based on the name of the command you mentioned, but do I need to enter anything else to make sure the command doesn't affect other pages?Stefan_K wrote:Also this I would tweak at the end - it's possible that you later change page dimension again, or the font, and the problem might disappear, an earlier madex fix could be bad then.
You can adjust the text height of a specific page by 2 lines by inserting LaTeX code (ERT) at this page:
StefanCode: Select all
\enlargethispage{2\baselineskip}
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class