Graphics, Figures & TablesGreek Letters in Table for Presentation

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Bogdan
Posts: 4
Joined: Fri Jun 14, 2013 6:54 pm

Greek Letters in Table for Presentation

Post by Bogdan »

Hello everyone,

I'm making a beamer presentation and I try to create a table of this type .

Code: Select all

\begin{table}
  \begin{tabular}{l l l}
    \toprule
    \textbf{Parameter} & \textbf{Value assigned} & \textbf{Definition}\\
    ...
    ...
    \bottomrule
  \end{tabular}
\end{table}
I cannot create parameters like \bar{\omega} or \pi or F(\omega). Instead it shows a black space. What command do I need to add/change?


Many thanks.
Last edited by localghost on Fri Jun 14, 2013 7:05 pm, edited 1 time in total.

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Greek Letters in Table for Presentation

Post by localghost »

The Greek letters you are trying to typeset are math symbols, thus need (in-line) math mode enabled. If that doesn't help, kindly prepare a self-contained and minimal example to give an adequate problem description and to stop guesswork and speculations.


Best regards and welcome to the board
Thorsten
Bogdan
Posts: 4
Joined: Fri Jun 14, 2013 6:54 pm

Greek Letters in Table for Presentation

Post by Bogdan »

It's nice to be on board :)

Here is my code with the problem.

Code: Select all

\documentclass[10,draft]{beamer}
\usetheme{Warsaw}

\usepackage{graphicx} % Allows including images
\usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables

\title[]{} % The short title appears at the bottom of every slide, the full title is only on the title page
\author{} % Your name
\institute[]{ % Your institution as it will appear on the bottom of every slide, may be shorthand to save space
  \\ % Your institution for the title page
  \medskip
  \textit{} % Your email address
}
\date{} % Date, can be changed to a custom date

\begin{document}

\begin{frame}
  \titlepage % Print the title page as the first slide
\end{frame}

\begin{frame}[shrink]
  \frametitle{Table of calibrated parameters}
  \begin{table}
    \begin{tabular}{l l l}
      \textbf{Parameter} & \textbf{Value} & \textbf{Definition}\\
      \midrule
      \alpha     & 0.3 & \\
      \beta      & 0.99 & \\
      F(\bar{\pi})        &0.01 & PROBLEM\\ %PROBLEMMMMMMMMMMMMMMMMMMMMMM
      \tilde{\mu}& 32&PROBLEM \\ %PROBLEMMMMMMMMMMMMMMMMMMMMMM
      \bar{\pi}  & 11 & PROBLEM\\%PROBLEMMMMMMMMMMMMMMMMMMMMMM
    \end{tabular}
  \end{table}
\end{frame}
\end{document}
I'm really running out of time. Can you please tell me what command to add?
Last edited by localghost on Fri Jun 14, 2013 7:32 pm, edited 1 time in total.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Greek Letters in Table for Presentation

Post by localghost »

As I already said, you need to write e.g. $\alpha$ or $F(\bar{\pi})$ to fix the errors. I recommend to do some basic reading.
Bogdan
Posts: 4
Joined: Fri Jun 14, 2013 6:54 pm

Re: Greek Letters in Table for Presentation

Post by Bogdan »

I'm terrible sorry...I forgot all about the $ $ command. I saw that \beta can be written just like that and I thought.....

Thank you !!!!!!!!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Greek Letters in Table for Presentation

Post by localghost »

Bogdan wrote:[…] I forgot all about the $ $ command. I saw that \beta can be written just like that […]
No, the β as a math symbol and needs math mode. You should get corresponding error messages in the log file (*.log).
Bogdan
Posts: 4
Joined: Fri Jun 14, 2013 6:54 pm

Re: Greek Letters in Table for Presentation

Post by Bogdan »

That is right. Now I fixed the problem and I can continue with my work.


Thanks once again for the fast reply
Post Reply