Graphics, Figures & Tables ⇒ tables, graphs
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
tables, graphs
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: tables, graphs
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
tables, graphs
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: tables, graphs
Does any body know why this is happening and what can I do abaut it? I check for updates and it is not better.
- Attachments
-
- untitledfkskflssd.JPG (79.36 KiB) Viewed 4604 times
- Stefan Kottwitz
- Site Admin
- Posts: 10350
- Joined: Mon Mar 10, 2008 9:44 pm
tables, graphs
TeX Live offers a huge amount of packages, which can be installed using a package manager.
Stefan
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
tables, graphs
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: tables, graphs
Can table be move on the latex page? (I know floating options, but there you can just move it at top, bottom,.. Is it possible to locate table more specifically)?
- Stefan Kottwitz
- Site Admin
- Posts: 10350
- Joined: Mon Mar 10, 2008 9:44 pm
tables, graphs
ditka wrote:Can you please tell how width of columns is changed?
c
, l
and r
columns are automatically adjusted. Use a p
column for paragraph cells with a specific width, such as
Code: Select all
\begin{tabular}{p{3cm}}
Automatic (floating) placement is better for automatic page breaks. If you would like to do it manually, you may have to move the table code around when page breaks need to be adjusted. However, you can do it, manually placing - have a look at Prevent floating of figures or tables for a summary of options.ditka wrote:Can table be move on the latex page? (I know floating options, but there you can just move it at top, bottom,.. Is it possible to locate table more specifically)?
Stefan
tables, graphs
I know that. I mean how can be change in that kind of tables:Stefan_K wrote:ditka wrote:Can you please tell how width of columns is changed?c
,l
andr
columns are automatically adjusted. Use ap
column for paragraph cells with a specific width, such asStefanCode: Select all
\begin{tabular}{p{3cm}}
localghost wrote:
Code: Select all
\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} \begin{tikzpicture} \matrix (matrix) [ matrix of nodes, nodes in empty cells, nodes={anchor=base,minimum size=2em} ] { |[draw]| & |[draw]| & |[draw]| & |[draw]| & |[draw]| \\ a & b & c & d & e \\ }; \end{tikzpicture} \end{document}
Code: Select all
\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} \begin{tikzpicture} \matrix (matrix) [ matrix of nodes, nodes in empty cells, nodes={anchor=center,minimum size=2em}, row sep=0em ] { a & |[draw]| \\ b & |[draw]| \\ c & |[draw]| \\ d & |[draw]| \\ }; \end{tikzpicture} \end{document}
Code: Select all
\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} \begin{tikzpicture} \matrix (matrix) [ matrix of nodes, nodes in empty cells, nodes={anchor=center,draw,minimum size=2em}, ] { & & & & & & & \\ }; \node[anchor=north] at (matrix.south) {Text}; \end{tikzpicture} \end{document}