Gauss brackets with double vertical lines [duplicate]Use custom bracketsHow can I create a new extensible...

Why doesn't H₄O²⁺ exist?

Assassin's bullet with mercury

What reasons are there for a Capitalist to oppose a 100% inheritance tax?

Python: return float 1.0 as int 1 but float 1.5 as float 1.5

How much of data wrangling is a data scientist's job?

Would Slavery Reparations be considered Bills of Attainder and hence Illegal?

I Accidentally Deleted a Stock Terminal Theme

In Romance of the Three Kingdoms why do people still use bamboo sticks when papers are already invented?

How can I make my BBEG immortal short of making them a Lich or Vampire?

How to take photos in burst mode, without vibration?

Why is the 'in' operator throwing an error with a string literal instead of logging false?

Is "remove commented out code" correct English?

What does it mean to describe someone as a butt steak?

Should I tell management that I intend to leave due to bad software development practices?

Alternative to sending password over mail?

What is the most common color to indicate the input-field is disabled?

Can I use a neutral wire from another outlet to repair a broken neutral?

How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?

Will google still index a page if I use a $_SESSION variable?

Has there ever been an airliner design involving reducing generator load by installing solar panels?

Blender 2.8 I can't see vertices, edges or faces in edit mode

What is the word for reserving something for yourself before others do?

I'm flying to France today and my passport expires in less than 2 months

How could indestructible materials be used in power generation?



Gauss brackets with double vertical lines [duplicate]


Use custom bracketsHow can I create a new extensible symbol?Issue with the numeration of the appendix Bproblem of introducing long brackets in different linesDouble square bracketsTwo double-line equations need double left bracketsProblem with bracketsperp with two vertical linesBrackets around multiple linesCurly brackets spanning multiple lines (no math env)Impact of enclosing lines with curly bracketsbig double square bracketsDouble vertical bar with dash through it













6
















This question already has an answer here:




  • Use custom brackets

    2 answers




I would like to have commands for left- and right gauss brackets which have a double vertical line, but otherwise behave exactly like lfloor and rfloor. In particular, they should come in various sizes and other things should stay unchanged.



I found two candidates, which are both not optimal, unfortunately:




  • llfloor and rrfloor in the package stmaryrd. Unfortunately they do not understand preceeding left and right commands. My impression is they are fixed size.


  • lFloor and rFloor in the package nath. They come in different sizes, but the problem is that including the package nath introduces automatic sizing behaviour of all symbols of parantheses-type. This might be interesting, but for the moment this change is just too radical for my taste.











share|improve this question













marked as duplicate by JouleV, Dox, Andrew Swann, Raaja, Stefan Pinnow Mar 19 at 8:55


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















  • Please do you have available a MWE for this problem? Thank you.

    – Sebastiano
    Mar 18 at 21:19








  • 1





    tex.stackexchange.com/questions/140055/use-custom-brackets

    – JPi
    Mar 18 at 23:14
















6
















This question already has an answer here:




  • Use custom brackets

    2 answers




I would like to have commands for left- and right gauss brackets which have a double vertical line, but otherwise behave exactly like lfloor and rfloor. In particular, they should come in various sizes and other things should stay unchanged.



I found two candidates, which are both not optimal, unfortunately:




  • llfloor and rrfloor in the package stmaryrd. Unfortunately they do not understand preceeding left and right commands. My impression is they are fixed size.


  • lFloor and rFloor in the package nath. They come in different sizes, but the problem is that including the package nath introduces automatic sizing behaviour of all symbols of parantheses-type. This might be interesting, but for the moment this change is just too radical for my taste.











share|improve this question













marked as duplicate by JouleV, Dox, Andrew Swann, Raaja, Stefan Pinnow Mar 19 at 8:55


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















  • Please do you have available a MWE for this problem? Thank you.

    – Sebastiano
    Mar 18 at 21:19








  • 1





    tex.stackexchange.com/questions/140055/use-custom-brackets

    – JPi
    Mar 18 at 23:14














6












6








6


1







This question already has an answer here:




  • Use custom brackets

    2 answers




I would like to have commands for left- and right gauss brackets which have a double vertical line, but otherwise behave exactly like lfloor and rfloor. In particular, they should come in various sizes and other things should stay unchanged.



I found two candidates, which are both not optimal, unfortunately:




  • llfloor and rrfloor in the package stmaryrd. Unfortunately they do not understand preceeding left and right commands. My impression is they are fixed size.


  • lFloor and rFloor in the package nath. They come in different sizes, but the problem is that including the package nath introduces automatic sizing behaviour of all symbols of parantheses-type. This might be interesting, but for the moment this change is just too radical for my taste.











