Text Formatting ⇒ Put a point in front of text
Put a point in front of text
Hello,
Could you tell me how can I put a square or round point in front of a line and how make a tabulation betwean point and text?
Thank you
Could you tell me how can I put a square or round point in front of a line and how make a tabulation betwean point and text?
Thank you
Last edited by Onor on Fri Aug 05, 2011 1:09 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Put a point in front of text
Hi Onor,
use an itemize environment, such as
Stefan
use an itemize environment, such as
Code: Select all
\documentclass{article}
\begin{document}
\begin{itemize}
\item One
\item Two
\item Three
\end{itemize}
\end{document}
LaTeX.org admin
Re: Put a point in front of text
how can I do the same in this example?
\begin{tabular}{llll}
\begin{itemize}
\item text
\end{itemize} &
\includegraphics[scale=1]{image009.png}&
text
\end{tabular}
\begin{tabular}{llll}
\begin{itemize}
\item text
\end{itemize} &
\includegraphics[scale=1]{image009.png}&
text
\end{tabular}
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Put a point in front of text
For itemize in a table, use a p column or a m column (package array required).
For example:
m columns are vertically centered. I used \raisebox to shift the image vertically, because its baseline is at the bottom, not in the middle.
Stefan
For example:
Code: Select all
\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{array}
\begin{document}
\begin{tabular}{m{2cm}ll}
\begin{itemize}
\item text
\end{itemize} &
\raisebox{-.5\height}{\includegraphics[scale=1]{image009.png}}&
text
\end{tabular}
\end{document}
Stefan
LaTeX.org admin
Put a point in front of text
I got something strange when I have more then 1 word
Code: Select all
\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{array}
\begin{document}
\begin{tabular}{m{2cm}ll}
\begin{itemize}
\item text text
\end{itemize} &
\raisebox{-.5\height}{\includegraphics[scale=0.5]{image015.png}}&
text
\end{tabular}
\end{document}
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Put a point in front of text
Do you mean the line break? Just make the 2cm wider, such as m{3cm}.
Stefan
Stefan
LaTeX.org admin
Put a point in front of text
Yes, So I should calculate the number of words in the text?Do you mean the line break? Just make the 2cm wider, such as m{3cm}.
Stefan
Isn't there easier way ?
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Put a point in front of text
Simply using $\bullet$, just as in
Stefan
Code: Select all
\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{array}
\begin{document}
\begin{tabular}{lll}
$\bullet$ text text
&
\raisebox{-.5\height}{\includegraphics[scale=0.5]{image015.png}}&
text
\end{tabular}
\end{document}
LaTeX.org admin
Re: Put a point in front of text
Thank you a lot