## LaTeX forum ⇒ Math & Science ⇒ texmaker

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
zhanyzhaks
Posts: 4
Joined: Sat Dec 02, 2017 11:41 am

### texmaker

Please I'm using texmaker but when I insert a picture, the rest of the text below will not appear. Again, if I type text after inserting a table, the text will not appear below when viewed with pdf. Can someone help me out? Thanks.

Stefan Kottwitz
Posts: 9235
Joined: Mon Mar 10, 2008 9:44 pm
Hi,

welcome to the forum!

From this part: "the text will not appear below when viewed with pdf" I assume that you mean an issue with the output, not text doesn't appear in the editor (Texmaker).

Can you show us the code? Because the code matters, LaTeX translates the code, while Texmaker just helps editing and saves it and calls pdfLaTeX. Please show us code in the meaning of a minimal working example, so compilable, that demonstrate the problem. That's because text in the code would appear by default, but your code obviously hides some problem.

Stefan

zhanyzhaks
Posts: 4
Joined: Sat Dec 02, 2017 11:41 am
See the code example.
\documentclass {article} \usepackage{graphicx} \usepackage{pstricks} \begin{document} (text1) \begin{table} \begin{center} \begin{tabular} (table formed) \end{tabular} \end{center} \end{table} (text2) .\end{document}

But the text2 will not appear below the table. And if I insert a figure before text2,the text will not appear at all when viewed in pdf format. Thanks
Last edited by Stefan Kottwitz on Sat Dec 02, 2017 7:11 pm, edited 1 time in total.
Reason: code marked

Stefan Kottwitz
Posts: 9235
Joined: Mon Mar 10, 2008 9:44 pm
This example is not compilable. You show just untested code. It brings an error because the tabular options are missing, before "(table formed)".

It's better to speak about real code (without private text, just filler text).

If I fix that code, text2 appears below the table.

Stefan

zhanyzhaks
Posts: 4
Joined: Sat Dec 02, 2017 11:41 am
The text2 only appeared below the table when I put it before \end{table}.
With the above preamble, I typed
\begin{figure} [h]
\includegraphics[scale=0.5]{filename.JPEG}
\caption{my pics} \label{fig. 1}
\end{figure}.
With this, the figure could not appear but all other documents appeared.

Stefan Kottwitz
Posts: 9235
Joined: Mon Mar 10, 2008 9:44 pm
There's no problem with this description. There's possibly an error in the code, that you did not show yet. Perhaps post your complete code. You can post it without personal text, just so, that it can be tested to see the problem occur.

Stefan

zhanyzhaks
Posts: 4
Joined: Sat Dec 02, 2017 11:41 am
Please what could be the possible cause of this problem, "table environment with figures is not obeying the margin". Some text will even be appearing on the page number. Some text when page is filled up are hidden. But this problem does not affect my chapter 1-3 where I write plain text and maths equations. The problem is chapter 4 where it contains tables and figures.
Please I need code that will solve this problem for me. Thank you in anticipation

Stefan Kottwitz
Posts: 9235
Joined: Mon Mar 10, 2008 9:44 pm
There can be many reasons. Some of your code is causing it, but you don't tell us the code. So I cannot provide code to fix ist.

If somebody posts a minimal working example, so code to reproduce an error, I can fix it in 999 of 1000 times.

Without code, it's just talking. Perhaps your figure or table is too big, or the page geometry settings (margins, head height, footer height) are wrong.

Stefan