Math & Sciencetexmaker

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

texmaker

Post by zhanyzhaks »

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

texmaker

Post by Stefan Kottwitz »

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
LaTeX.org admin
zhanyzhaks
Posts: 4
Joined: Sat Dec 02, 2017 11:41 am

texmaker

Post by zhanyzhaks »

See the code example.

Code: Select all

\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.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

texmaker

Post by Stefan Kottwitz »

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
LaTeX.org admin
zhanyzhaks
Posts: 4
Joined: Sat Dec 02, 2017 11:41 am

texmaker

Post by zhanyzhaks »

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: 10335
Joined: Mon Mar 10, 2008 9:44 pm

texmaker

Post by Stefan Kottwitz »

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
LaTeX.org admin
zhanyzhaks
Posts: 4
Joined: Sat Dec 02, 2017 11:41 am

texmaker

Post by zhanyzhaks »

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: 10335
Joined: Mon Mar 10, 2008 9:44 pm

texmaker

Post by Stefan Kottwitz »

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
LaTeX.org admin
Post Reply