0

I would like to have the "degree" symbol : N° I have tried with : BP N\up{\circle{1} } but that causes a compilation error

edit :

BP N\up{blablabla}

run well.

BP N\circle{1}

run well.

but

BP N\up{\circle{1}}

lead to the following error :

===> Argument of \@circle has an extra }.

EDITED AT 13.03 PM :

Finally i choose that way :

\documentclass{article}  
\usepackage[utf8]{inputenc}  
\usepackage[francais{babel}  
\begin{document}  
    Chapitre N\up{o}1  
\end{document}
  • Welcome to TeX.SE. Please post the minimal document, that causes this error. It should be \circle, not /circle, but I am unsure that your notation is correct – user31729 May 25 '17 at 8:34
  • ok , i have just edited the typo error – user3543133 May 25 '17 at 8:41
  • Yes, but it does not solve the question, I think – user31729 May 25 '17 at 8:43
1

enter image description here

\documentclass{article}
\usepackage{textcomp}
\begin{document}

N\textdegree


\end{document}

You only show fragments of code in your question but \up is not defined at all by default, and you do not show its definition and \circle is only intended for use within \begin{picture}..\end{picture}

  • ok, i understand now that \up is not a latex primitive. – user3543133 May 25 '17 at 9:32
  • @user3543133 You must have had an error message about that from latex? – David Carlisle May 25 '17 at 9:53
  • @Carlisle \documentclass[11pt]{lettre} \makeatletter \makeatother \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[francais]{babel} \usepackage{graphicx} – user3543133 May 25 '17 at 10:12
  • @user3543133 that's why every question should have a complete document as in this answer. \usepackage[francais]{babel} defines \up (to do nothing) so you only get no error for \up if you use French babel, but that was mentioned nowhere in your question. – David Carlisle May 25 '17 at 10:27
  • @Carlisle link textcomp is mark as "obsolete" ? – user3543133 May 25 '17 at 11:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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