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 am looking for following symbols:

Total Relation: <<->
Surjective Relation: <->>
Total surjective Relation: <<->>

This is the sort of thing I’m looking for (source):

enter image description here

Can anybody help me?

Thanks in advance.

share|improve this question
    
Can you point to some source showing the symbols you're after? –  egreg Feb 4 at 10:29
    
    
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. You should start by seeing whether tex.stackexchange.com/q/14/15925 leads you to the correct symbols. –  Andrew Swann Feb 4 at 10:37
    
I guess that they are using a trick, a kind of two arrows with negative space. –  Sigur Feb 4 at 10:39
    
@egreg, the arrow tips from amssymb does not match with the default arrow tips (compare $S\mathrel{\parbox[b]{0pt}{$\twoheadleftarrow$}\rightarrow }T$). –  Sigur Feb 4 at 10:50
add comment

2 Answers

up vote 14 down vote accepted

Here's a way to build symbols like in the document you link to:

\documentclass{article}
\usepackage{mathtools}

\newcommand{\negjoinrel}{\mathrel{\mkern3mu}}
\newcommand{\rlaprel}[1]{\mathrel{\mathrlap{#1}}}
\newcommand{\rel}{\rlaprel{\leftarrow}\negjoinrel\rightarrow}
\newcommand{\trel}{\rlaprel{\leftarrow}\negjoinrel\rlaprel{\leftarrow}\rightarrow}
\newcommand{\srel}{\rlaprel{\leftarrow}\rlaprel{\rightarrow}\negjoinrel\rightarrow}
\newcommand{\tsrel}{\rlaprel{\leftarrow}\negjoinrel\rlaprel{\leftarrow}
                    \joinrel\rlaprel{\rightarrow}\negjoinrel\rightarrow}


\begin{document}
\noindent
$A\rel B\trel C\srel D\tsrel E$

\noindent$\rel$\\$\trel$\\$\srel$\\$\tsrel$
\end{document}

You can see that they all have the same width.

enter image description here

share|improve this answer
    
Thank you very much. Exactly what I was searching for. –  Philip Errichte-Es Feb 4 at 12:02
add comment

Is this what you want?

$\ll \gg$ 

enter image description here

Or this (from amssymb):

$\twoheadleftarrow \twoheadrightarrow \rightarrowtail \leftarrowtail$

enter image description here

share|improve this answer
1  
The second examples (\twoheadleftarrow,...) needs an > on the right side. –  Philip Errichte-Es Feb 4 at 10:33
    
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.