LaTeX forum ⇒ Math & Sciencetexmaker

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

Postby zhanyzhaks » Sat Dec 02, 2017 12:16 pm

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.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8523
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sat Dec 02, 2017 3:27 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 Infominimal 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
Site admin

zhanyzhaks
Posts: 4
Joined: Sat Dec 02, 2017 11:41 am

Postby zhanyzhaks » Sat Dec 02, 2017 7:07 pm

See the code example.
  1. \documentclass {article}
  2. \usepackage{graphicx}
  3. \usepackage{pstricks}
  4. \begin{document}
  5. (text1)
  6. \begin{table}
  7. \begin{center}
  8. \begin{tabular}
  9. (table formed)
  10. \end{tabular}
  11. \end{center}
  12. \end{table}
  13. (text2) .
  14. \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

User avatar
Stefan Kottwitz
Site Admin
Posts: 8523
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sat Dec 02, 2017 7:14 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
Site admin

zhanyzhaks
Posts: 4
Joined: Sat Dec 02, 2017 11:41 am

Postby zhanyzhaks » Sat Dec 02, 2017 9:54 pm

The text2 only appeared below the table when I put it before \end{table}.
What about TeXnicCenter that could not upload figure?
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.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8523
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sat Dec 02, 2017 10:58 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
Site admin

zhanyzhaks
Posts: 4
Joined: Sat Dec 02, 2017 11:41 am

Postby zhanyzhaks » Sun Dec 03, 2017 1:13 pm

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 8523
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sun Dec 03, 2017 1:47 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 Infominimal 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
Site admin


Return to “Math & Science”

Who is online

Users browsing this forum: No registered users and 5 guests