Graphics, Figures & Tablestables, graphs

Information and discussion about graphics, figures & tables in LaTeX documents.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

tables, graphs

Post by localghost »

Should PCTeX be a software that is undocumented? If it doesn't let you update the packages, migrate to another (and free) TeX distribution like TeX Live or MiKTeX. There you won't have problems with an up-to-date TeX system.

Recommended reading 2024:

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

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

ditka
Posts: 85
Joined: Fri Jul 13, 2012 11:59 am

Re: tables, graphs

Post by ditka »

Yes, but I do not know wich packages I need, or were can I find them?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

tables, graphs

Post by localghost »

You need at least the current version of the pgf bundle (which contains the »tikZ« package and several additional libraries).
ditka
Posts: 85
Joined: Fri Jul 13, 2012 11:59 am

Re: tables, graphs

Post by ditka »

And how can I get them?
ditka
Posts: 85
Joined: Fri Jul 13, 2012 11:59 am

Re: tables, graphs

Post by ditka »

I have the same problems typesetting other documents too.

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
untitledfkskflssd.JPG (79.36 KiB) Viewed 4604 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10350
Joined: Mon Mar 10, 2008 9:44 pm

tables, graphs

Post by Stefan Kottwitz »

Using PCTeX, you depend on support by the company which produced it. I would choose TeX Live, which is maintained and published by the international TeX Users Group. Since this is available for free and used by a lot of TeX users, I guess it's easier to get help with it.

TeX Live offers a huge amount of packages, which can be installed using a package manager.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

tables, graphs

Post by localghost »

For technical questions like package maintenance I'd suggest to ask for help in the PCTeX forum. To avoid such problems you should think about migrating to another TeX distribution as you have already been advised by Stefan and me.
ditka
Posts: 85
Joined: Fri Jul 13, 2012 11:59 am

Re: tables, graphs

Post by ditka »

OK. Can you please tell how width of columns is changed?

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

tables, graphs

Post by Stefan Kottwitz »

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}}
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)?
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.

Stefan
LaTeX.org admin
ditka
Posts: 85
Joined: Fri Jul 13, 2012 11:59 am

tables, graphs

Post by ditka »

Stefan_K wrote:
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}}
Stefan
I know that. I mean how can be change in that kind of tables:
localghost wrote:
  1. 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}
  2. 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}
  3. 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}
Post Reply