\documentclass[12pt,a4paper]{article}
\usepackage[francais]{babel}
\usepackage{mafr}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{lmodern}
\usepackage[dvipsnames]{xcolor}
\usepackage{pstricks}
\usepackage{pst-node}
\begin{document}
\begin{pspicture}(0,0)(4,3)
\pcline(0,1.5)(3,3)\naput{$a$}%
\pcline(0,1.5)(3,0)\nbput{$a$}%
\pcline(0,1.5)(3,2)\ncput{$a$}%
\pcline(0,1.5)(3,1)\ncput*{$a$}%
\end{pspicture}
\end{document}
