TeXnik - Tips TeX and LaTeX


Welcome to the TeXnik website (under construction)

xleftrightharpoon-Symbol
TUG logo

Main page

Index
UK FAQ
Documentation
Software
CTAN
Search CTAN:

Statistics

Google c.t.t.

Google d.c.t.t.

 


 


Some of the amsmath-symbols can be stretched in any length, like (the code is: $\xrightarrow[some\ text]{a\ lot\ of\ text}$). This is only possible for \xrightarrow[]{} and \xleftarrow[]{}.

the following latex code defines several \xleft/rightharpoondown/up ...

the latex code:

\usepackage{amssymb} 
\usepackage{amsmath}
\def\rightharpoondownfill@{\arrowfill@\relbar\relbar\rightharpoondown} 
\def\rightharpoonupfill@{\arrowfill@\relbar\relbar\rightharpoonup} 
\def\leftharpoondownfill@{\arrowfill@\leftharpoondown\relbar\relbar} 
\def\leftharpoonupfill@{\arrowfill@\leftharpoonup\relbar\relbar}
\newcommand{\xrightharpoondown}[2][]{\ext@arrow 0359\rightharpoondownfill@{#1}{#2}} 
\newcommand{\xrightharpoonup}[2][]{\ext@arrow 0359\rightharpoonupfill@{#1}{#2}} 
\newcommand{\xleftharpoondown}[2][]{\ext@arrow 3095\leftharpoondownfill@{#1}{#2}} 
\newcommand{\xleftharpoonup}[2][]{\ext@arrow 3095\leftharpoonupfill@{#1}{#2}}
\newcommand{\xleftrightharpoons}[2][]{\mathrel{%
 \raise.22ex\hbox{$\ext@arrow 3095\leftharpoonupfill@{\phantom{#1}}{#2}$}%
 \setbox0=\hbox{$\ext@arrow 0359\rightharpoondownfill@{#1}{\phantom{#2}}$}%
 \kern-\wd0 \lower.22ex\box0}} 
\newcommand{\xrightleftharpoons}[2][]{\mathrel{%
 \raise.22ex\hbox{$\ext@arrow 3095\rightharpoonupfill@{\phantom{#1}}{#2}$}%
 \setbox0=\hbox{$\ext@arrow 0359\leftharpoondownfill@{#1}{\phantom{#2}}$}%
 \kern-\wd0 \lower.22ex\box0}} 
 

local time: Sat Aug 24 03:06:41 CEST 2019 ; file is: 58.3833796296296 days old
contact webmaster _at_ TeXnik.de