LyX ⇒ Margin material sharing figure blank space?
Margin material sharing figure blank space?
I'm writing my thesis and I'm trying to obtain a format like that:
To achieve that, I'm using the footmisc package with the [side] option, and the marginfix package to avoid notes slipping out of the page. I've even used the sidecap package trying the next layout:
Unfortunately, the only thing I've got is notes with the maximum height of text below figures, like the next:
Since I need big images and a great amount of notes, floating margin notes often jump to the following pages, even two or three pages forward. I've tried everything I've found in forums and LaTeX pages, without any success (floatrow, picins, floatflt, and so on). I guess the problem is something related to floating stuff, but I'm a newbie (and using LyX), and have not yet the required skills to achieve the goal. My last attempt was a kind of "hack" of the *wrapfig* environment, placing the wrapfigure with a 100% text width, and floating margin material did indeed climb the margin up, but sadly the figure pushed the first line of the paragraph to appear in the margin, overlapping the margin note, as shown next:
I'd like to attach a MWE for all of that, but as I've told, I'm using LyX and have a really complicated preamble. I'll really appreciate any suggestion. Thanks to all and apologies for my english.
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
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Margin material sharing figure blank space?
welcome to the board!
My first thought was, that unusual layouts may be hard to achieve, indeed. Common layouts are implemented and there are many classes and packages prepared.
Is it a fancy idea to put side captions into the margin, or a requirement? Do you know books in your field of science which do this? How do it the majority of the books?
I know that common style is to put captions above or below. More concrete, it's often the case that figure captions are below, and table captions are above, but this may vary.
If you really would like to implement this, I guess we actually need a MWE, as you mentioned, to test and to verify. We don't fear complicated preambles. It would just be good if you clean the preamble and remove nonrelevant packages and settings, i.e. create a copy of your document, which is much reduced but still compilable and shows the problem. This highly improves chances to get a solution. Otherwise the talk might be quite theoretically.
Stefan
Margin material sharing figure blank space?
I attach three MWEs, [1] have the appearance I wanted, but only works with short notes that don't invade the figure space. Example [2] shows how the side note jumps to another page when bigger; and [3] shows the wrapfigure "hack", the side note correct beside the figure, and the first line of the paragraph going wrongly into the margin. I've compiled all three succesfully with TeXWorks and pdflatex.
Re: Margin material sharing figure blank space?
Due to the lack of replies, do you think that this topic should be moved to a more LaTeX-specific forum instead of LyX's?
Thanks