Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I need to write a list of hyphen.

Following are subjects in high-school.

- Physics
- Chemistry 
- Biology

How can i generate such list with hyphen as indicator?

share|improve this question
add comment

2 Answers

With powerful enumitem

\documentclass{article}
\usepackage{enumitem}
\begin{document}
\begin{itemize}[label=-]
  \item Physics
  \item Chemistry
  \item Mathematics
\end{itemize}
\end{document}

enter image description here

Without any package

\documentclass{article}

\begin{document}
\begin{itemize}
 \renewcommand\labelitemi{-}
  \item Physics
  \item Chemistry
  \item Mathematics
\end{itemize}
\end{document}

If you want this for all itemize environments, put the \renewcommand\labelitemi{-} outside (say in preamble).

share|improve this answer
add comment
\documentclass{article}
\usepackage{enumerate}
\begin{document}
\begin{enumerate}[-]
\item test
\item test 2
\end{enumerate}
\end{document}

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.