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.

Less than and more than can be specified by using \textless and \textgreater. Why we can not use something like \< or \>? Won't it be much easier?

share|improve this question
3  
The commands \< and \> are used in the tabbing environment. But I've never seen a real usage for \textless and \textgreater: what are you using them for? –  egreg Feb 4 at 9:59

1 Answer 1

if you do not need the tabbing environment then you can overwrite the original definitions:

\documentclass{report}
\let\<\textless
\let\>\textgreater
\begin{document}

\<foo\> <foo>

\end{document}

enter image description here

With \usepackage[T1]{fontenc} there will be no difference!

share|improve this answer
1  
+1 for [T1]{fontenc}, then you can simply use <...> as you mention. –  tohecz Feb 4 at 10:09

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.