I have this definition in which I want to use uppercase letters with prime symbols attached, but the prime sign does not seem to display correctly. Is this a feature of the language, or is it a culprit of my macros, settings and templates? Please do not go into too much detail if possible, I am a beginner in LaTeX. Thank you in advance.

Here is what I use at the moment and how it displays:

\(G\prime = (V\prime, E\prime)\)


  • 2
    the syntax is G' not G\prime May 7 '18 at 16:35
  • 1
    Use ' not \prime, it is the same as ^{\prime}
    – daleif
    May 7 '18 at 16:36
  • It sounds, from the answer and comments, that the same would occur with lowercase. If so, worth amending the question?
    – owjburnham
    May 7 '18 at 17:54

You have in mind

\(G^{\prime} = (V^{\prime}, E^{\prime})\)

or, much easier,


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.