I have a LaTeX document.

I can copy from PDF (º), but it pastes as (o). How can I handle it?


\usepackage{lmodern, cmap}
  • 8
    I don't understand the question. (1) Does your PDF, which you created using LaTeX, contain (º) and when you copy-and-paste that, it results in (o)? (2) Or does it paste as (º) but you want it to paste as (o)? (3) Or do you want to know how to create (º) that you found in a different PDF, and you're not sure how to create this in LaTeX? Is it (1), (2) or (3)? – Werner Oct 21 '17 at 3:44
  • 1
    Your "Use:" is also unclear. It's the beginning of a document, but it doesn't attempt to do anything, (o) or otherwise. – Teepeemm Oct 21 '17 at 13:21
  • Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Martin Schröder Oct 22 '17 at 0:15
  • Why copy from a .pdf if you can just use your keyboard? º -- and note that not all fonts have the º underlined. – BlackBird Oct 28 '17 at 21:49

You don't need to copy and paste to get such simple symbols. I'm not sure what that circle is, but I guess it should be either the functional composition operator,the temperature degree symbol, or the masculine ordinal indicator.



    f \circ g\\
    \quad \SI{7}{\celsius}\\
    \quad \psi\textsuperscript{\b{x}}


enter image description here

  • 2
    Or the masculine ordinal indicator (U+00BA). – Thérèse Oct 21 '17 at 3:36
  • @Thérèse: Thanks for the indication. I've added it to the answer. – Roboticist Oct 21 '17 at 3:41


It is available in encoding TS1 as provided by package textcomp:


º = \textordmasculine


  • Tks \usepackage{textcomp} solved my problem. – Igor Espindola May 17 '20 at 15:30

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.