share|improve this question















This question already has an answer here:




  • Use custom brackets

    2 answers




I would like to have commands for left- and right gauss brackets which have a double vertical line, but otherwise behave exactly like lfloor and rfloor. In particular, they should come in various sizes and other things should stay unchanged.



I found two candidates, which are both not optimal, unfortunately:




  • llfloor and rrfloor in the package stmaryrd. Unfortunately they do not understand preceeding left and right commands. My impression is they are fixed size.


  • lFloor and rFloor in the package nath. They come in different sizes, but the problem is that including the package nath introduces automatic sizing behaviour of all symbols of parantheses-type. This might be interesting, but for the moment this change is just too radical for my taste.






This question already has an answer here:




  • Use custom brackets

    2 answers








symbols brackets stmaryrd nath






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 18 at 21:15









azimutazimut

406613




406613




marked as duplicate by JouleV, Dox, Andrew Swann, Raaja, Stefan Pinnow Mar 19 at 8:55


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by JouleV, Dox, Andrew Swann, Raaja, Stefan Pinnow Mar 19 at 8:55


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • Please do you have available a MWE for this problem? Thank you.

    – Sebastiano
    Mar 18 at 21:19








  • 1





    tex.stackexchange.com/questions/140055/use-custom-brackets

    – JPi
    Mar 18 at 23:14



















  • Please do you have available a MWE for this problem? Thank you.

    – Sebastiano
    Mar 18 at 21:19








  • 1





    tex.stackexchange.com/questions/140055/use-custom-brackets

    – JPi
    Mar 18 at 23:14

















Please do you have available a MWE for this problem? Thank you.

– Sebastiano
Mar 18 at 21:19







Please do you have available a MWE for this problem? Thank you.

– Sebastiano
Mar 18 at 21:19






1




1





tex.stackexchange.com/questions/140055/use-custom-brackets

– JPi
Mar 18 at 23:14





tex.stackexchange.com/questions/140055/use-custom-brackets

– JPi
Mar 18 at 23:14










2 Answers
2






active

oldest

votes


















5














Thanks to Werner for providing a solution for this similar question.



A rather quick fix using scalerel would be the following.



Conveniently, scalerel provides scaleleftright[<max width>]{<left obj>}{<stuff>}{<right obj>} (and a comparable stretchleftright) for scaling/stretching both <left obj> and <right obj> to the height of <stuff> (constrained, if required and optional, to a width of <max width>). Here's a quick example:





documentclass{article}
usepackage{scalerel, stmaryrd} % http://ctan.org/pkg/scalerel

newcommand{gaussbracket}[1]{stretchleftright{llfloor}{#1}{rrfloor}}

begin{document}
[ gaussbracket{displaystylesum_{i=1}^n i} ]
end{document}





share|improve this answer





















  • 1





    Very very good. I have really appreciated your code.

    – Sebastiano
    Mar 18 at 21:55











  • Thanks, but it's not exactly what I wanted. I wanted a pair of commands, one for left and one for right bracket, which can be resized by big, Big, etc. Also, the scaled symbol does not look so good (too thick vertical line).

    – azimut
    Mar 18 at 23:31













  • @azimut. I think the linked question would be an interesting read then, I wouldn't know how to make a non extensible delimiter extensible.

    – Peiffap
    Mar 19 at 6:32



















5














An option if you don't want to use any packages other than amsmath would be to place two lfloors next to each other with a little negative space between:



enter image description here



This has the advantage of not thickening the horizontal portion of the delimiter.



documentclass{article}
usepackage{amsmath}

newcommand{gaussbr}[1]{%
leftlfloorhspace{-.33em}leftlfloor #1rightrfloorhspace{-.33em}rightrfloor%
}

begin{document}

[
gaussbr{A}gaussbr{sum_{n=0}^{infty}a_n}
]

end{document}


Of course, you can adjust the amount of negative space to your liking.






share|improve this answer
































    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    5














    Thanks to Werner for providing a solution for this similar question.



    A rather quick fix using scalerel would be the following.



    Conveniently, scalerel provides scaleleftright[<max width>]{<left obj>}{<stuff>}{<right obj>} (and a comparable stretchleftright) for scaling/stretching both <left obj> and <right obj> to the height of <stuff> (constrained, if required and optional, to a width of <max width>). Here's a quick example:





    documentclass{article}
    usepackage{scalerel, stmaryrd} % http://ctan.org/pkg/scalerel

    newcommand{gaussbracket}[1]{stretchleftright{llfloor}{#1}{rrfloor}}

    begin{document}
    [ gaussbracket{displaystylesum_{i=1}^n i} ]
    end{document}





    share|improve this answer





















    • 1





      Very very good. I have really appreciated your code.

      – Sebastiano
      Mar 18 at 21:55











    • Thanks, but it's not exactly what I wanted. I wanted a pair of commands, one for left and one for right bracket, which can be resized by big, Big, etc. Also, the scaled symbol does not look so good (too thick vertical line).

      – azimut
      Mar 18 at 23:31













    • @azimut. I think the linked question would be an interesting read then, I wouldn't know how to make a non extensible delimiter extensible.

      – Peiffap
      Mar 19 at 6:32
















    5














    Thanks to Werner for providing a solution for this similar question.



    A rather quick fix using scalerel would be the following.



    Conveniently, scalerel provides scaleleftright[<max width>]{<left obj>}{<stuff>}{<right obj>} (and a comparable stretchleftright) for scaling/stretching both <left obj> and <right obj> to the height of <stuff> (constrained, if required and optional, to a width of <max width>). Here's a quick example:





    documentclass{article}
    usepackage{scalerel, stmaryrd} % http://ctan.org/pkg/scalerel

    newcommand{gaussbracket}[1]{stretchleftright{llfloor}{#1}{rrfloor}}

    begin{document}
    [ gaussbracket{displaystylesum_{i=1}^n i} ]
    end{document}





    share|improve this answer





















    • 1





      Very very good. I have really appreciated your code.

      – Sebastiano
      Mar 18 at 21:55











    • Thanks, but it's not exactly what I wanted. I wanted a pair of commands, one for left and one for right bracket, which can be resized by big, Big, etc. Also, the scaled symbol does not look so good (too thick vertical line).

      – azimut
      Mar 18 at 23:31













    • @azimut. I think the linked question would be an interesting read then, I wouldn't know how to make a non extensible delimiter extensible.

      – Peiffap
      Mar 19 at 6:32














    5












    5








    5







    Thanks to Werner for providing a solution for this similar question.



    A rather quick fix using scalerel would be the following.



    Conveniently, scalerel provides scaleleftright[<max width>]{<left obj>}{<stuff>}{<right obj>} (and a comparable stretchleftright) for scaling/stretching both <left obj> and <right obj> to the height of <stuff> (constrained, if required and optional, to a width of <max width>). Here's a quick example:





    documentclass{article}
    usepackage{scalerel, stmaryrd} % http://ctan.org/pkg/scalerel

    newcommand{gaussbracket}[1]{stretchleftright{llfloor}{#1}{rrfloor}}

    begin{document}
    [ gaussbracket{displaystylesum_{i=1}^n i} ]
    end{document}





    share|improve this answer















    Thanks to Werner for providing a solution for this similar question.



    A rather quick fix using scalerel would be the following.



    Conveniently, scalerel provides scaleleftright[<max width>]{<left obj>}{<stuff>}{<right obj>} (and a comparable stretchleftright) for scaling/stretching both <left obj> and <right obj> to the height of <stuff> (constrained, if required and optional, to a width of <max width>). Here's a quick example:





    documentclass{article}
    usepackage{scalerel, stmaryrd} % http://ctan.org/pkg/scalerel

    newcommand{gaussbracket}[1]{stretchleftright{llfloor}{#1}{rrfloor}}

    begin{document}
    [ gaussbracket{displaystylesum_{i=1}^n i} ]
    end{document}






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Mar 18 at 21:56

























    answered Mar 18 at 21:53









    PeiffapPeiffap

    1239




    1239








    • 1





      Very very good. I have really appreciated your code.

      – Sebastiano
      Mar 18 at 21:55











    • Thanks, but it's not exactly what I wanted. I wanted a pair of commands, one for left and one for right bracket, which can be resized by big, Big, etc. Also, the scaled symbol does not look so good (too thick vertical line).

      – azimut
      Mar 18 at 23:31













    • @azimut. I think the linked question would be an interesting read then, I wouldn't know how to make a non extensible delimiter extensible.

      – Peiffap
      Mar 19 at 6:32














    • 1





      Very very good. I have really appreciated your code.

      – Sebastiano
      Mar 18 at 21:55











    • Thanks, but it's not exactly what I wanted. I wanted a pair of commands, one for left and one for right bracket, which can be resized by big, Big, etc. Also, the scaled symbol does not look so good (too thick vertical line).

      – azimut
      Mar 18 at 23:31













    • @azimut. I think the linked question would be an interesting read then, I wouldn't know how to make a non extensible delimiter extensible.

      – Peiffap
      Mar 19 at 6:32








    1




    1





    Very very good. I have really appreciated your code.

    – Sebastiano
    Mar 18 at 21:55





    Very very good. I have really appreciated your code.

    – Sebastiano
    Mar 18 at 21:55













    Thanks, but it's not exactly what I wanted. I wanted a pair of commands, one for left and one for right bracket, which can be resized by big, Big, etc. Also, the scaled symbol does not look so good (too thick vertical line).

    – azimut
    Mar 18 at 23:31







    Thanks, but it's not exactly what I wanted. I wanted a pair of commands, one for left and one for right bracket, which can be resized by big, Big, etc. Also, the scaled symbol does not look so good (too thick vertical line).

    – azimut
    Mar 18 at 23:31















    @azimut. I think the linked question would be an interesting read then, I wouldn't know how to make a non extensible delimiter extensible.

    – Peiffap
    Mar 19 at 6:32





    @azimut. I think the linked question would be an interesting read then, I wouldn't know how to make a non extensible delimiter extensible.

    – Peiffap
    Mar 19 at 6:32











    5














    An option if you don't want to use any packages other than amsmath would be to place two lfloors next to each other with a little negative space between:



    enter image description here



    This has the advantage of not thickening the horizontal portion of the delimiter.



    documentclass{article}
    usepackage{amsmath}

    newcommand{gaussbr}[1]{%
    leftlfloorhspace{-.33em}leftlfloor #1rightrfloorhspace{-.33em}rightrfloor%
    }

    begin{document}

    [
    gaussbr{A}gaussbr{sum_{n=0}^{infty}a_n}
    ]

    end{document}


    Of course, you can adjust the amount of negative space to your liking.






    share|improve this answer






























      5














      An option if you don't want to use any packages other than amsmath would be to place two lfloors next to each other with a little negative space between:



      enter image description here



      This has the advantage of not thickening the horizontal portion of the delimiter.



      documentclass{article}
      usepackage{amsmath}

      newcommand{gaussbr}[1]{%
      leftlfloorhspace{-.33em}leftlfloor #1rightrfloorhspace{-.33em}rightrfloor%
      }

      begin{document}

      [
      gaussbr{A}gaussbr{sum_{n=0}^{infty}a_n}
      ]

      end{document}


      Of course, you can adjust the amount of negative space to your liking.






      share|improve this answer




























        5












        5








        5







        An option if you don't want to use any packages other than amsmath would be to place two lfloors next to each other with a little negative space between:



        enter image description here



        This has the advantage of not thickening the horizontal portion of the delimiter.



        documentclass{article}
        usepackage{amsmath}

        newcommand{gaussbr}[1]{%
        leftlfloorhspace{-.33em}leftlfloor #1rightrfloorhspace{-.33em}rightrfloor%
        }

        begin{document}

        [
        gaussbr{A}gaussbr{sum_{n=0}^{infty}a_n}
        ]

        end{document}


        Of course, you can adjust the amount of negative space to your liking.






        share|improve this answer















        An option if you don't want to use any packages other than amsmath would be to place two lfloors next to each other with a little negative space between:



        enter image description here



        This has the advantage of not thickening the horizontal portion of the delimiter.



        documentclass{article}
        usepackage{amsmath}

        newcommand{gaussbr}[1]{%
        leftlfloorhspace{-.33em}leftlfloor #1rightrfloorhspace{-.33em}rightrfloor%
        }

        begin{document}

        [
        gaussbr{A}gaussbr{sum_{n=0}^{infty}a_n}
        ]

        end{document}


        Of course, you can adjust the amount of negative space to your liking.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 19 at 1:55

























        answered Mar 19 at 1:34









        Sandy GSandy G

        4,3201635




        4,3201635















            Popular posts from this blog

            六本木駅

            Integral that is continuous and looks like it converges to a geometric seriesTesting if a geometric series converges by taking limit to infinitySummation of arithmetic-geometric series of higher orderGeometric series with polynomial exponentHow to Recognize a Geometric SeriesShowing an integral equality with series over the integersDiscontinuity of a series of continuous functionsReasons why a Series ConvergesSum of infinite geometric series with two terms in summationUsing geometric series for computing IntegralsLimit of geometric series sum when $r = 1$

            Joseph Lister