glossaries: How to customize list of symbols with additional column for units?











up vote
12
down vote

favorite
13












I want to add an additional column to the list of symbols for inserting the belonging units to the preceding variables.



In my case, it is necessary to use three different and independent glossary-lists (acronymslist, symbolslist and glossary) like shown below. However, the third column should be used only in the symbolslist.





Minimum Working Example (MWE):



documentclass{scrbook}                           % documentclass: scrbook
usepackage[acronym,toc]{glossaries} % use glossaries-package

newglossary[slg]{symbolslist}{syi}{syg}{Symbolslist} % create add. symbolslist
makeglossaries % activate glossaries-package


% ==== EXEMPLARY ENTRY FOR SYMBOLS LIST =========================================
newglossaryentry{symb:Pi}{name=ensuremath{pi},
description={Geometrical value},
type=symbolslist}


% ==== EXEMPLARY ENTRY FOR ACRONYMS LIST ========================================
newacronym{VRBD}{VRBD}{Violet-Red-Bile-Glucose-Agar}


% ==== EXEMPLARY ENTRY FOR MAIN GLOSSARY ========================================
newglossaryentry{Biofouling}{name=Biofouling,description={Some description}}


begin{document}

glsaddall

printglossary[type=acronymtype,style=long] % list of acronyms
printglossary[type=symbolslist,style=long] % list of symbols
printglossary[type=main] % main glossary

end{document}




Screenshot of the result:



enter image description here





As expected, this MWE creates three different types of lists what is entirely correct. Now, I want to add a third column only to the list of symbols for inserting the units. It would be great if we can create something beautiful like the following table-layout.





Screenshot of the final (desired) state:



enter image description here





I have borrowed this shapely layout from this topic. Unfortunately, the belonging MWE doesn't work together with scrbook-class. Is there any other possibility to expand my own code from the top to generate such a layout (including the hrule)?





Thank you very much for your help!










share|improve this question




























    up vote
    12
    down vote

    favorite
    13












    I want to add an additional column to the list of symbols for inserting the belonging units to the preceding variables.



    In my case, it is necessary to use three different and independent glossary-lists (acronymslist, symbolslist and glossary) like shown below. However, the third column should be used only in the symbolslist.





    Minimum Working Example (MWE):



    documentclass{scrbook}                           % documentclass: scrbook
    usepackage[acronym,toc]{glossaries} % use glossaries-package

    newglossary[slg]{symbolslist}{syi}{syg}{Symbolslist} % create add. symbolslist
    makeglossaries % activate glossaries-package


    % ==== EXEMPLARY ENTRY FOR SYMBOLS LIST =========================================
    newglossaryentry{symb:Pi}{name=ensuremath{pi},
    description={Geometrical value},
    type=symbolslist}


    % ==== EXEMPLARY ENTRY FOR ACRONYMS LIST ========================================
    newacronym{VRBD}{VRBD}{Violet-Red-Bile-Glucose-Agar}


    % ==== EXEMPLARY ENTRY FOR MAIN GLOSSARY ========================================
    newglossaryentry{Biofouling}{name=Biofouling,description={Some description}}


    begin{document}

    glsaddall

    printglossary[type=acronymtype,style=long] % list of acronyms
    printglossary[type=symbolslist,style=long] % list of symbols
    printglossary[type=main] % main glossary

    end{document}




    Screenshot of the result:



    enter image description here





    As expected, this MWE creates three different types of lists what is entirely correct. Now, I want to add a third column only to the list of symbols for inserting the units. It would be great if we can create something beautiful like the following table-layout.





    Screenshot of the final (desired) state:



    enter image description here





    I have borrowed this shapely layout from this topic. Unfortunately, the belonging MWE doesn't work together with scrbook-class. Is there any other possibility to expand my own code from the top to generate such a layout (including the hrule)?





    Thank you very much for your help!










    share|improve this question


























      up vote
      12
      down vote

      favorite
      13









      up vote
      12
      down vote

      favorite
      13






      13





      I want to add an additional column to the list of symbols for inserting the belonging units to the preceding variables.



      In my case, it is necessary to use three different and independent glossary-lists (acronymslist, symbolslist and glossary) like shown below. However, the third column should be used only in the symbolslist.





      Minimum Working Example (MWE):



      documentclass{scrbook}                           % documentclass: scrbook
      usepackage[acronym,toc]{glossaries} % use glossaries-package

      newglossary[slg]{symbolslist}{syi}{syg}{Symbolslist} % create add. symbolslist
      makeglossaries % activate glossaries-package


      % ==== EXEMPLARY ENTRY FOR SYMBOLS LIST =========================================
      newglossaryentry{symb:Pi}{name=ensuremath{pi},
      description={Geometrical value},
      type=symbolslist}


      % ==== EXEMPLARY ENTRY FOR ACRONYMS LIST ========================================
      newacronym{VRBD}{VRBD}{Violet-Red-Bile-Glucose-Agar}


      % ==== EXEMPLARY ENTRY FOR MAIN GLOSSARY ========================================
      newglossaryentry{Biofouling}{name=Biofouling,description={Some description}}


      begin{document}

      glsaddall

      printglossary[type=acronymtype,style=long] % list of acronyms
      printglossary[type=symbolslist,style=long] % list of symbols
      printglossary[type=main] % main glossary

      end{document}




      Screenshot of the result:



      enter image description here





      As expected, this MWE creates three different types of lists what is entirely correct. Now, I want to add a third column only to the list of symbols for inserting the units. It would be great if we can create something beautiful like the following table-layout.





      Screenshot of the final (desired) state:



      enter image description here





      I have borrowed this shapely layout from this topic. Unfortunately, the belonging MWE doesn't work together with scrbook-class. Is there any other possibility to expand my own code from the top to generate such a layout (including the hrule)?





      Thank you very much for your help!










      share|improve this question















      I want to add an additional column to the list of symbols for inserting the belonging units to the preceding variables.



      In my case, it is necessary to use three different and independent glossary-lists (acronymslist, symbolslist and glossary) like shown below. However, the third column should be used only in the symbolslist.





      Minimum Working Example (MWE):



      documentclass{scrbook}                           % documentclass: scrbook
      usepackage[acronym,toc]{glossaries} % use glossaries-package

      newglossary[slg]{symbolslist}{syi}{syg}{Symbolslist} % create add. symbolslist
      makeglossaries % activate glossaries-package


      % ==== EXEMPLARY ENTRY FOR SYMBOLS LIST =========================================
      newglossaryentry{symb:Pi}{name=ensuremath{pi},
      description={Geometrical value},
      type=symbolslist}


      % ==== EXEMPLARY ENTRY FOR ACRONYMS LIST ========================================
      newacronym{VRBD}{VRBD}{Violet-Red-Bile-Glucose-Agar}


      % ==== EXEMPLARY ENTRY FOR MAIN GLOSSARY ========================================
      newglossaryentry{Biofouling}{name=Biofouling,description={Some description}}


      begin{document}

      glsaddall

      printglossary[type=acronymtype,style=long] % list of acronyms
      printglossary[type=symbolslist,style=long] % list of symbols
      printglossary[type=main] % main glossary

      end{document}




      Screenshot of the result:



      enter image description here





      As expected, this MWE creates three different types of lists what is entirely correct. Now, I want to add a third column only to the list of symbols for inserting the units. It would be great if we can create something beautiful like the following table-layout.





      Screenshot of the final (desired) state:



      enter image description here





      I have borrowed this shapely layout from this topic. Unfortunately, the belonging MWE doesn't work together with scrbook-class. Is there any other possibility to expand my own code from the top to generate such a layout (including the hrule)?





      Thank you very much for your help!







      symbols lists glossaries description units






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 13 '17 at 12:34









      Community

      1




      1










      asked Sep 25 '15 at 22:07









      Dave

      656516




      656516






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          15
          down vote



          accepted










          I suggest to use a separate unit key for the symbol unit and refer to it with glsunit. (Alternative: Use the user1...user6 keys for this feature)



          In addition, this key must be used in the glossarystyle. I've defined a new style based on the already provided long3col style which displays the symbols in the requested order.



          documentclass{book}                           
          usepackage{siunitx}
          usepackage[acronym,toc]{glossaries} % use glossaries-package


          setlength{glsdescwidth}{15cm}

          newglossary[slg]{symbolslist}{syi}{syg}{Symbolslist} % create add. symbolslist


          glsaddkey{unit}{glsentrytext{glslabel}}{glsentryunit}{GLsentryunit}{glsunit}{Glsunit}{GLSunit}

          makeglossaries % activate glossaries-package


          % ==== EXEMPLARY ENTRY FOR SYMBOLS LIST =========================================
          newglossaryentry{symb:Pi}{name=ensuremath{pi},
          description={Geometrical value},
          unit={},
          type=symbolslist}

          newglossaryentry{height}{name=ensuremath{h},
          description={Height of tower},
          unit={si{m}},
          type=symbolslist}

          newglossaryentry{energyconsump}{name=ensuremath{P},
          description={Energy consumption},
          unit={si{kW}},
          type=symbolslist}




          % ==== EXEMPLARY ENTRY FOR ACRONYMS LIST ========================================
          newacronym{VRBD}{VRBD}{Violet-Red-Bile-Glucose-Agar}


          % ==== EXEMPLARY ENTRY FOR MAIN GLOSSARY ========================================
          newglossaryentry{Biofouling}{name=Biofouling,description={Some description}}


          newglossarystyle{symbunitlong}{%
          setglossarystyle{long3col}% base this style on the list style
          renewenvironment{theglossary}{% Change the table type --> 3 columns
          begin{longtable}{lp{0.6glsdescwidth}>{centeringarraybackslash}p{2cm}}}%
          {end{longtable}}%
          %
          renewcommand*{glossaryheader}{% Change the table header
          bfseries Sign & bfseries Description & bfseries Unit \
          hline
          endhead}
          renewcommand*{glossentry}[2]{% Change the displayed items
          glstarget{##1}{glossentryname{##1}} %
          & glossentrydesc{##1}% Description
          & glsunit{##1} tabularnewline
          }
          }


          begin{document}

          glsaddall

          printglossary[type=acronymtype,style=long] % list of acronyms
          printglossary[type=symbolslist,style=symbunitlong] % list of symbols
          printglossary[type=main] % main glossary

          end{document}


          enter image description here






          share|improve this answer























          • Perfect, thank you very much for your help!
            – Dave
            Sep 26 '15 at 10:50










          • I am sorry, but when I copy and paste your MWE, then compile it, I got nothing but a white page. What is the reason behind this?
            – Diaa
            Sep 5 '17 at 11:01










          • @DiaaAbidou: Have you run the makeglossaries script?
            – Christian Hupfer
            Sep 5 '17 at 11:04










          • I am sorry, but what do you mean?
            – Diaa
            Sep 5 '17 at 11:05






          • 1




            @DiaaAbidou: See the documentation and change makenoidxglossaries into makeglossaries
            – Christian Hupfer
            Sep 5 '17 at 11:20


















          up vote
          5
          down vote













          Just adding to Christian's answer: to use the unit macros inside the si{unit} command defined by siunitx such as metre and kilowatt used in his MWE, one should add the command glssetnoexpandfield{unit} before setting any entries.



          It is better explained in This Answer.






          share|improve this answer























            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',
            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%2f269565%2fglossaries-how-to-customize-list-of-symbols-with-additional-column-for-units%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            15
            down vote



            accepted










            I suggest to use a separate unit key for the symbol unit and refer to it with glsunit. (Alternative: Use the user1...user6 keys for this feature)



            In addition, this key must be used in the glossarystyle. I've defined a new style based on the already provided long3col style which displays the symbols in the requested order.



            documentclass{book}                           
            usepackage{siunitx}
            usepackage[acronym,toc]{glossaries} % use glossaries-package


            setlength{glsdescwidth}{15cm}

            newglossary[slg]{symbolslist}{syi}{syg}{Symbolslist} % create add. symbolslist


            glsaddkey{unit}{glsentrytext{glslabel}}{glsentryunit}{GLsentryunit}{glsunit}{Glsunit}{GLSunit}

            makeglossaries % activate glossaries-package


            % ==== EXEMPLARY ENTRY FOR SYMBOLS LIST =========================================
            newglossaryentry{symb:Pi}{name=ensuremath{pi},
            description={Geometrical value},
            unit={},
            type=symbolslist}

            newglossaryentry{height}{name=ensuremath{h},
            description={Height of tower},
            unit={si{m}},
            type=symbolslist}

            newglossaryentry{energyconsump}{name=ensuremath{P},
            description={Energy consumption},
            unit={si{kW}},
            type=symbolslist}




            % ==== EXEMPLARY ENTRY FOR ACRONYMS LIST ========================================
            newacronym{VRBD}{VRBD}{Violet-Red-Bile-Glucose-Agar}


            % ==== EXEMPLARY ENTRY FOR MAIN GLOSSARY ========================================
            newglossaryentry{Biofouling}{name=Biofouling,description={Some description}}


            newglossarystyle{symbunitlong}{%
            setglossarystyle{long3col}% base this style on the list style
            renewenvironment{theglossary}{% Change the table type --> 3 columns
            begin{longtable}{lp{0.6glsdescwidth}>{centeringarraybackslash}p{2cm}}}%
            {end{longtable}}%
            %
            renewcommand*{glossaryheader}{% Change the table header
            bfseries Sign & bfseries Description & bfseries Unit \
            hline
            endhead}
            renewcommand*{glossentry}[2]{% Change the displayed items
            glstarget{##1}{glossentryname{##1}} %
            & glossentrydesc{##1}% Description
            & glsunit{##1} tabularnewline
            }
            }


            begin{document}

            glsaddall

            printglossary[type=acronymtype,style=long] % list of acronyms
            printglossary[type=symbolslist,style=symbunitlong] % list of symbols
            printglossary[type=main] % main glossary

            end{document}


            enter image description here






            share|improve this answer























            • Perfect, thank you very much for your help!
              – Dave
              Sep 26 '15 at 10:50










            • I am sorry, but when I copy and paste your MWE, then compile it, I got nothing but a white page. What is the reason behind this?
              – Diaa
              Sep 5 '17 at 11:01










            • @DiaaAbidou: Have you run the makeglossaries script?
              – Christian Hupfer
              Sep 5 '17 at 11:04










            • I am sorry, but what do you mean?
              – Diaa
              Sep 5 '17 at 11:05






            • 1




              @DiaaAbidou: See the documentation and change makenoidxglossaries into makeglossaries
              – Christian Hupfer
              Sep 5 '17 at 11:20















            up vote
            15
            down vote



            accepted










            I suggest to use a separate unit key for the symbol unit and refer to it with glsunit. (Alternative: Use the user1...user6 keys for this feature)



            In addition, this key must be used in the glossarystyle. I've defined a new style based on the already provided long3col style which displays the symbols in the requested order.



            documentclass{book}                           
            usepackage{siunitx}
            usepackage[acronym,toc]{glossaries} % use glossaries-package


            setlength{glsdescwidth}{15cm}

            newglossary[slg]{symbolslist}{syi}{syg}{Symbolslist} % create add. symbolslist


            glsaddkey{unit}{glsentrytext{glslabel}}{glsentryunit}{GLsentryunit}{glsunit}{Glsunit}{GLSunit}

            makeglossaries % activate glossaries-package


            % ==== EXEMPLARY ENTRY FOR SYMBOLS LIST =========================================
            newglossaryentry{symb:Pi}{name=ensuremath{pi},
            description={Geometrical value},
            unit={},
            type=symbolslist}

            newglossaryentry{height}{name=ensuremath{h},
            description={Height of tower},
            unit={si{m}},
            type=symbolslist}

            newglossaryentry{energyconsump}{name=ensuremath{P},
            description={Energy consumption},
            unit={si{kW}},
            type=symbolslist}




            % ==== EXEMPLARY ENTRY FOR ACRONYMS LIST ========================================
            newacronym{VRBD}{VRBD}{Violet-Red-Bile-Glucose-Agar}


            % ==== EXEMPLARY ENTRY FOR MAIN GLOSSARY ========================================
            newglossaryentry{Biofouling}{name=Biofouling,description={Some description}}


            newglossarystyle{symbunitlong}{%
            setglossarystyle{long3col}% base this style on the list style
            renewenvironment{theglossary}{% Change the table type --> 3 columns
            begin{longtable}{lp{0.6glsdescwidth}>{centeringarraybackslash}p{2cm}}}%
            {end{longtable}}%
            %
            renewcommand*{glossaryheader}{% Change the table header
            bfseries Sign & bfseries Description & bfseries Unit \
            hline
            endhead}
            renewcommand*{glossentry}[2]{% Change the displayed items
            glstarget{##1}{glossentryname{##1}} %
            & glossentrydesc{##1}% Description
            & glsunit{##1} tabularnewline
            }
            }


            begin{document}

            glsaddall

            printglossary[type=acronymtype,style=long] % list of acronyms
            printglossary[type=symbolslist,style=symbunitlong] % list of symbols
            printglossary[type=main] % main glossary

            end{document}


            enter image description here






            share|improve this answer























            • Perfect, thank you very much for your help!
              – Dave
              Sep 26 '15 at 10:50










            • I am sorry, but when I copy and paste your MWE, then compile it, I got nothing but a white page. What is the reason behind this?
              – Diaa
              Sep 5 '17 at 11:01










            • @DiaaAbidou: Have you run the makeglossaries script?
              – Christian Hupfer
              Sep 5 '17 at 11:04










            • I am sorry, but what do you mean?
              – Diaa
              Sep 5 '17 at 11:05






            • 1




              @DiaaAbidou: See the documentation and change makenoidxglossaries into makeglossaries
              – Christian Hupfer
              Sep 5 '17 at 11:20













            up vote
            15
            down vote



            accepted







            up vote
            15
            down vote



            accepted






            I suggest to use a separate unit key for the symbol unit and refer to it with glsunit. (Alternative: Use the user1...user6 keys for this feature)



            In addition, this key must be used in the glossarystyle. I've defined a new style based on the already provided long3col style which displays the symbols in the requested order.



            documentclass{book}                           
            usepackage{siunitx}
            usepackage[acronym,toc]{glossaries} % use glossaries-package


            setlength{glsdescwidth}{15cm}

            newglossary[slg]{symbolslist}{syi}{syg}{Symbolslist} % create add. symbolslist


            glsaddkey{unit}{glsentrytext{glslabel}}{glsentryunit}{GLsentryunit}{glsunit}{Glsunit}{GLSunit}

            makeglossaries % activate glossaries-package


            % ==== EXEMPLARY ENTRY FOR SYMBOLS LIST =========================================
            newglossaryentry{symb:Pi}{name=ensuremath{pi},
            description={Geometrical value},
            unit={},
            type=symbolslist}

            newglossaryentry{height}{name=ensuremath{h},
            description={Height of tower},
            unit={si{m}},
            type=symbolslist}

            newglossaryentry{energyconsump}{name=ensuremath{P},
            description={Energy consumption},
            unit={si{kW}},
            type=symbolslist}




            % ==== EXEMPLARY ENTRY FOR ACRONYMS LIST ========================================
            newacronym{VRBD}{VRBD}{Violet-Red-Bile-Glucose-Agar}


            % ==== EXEMPLARY ENTRY FOR MAIN GLOSSARY ========================================
            newglossaryentry{Biofouling}{name=Biofouling,description={Some description}}


            newglossarystyle{symbunitlong}{%
            setglossarystyle{long3col}% base this style on the list style
            renewenvironment{theglossary}{% Change the table type --> 3 columns
            begin{longtable}{lp{0.6glsdescwidth}>{centeringarraybackslash}p{2cm}}}%
            {end{longtable}}%
            %
            renewcommand*{glossaryheader}{% Change the table header
            bfseries Sign & bfseries Description & bfseries Unit \
            hline
            endhead}
            renewcommand*{glossentry}[2]{% Change the displayed items
            glstarget{##1}{glossentryname{##1}} %
            & glossentrydesc{##1}% Description
            & glsunit{##1} tabularnewline
            }
            }


            begin{document}

            glsaddall

            printglossary[type=acronymtype,style=long] % list of acronyms
            printglossary[type=symbolslist,style=symbunitlong] % list of symbols
            printglossary[type=main] % main glossary

            end{document}


            enter image description here






            share|improve this answer














            I suggest to use a separate unit key for the symbol unit and refer to it with glsunit. (Alternative: Use the user1...user6 keys for this feature)



            In addition, this key must be used in the glossarystyle. I've defined a new style based on the already provided long3col style which displays the symbols in the requested order.



            documentclass{book}                           
            usepackage{siunitx}
            usepackage[acronym,toc]{glossaries} % use glossaries-package


            setlength{glsdescwidth}{15cm}

            newglossary[slg]{symbolslist}{syi}{syg}{Symbolslist} % create add. symbolslist


            glsaddkey{unit}{glsentrytext{glslabel}}{glsentryunit}{GLsentryunit}{glsunit}{Glsunit}{GLSunit}

            makeglossaries % activate glossaries-package


            % ==== EXEMPLARY ENTRY FOR SYMBOLS LIST =========================================
            newglossaryentry{symb:Pi}{name=ensuremath{pi},
            description={Geometrical value},
            unit={},
            type=symbolslist}

            newglossaryentry{height}{name=ensuremath{h},
            description={Height of tower},
            unit={si{m}},
            type=symbolslist}

            newglossaryentry{energyconsump}{name=ensuremath{P},
            description={Energy consumption},
            unit={si{kW}},
            type=symbolslist}




            % ==== EXEMPLARY ENTRY FOR ACRONYMS LIST ========================================
            newacronym{VRBD}{VRBD}{Violet-Red-Bile-Glucose-Agar}


            % ==== EXEMPLARY ENTRY FOR MAIN GLOSSARY ========================================
            newglossaryentry{Biofouling}{name=Biofouling,description={Some description}}


            newglossarystyle{symbunitlong}{%
            setglossarystyle{long3col}% base this style on the list style
            renewenvironment{theglossary}{% Change the table type --> 3 columns
            begin{longtable}{lp{0.6glsdescwidth}>{centeringarraybackslash}p{2cm}}}%
            {end{longtable}}%
            %
            renewcommand*{glossaryheader}{% Change the table header
            bfseries Sign & bfseries Description & bfseries Unit \
            hline
            endhead}
            renewcommand*{glossentry}[2]{% Change the displayed items
            glstarget{##1}{glossentryname{##1}} %
            & glossentrydesc{##1}% Description
            & glsunit{##1} tabularnewline
            }
            }


            begin{document}

            glsaddall

            printglossary[type=acronymtype,style=long] % list of acronyms
            printglossary[type=symbolslist,style=symbunitlong] % list of symbols
            printglossary[type=main] % main glossary

            end{document}


            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Sep 5 '17 at 11:04

























            answered Sep 25 '15 at 23:07









            Christian Hupfer

            146k14186378




            146k14186378












            • Perfect, thank you very much for your help!
              – Dave
              Sep 26 '15 at 10:50










            • I am sorry, but when I copy and paste your MWE, then compile it, I got nothing but a white page. What is the reason behind this?
              – Diaa
              Sep 5 '17 at 11:01










            • @DiaaAbidou: Have you run the makeglossaries script?
              – Christian Hupfer
              Sep 5 '17 at 11:04










            • I am sorry, but what do you mean?
              – Diaa
              Sep 5 '17 at 11:05






            • 1




              @DiaaAbidou: See the documentation and change makenoidxglossaries into makeglossaries
              – Christian Hupfer
              Sep 5 '17 at 11:20


















            • Perfect, thank you very much for your help!
              – Dave
              Sep 26 '15 at 10:50










            • I am sorry, but when I copy and paste your MWE, then compile it, I got nothing but a white page. What is the reason behind this?
              – Diaa
              Sep 5 '17 at 11:01










            • @DiaaAbidou: Have you run the makeglossaries script?
              – Christian Hupfer
              Sep 5 '17 at 11:04










            • I am sorry, but what do you mean?
              – Diaa
              Sep 5 '17 at 11:05






            • 1




              @DiaaAbidou: See the documentation and change makenoidxglossaries into makeglossaries
              – Christian Hupfer
              Sep 5 '17 at 11:20
















            Perfect, thank you very much for your help!
            – Dave
            Sep 26 '15 at 10:50




            Perfect, thank you very much for your help!
            – Dave
            Sep 26 '15 at 10:50












            I am sorry, but when I copy and paste your MWE, then compile it, I got nothing but a white page. What is the reason behind this?
            – Diaa
            Sep 5 '17 at 11:01




            I am sorry, but when I copy and paste your MWE, then compile it, I got nothing but a white page. What is the reason behind this?
            – Diaa
            Sep 5 '17 at 11:01












            @DiaaAbidou: Have you run the makeglossaries script?
            – Christian Hupfer
            Sep 5 '17 at 11:04




            @DiaaAbidou: Have you run the makeglossaries script?
            – Christian Hupfer
            Sep 5 '17 at 11:04












            I am sorry, but what do you mean?
            – Diaa
            Sep 5 '17 at 11:05




            I am sorry, but what do you mean?
            – Diaa
            Sep 5 '17 at 11:05




            1




            1




            @DiaaAbidou: See the documentation and change makenoidxglossaries into makeglossaries
            – Christian Hupfer
            Sep 5 '17 at 11:20




            @DiaaAbidou: See the documentation and change makenoidxglossaries into makeglossaries
            – Christian Hupfer
            Sep 5 '17 at 11:20










            up vote
            5
            down vote













            Just adding to Christian's answer: to use the unit macros inside the si{unit} command defined by siunitx such as metre and kilowatt used in his MWE, one should add the command glssetnoexpandfield{unit} before setting any entries.



            It is better explained in This Answer.






            share|improve this answer



























              up vote
              5
              down vote













              Just adding to Christian's answer: to use the unit macros inside the si{unit} command defined by siunitx such as metre and kilowatt used in his MWE, one should add the command glssetnoexpandfield{unit} before setting any entries.



              It is better explained in This Answer.






              share|improve this answer

























                up vote
                5
                down vote










                up vote
                5
                down vote









                Just adding to Christian's answer: to use the unit macros inside the si{unit} command defined by siunitx such as metre and kilowatt used in his MWE, one should add the command glssetnoexpandfield{unit} before setting any entries.



                It is better explained in This Answer.






                share|improve this answer














                Just adding to Christian's answer: to use the unit macros inside the si{unit} command defined by siunitx such as metre and kilowatt used in his MWE, one should add the command glssetnoexpandfield{unit} before setting any entries.



                It is better explained in This Answer.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 13 '17 at 12:34









                Community

                1




                1










                answered Dec 18 '15 at 16:53









                Guilherme Zanotelli

                6,1831339




                6,1831339






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f269565%2fglossaries-how-to-customize-list-of-symbols-with-additional-column-for-units%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

                    Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                    ComboBox Display Member on multiple fields

                    Is it possible to collect Nectar points via Trainline?