LaTeX alignment and orientation

Click For Summary

Discussion Overview

The discussion revolves around issues related to figure alignment and text orientation in LaTeX while writing a thesis report. Participants explore various methods to achieve a desired layout where text and figures are interspersed in a specific order.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Conceptual clarification

Main Points Raised

  • One participant expresses frustration with LaTeX's handling of figure placement, noting that figures often appear in unexpected locations, disrupting the flow of text.
  • Another participant suggests that using the command \begin{figure}[h] may not yield the desired results and proposes considering placing figures on separate pages to improve alignment.
  • A different participant acknowledges that figures sometimes move far from their corresponding text, which complicates the reader's ability to connect the two.
  • One participant elaborates on the design philosophy behind LaTeX, arguing that it is intended to prioritize readability and layout over author control, which may lead to frustration for users.
  • Another participant mentions a "nuclear option" involving the use of the \usepackage{float} command to force figure placement, while cautioning that this may lead to unintended layout issues.
  • A participant agrees with the previous comments but notes that attempts to resolve the issue have resulted in a messy document, suggesting a preference for accepting some layout imperfections over compromising overall document quality.

Areas of Agreement / Disagreement

Participants express a mix of agreement and disagreement regarding LaTeX's figure placement behavior. While some acknowledge the challenges and limitations of controlling layout, others propose different strategies without reaching a consensus on the best approach.

Contextual Notes

Participants highlight the limitations of LaTeX's figure placement algorithms and the potential for documents to become disorganized when attempting to enforce specific layouts.

bhaazee
Messages
79
Reaction score
0
LaTeX Help!

Currently I writing my Thesis report using LaTeX. I have been noticing the following problem.

I need the figures and text to be aligned in a page in the following orientation

text
figure
text
figure

However, what I obtain is

figure
text
text
figure

At times, this gets frustrating. Sometimes the figure jumps to the end of the next page. Tried out googling. Yet to find a proper solution. Would be helpful, if someone could suggest me a proper solution

Regards
 
Last edited:
Physics news on Phys.org


LaTeX is very ... sure ... about where figures should be.

If \begin{figure}[h] does not help, then it will be very difficult. Shifting paragraphs before or after the figure has some effect, but control is imprecise at best.

Why do you want the figures to be arranged exactly like this? You might have more luck with the two figures on a page of their own, opposite of the corresponding text.
 


well, as mentioned sometimes the figure moves completely away from the describing text. Have to drift over a couple of pages to co-relate the image with the text. Of course, images or text getting drifting by half a page is acceptable.
 


M Quack said:
LaTeX is very ... sure ... about where figures should be.
Better said, the developers of TeX and LaTeX were very sure that most authors are clueless regarding where figures should be. The algorithms were carefully constructed based on feedback from publishers and readability experts. It's a human factors thing. Most authors are clueless about human factors such as readability. Publishers are highly attuned to readability. An unreadable journal is unreadable. It won't last long.
bhaazee said:
At times, this gets frustrating.
LaTeX frees you from worrying about layout. You are fighting the very mechanisms that let you not have to worry about layout. Don't fight it. Look at it is liberating instead. If you don't have to worry about layout you will be able to focus on content. It's the content that's important.

Look at it this way: Suppose you publish a journal paper based on your thesis. Your submission must have the figures and tables completely separated from the paper proper in many journals. The publishers give the authors no say whatsoever regarding placement.
 


What D.H. said.

You can try the "nuclear option"
Code:
\usepackage{float}
...
\begin{document}
...
\begin{figure}[H]

But your next post might be a complaint that LaTeX did exactly what you told it to, and half your figure disappeared off the bottom of the page :smile:
 


well. I do agree with you guys. I tried some options. But unfortunately the document is getting messy. Better to take in few bad pages rather than losing many better pages.

Thanks both of you for your comments.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 11 ·
Replies
11
Views
8K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
Replies
7
Views
1K
  • · Replies 5 ·
Replies
5
Views
5K