How to extend the elements package to print melting and boiling points? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Exposing a new command for each element of a listHow do I use an auxilliary file for my own commands?Build table elements using a macroPeriodic table with electron counts in shellsProblems using listxadd and xapptoCreate macro depending on counter at point of definitionCreating commands with formatted names in csnameendcsnameHow to generate a matrix from an arbitrary sequence of arguments?Using key values in NewDocumentCommandMacro names that could contain numbers

Antipodal Land Area Calculation

How much damage would a cupful of neutron star matter do to the Earth?

Project Euler #1 in C++

Dyck paths with extra diagonals from valleys (Laser construction)

Amount of permutations on an NxNxN Rubik's Cube

As Singapore Airlines (Krisflyer) Gold, can I bring my family into the lounge on a domestic Virgin Australia flight?

How would a mousetrap for use in space work?

Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?

1-probability to calculate two events in a row

How many morphisms from 1 to 1+1 can there be?

Is there any word for a place full of confusion?

Lagrange four-squares theorem --- deterministic complexity

What's the point of the test set?

What are the discoveries that have been possible with the rejection of positivism?

Would it be easier to apply for a UK visa if there is a host family to sponsor for you in going there?

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?

Karn the great creator - 'card from outside the game' in sealed

An adverb for when you're not exaggerating

Does the Mueller report show a conspiracy between Russia and the Trump Campaign?

Semigroups with no morphisms between them

How could we fake a moon landing now?

Is CEO the "profession" with the most psychopaths?

The Nth Gryphon Number



How to extend the elements package to print melting and boiling points?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Exposing a new command for each element of a listHow do I use an auxilliary file for my own commands?Build table elements using a macroPeriodic table with electron counts in shellsProblems using listxadd and xapptoCreate macro depending on counter at point of definitionCreating commands with formatted names in csnameendcsnameHow to generate a matrix from an arbitrary sequence of arguments?Using key values in NewDocumentCommandMacro names that could contain numbers










0















To my propose I would like to extend the elements package to print too the melting and boiling points of chemical elements.
Using the same logic used in elements package, I thought about creating commands like those:



% default: unit=kelvin 
DeclareAtomMeltingPoint[unit=kelvin|celsius|fahrenheit]<atomic number><temperature>


to call one of these commands:



% Used before begin document or in packages/classes 
DeclareAtomMeltingPointKelvin<atomic number<temperature in kelvin>
DeclareAtomMeltingPointCelsius<atomic number<temperature in celsius>
DeclareAtomMeltingPointFahrenheit<atomic number<temperature in fahrenheit>


To prints the temperatures inside document, I would use commands like this:



% Used inside document
meltingpoint[<unit=kelvin|celsius|fahrenheit>]<atomic number>


How can I implements this?









share


























    0















    To my propose I would like to extend the elements package to print too the melting and boiling points of chemical elements.
    Using the same logic used in elements package, I thought about creating commands like those:



    % default: unit=kelvin 
    DeclareAtomMeltingPoint[unit=kelvin|celsius|fahrenheit]<atomic number><temperature>


    to call one of these commands:



    % Used before begin document or in packages/classes 
    DeclareAtomMeltingPointKelvin<atomic number<temperature in kelvin>
    DeclareAtomMeltingPointCelsius<atomic number<temperature in celsius>
    DeclareAtomMeltingPointFahrenheit<atomic number<temperature in fahrenheit>


    To prints the temperatures inside document, I would use commands like this:



    % Used inside document
    meltingpoint[<unit=kelvin|celsius|fahrenheit>]<atomic number>


    How can I implements this?









    share
























      0












      0








      0








      To my propose I would like to extend the elements package to print too the melting and boiling points of chemical elements.
      Using the same logic used in elements package, I thought about creating commands like those:



      % default: unit=kelvin 
      DeclareAtomMeltingPoint[unit=kelvin|celsius|fahrenheit]<atomic number><temperature>


      to call one of these commands:



      % Used before begin document or in packages/classes 
      DeclareAtomMeltingPointKelvin<atomic number<temperature in kelvin>
      DeclareAtomMeltingPointCelsius<atomic number<temperature in celsius>
      DeclareAtomMeltingPointFahrenheit<atomic number<temperature in fahrenheit>


      To prints the temperatures inside document, I would use commands like this:



      % Used inside document
      meltingpoint[<unit=kelvin|celsius|fahrenheit>]<atomic number>


      How can I implements this?









      share














      To my propose I would like to extend the elements package to print too the melting and boiling points of chemical elements.
      Using the same logic used in elements package, I thought about creating commands like those:



      % default: unit=kelvin 
      DeclareAtomMeltingPoint[unit=kelvin|celsius|fahrenheit]<atomic number><temperature>


      to call one of these commands:



      % Used before begin document or in packages/classes 
      DeclareAtomMeltingPointKelvin<atomic number<temperature in kelvin>
      DeclareAtomMeltingPointCelsius<atomic number<temperature in celsius>
      DeclareAtomMeltingPointFahrenheit<atomic number<temperature in fahrenheit>


      To prints the temperatures inside document, I would use commands like this:



      % Used inside document
      meltingpoint[<unit=kelvin|celsius|fahrenheit>]<atomic number>


      How can I implements this?







      macros chemistry robust-commands keycommand





      share












      share










      share



      share










      asked 8 mins ago









      GRSousaJrGRSousaJr

      1336




      1336




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "85"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485695%2fhow-to-extend-the-elements-package-to-print-melting-and-boiling-points%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485695%2fhow-to-extend-the-elements-package-to-print-melting-and-boiling-points%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

          Lioubotyn Sommaire Géographie | Histoire | Population | Notes et références | Liens externes | Menu de navigationlubotin.kharkov.uamodifier« Recensements et estimations de la population depuis 1897 »« Office des statistiques d'Ukraine : population au 1er janvier 2010, 2011 et 2012 »« Office des statistiques d'Ukraine : population au 1er janvier 2011, 2012 et 2013 »Informations officiellesCartes topographiquesCarte routièrem

          Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm