Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Mathematical notation

Mathematical notation

Scheduled Pinned Locked Moved The Lounge
tutorialquestion
15 Posts 10 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • pkfoxP pkfox

    Hi guys, I copied this Mₙ = 2ⁿ − 1 from some web site, does anyone know how to produce this in notepad or the like ?

    In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #2

    I just copied that and pasted it into notepad, and it looks the same. But if you are writing direct into notepad you will need to select the special characters from the Windows "Character Map" accessory: e.g Z° = ±¿¼.

    pkfoxP 1 Reply Last reply
    0
    • pkfoxP pkfox

      Hi guys, I copied this Mₙ = 2ⁿ − 1 from some web site, does anyone know how to produce this in notepad or the like ?

      In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

      Mike HankeyM Offline
      Mike HankeyM Offline
      Mike Hankey
      wrote on last edited by
      #3

      alt+253 gives 2 superscript so I imagine there are other alt sequences to do what you want.

      As the aircraft designer said, "Simplicate and add lightness". PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com Latest Article: SimpleWizardUpdate

      pkfoxP 1 Reply Last reply
      0
      • pkfoxP pkfox

        Hi guys, I copied this Mₙ = 2ⁿ − 1 from some web site, does anyone know how to produce this in notepad or the like ?

        In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

        Mircea NeacsuM Offline
        Mircea NeacsuM Offline
        Mircea Neacsu
        wrote on last edited by
        #4

        Subscript n is Unicode number U+2099. Superscript 2 is Unicode number U+00B2

        Mircea

        pkfoxP 1 Reply Last reply
        0
        • L Lost User

          I just copied that and pasted it into notepad, and it looks the same. But if you are writing direct into notepad you will need to select the special characters from the Windows "Character Map" accessory: e.g Z° = ±¿¼.

          pkfoxP Offline
          pkfoxP Offline
          pkfox
          wrote on last edited by
          #5

          Thanks Richard what I'm trying to do is 2^P -1 in my hobby Mersenne Prime project documentation

          In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

          B L 2 Replies Last reply
          0
          • Mircea NeacsuM Mircea Neacsu

            Subscript n is Unicode number U+2099. Superscript 2 is Unicode number U+00B2

            Mircea

            pkfoxP Offline
            pkfoxP Offline
            pkfox
            wrote on last edited by
            #6

            Thanks Mircea

            In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

            1 Reply Last reply
            0
            • Mike HankeyM Mike Hankey

              alt+253 gives 2 superscript so I imagine there are other alt sequences to do what you want.

              As the aircraft designer said, "Simplicate and add lightness". PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com Latest Article: SimpleWizardUpdate

              pkfoxP Offline
              pkfoxP Offline
              pkfox
              wrote on last edited by
              #7

              Thanks Mike see my other replies

              In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

              Mike HankeyM 1 Reply Last reply
              0
              • pkfoxP pkfox

                Thanks Mike see my other replies

                In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                Mike HankeyM Offline
                Mike HankeyM Offline
                Mike Hankey
                wrote on last edited by
                #8

                See if this helps https://altcodeunicode.com/alt-codes-superscript-subscript-letters/[^] and herre is a complete list Unicode Character Table - Full List of Unicode Symbols (◕‿◕) SYMBL[^]

                As the aircraft designer said, "Simplicate and add lightness". PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com Latest Article: SimpleWizardUpdate

                1 Reply Last reply
                0
                • pkfoxP pkfox

                  Thanks Richard what I'm trying to do is 2^P -1 in my hobby Mersenne Prime project documentation

                  In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                  B Offline
                  B Offline
                  Bassam Abdul Baki
                  wrote on last edited by
                  #9

                  pkfox wrote:

                  my hobby Mersenne Prime project documentation

                  Is there a link?

                  Web - BM - Math - LinkedIn

                  1 Reply Last reply
                  0
                  • pkfoxP pkfox

                    Hi guys, I copied this Mₙ = 2ⁿ − 1 from some web site, does anyone know how to produce this in notepad or the like ?

                    In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                    P Offline
                    P Offline
                    Phil Hodgkins
                    wrote on last edited by
                    #10

                    Word processors can easily do super/subscript using hotkeys combos and have a equation editor for more complex equations - LibreOffice is free and has editor called Math (I've not used it, so this is not a recommendation).

                    1 Reply Last reply
                    0
                    • pkfoxP pkfox

                      Thanks Richard what I'm trying to do is 2^P -1 in my hobby Mersenne Prime project documentation

                      In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #11

                      Sorry Pete, it's not really something I have had much experience with other than my previous response.

                      1 Reply Last reply
                      0
                      • pkfoxP pkfox

                        Hi guys, I copied this Mₙ = 2ⁿ − 1 from some web site, does anyone know how to produce this in notepad or the like ?

                        In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                        G Offline
                        G Offline
                        Gary Wheeler
                        wrote on last edited by
                        #12

                        It's very old school, but try using charmap. It's built into Windows, and can be accessed using Start, Run, charmap.

                        Software Zen: delete this;

                        1 Reply Last reply
                        0
                        • pkfoxP pkfox

                          Hi guys, I copied this Mₙ = 2ⁿ − 1 from some web site, does anyone know how to produce this in notepad or the like ?

                          In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                          J Offline
                          J Offline
                          Jeremy Falcon
                          wrote on last edited by
                          #13

                          Is this just for poops and giggles (copy pasting only) or you plan on taking this seriously? If it's the latter, get a LaTeX editor for Windows. You have to learn a syntax, but it's easier than always going back and forth to charmap. If it's just for poops and giggles, notepad copies and pastes superscripts and subscripts just fine for me on Win10.

                          Jeremy Falcon

                          1 Reply Last reply
                          0
                          • pkfoxP pkfox

                            Hi guys, I copied this Mₙ = 2ⁿ − 1 from some web site, does anyone know how to produce this in notepad or the like ?

                            In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                            J Offline
                            J Offline
                            jschell
                            wrote on last edited by
                            #14

                            pkfox wrote:

                            to produce this in notepad or the like ?

                            No you are going about that backwards. (From other post.)

                            pkfox wrote:

                            hobby Mersenne Prime project documentation

                            Someone or several someones perhaps even you will attempt to display something in the future which documents what your stuff does. What does that something consist of exactly? A text file? A word file? A static html page? Text that gets displayed in an app? That drives how the content that you want gets created. After you figure it out then you figure out how to create it. Lets say it is a simple (ascii 7) text file. Then you can NOT document it as you documented in your post. Why did I stipulate the character set? Because that is the most simple form of a text file. To show the complication you can (maybe) create a 'text' file which shows the form you proposed but then someone that attempts to look at it would need to know which character set to attempt to display it. A 'simple text file' does not include that information.

                            1 Reply Last reply
                            0
                            • pkfoxP pkfox

                              Hi guys, I copied this Mₙ = 2ⁿ − 1 from some web site, does anyone know how to produce this in notepad or the like ?

                              In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                              O Offline
                              O Offline
                              obermd
                              wrote on last edited by
                              #15

                              Why not use Word and the save the documentation as a PDF?

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups