Spurious space from tdplotsetmaincoordsHow to draw a cube with TikZ where all faces have a distinct color?

Charles Hockett - 'F' article?

Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?

How can you use ICE tables to solve multiple coupled equilibria?

A sequence that has integer values for prime indexes only:

Sailing the cryptic seas

Why doesn't using two cd commands in bash script execute the second command?

How to read the value of this capacitor?

Welcoming 2019 Pi day: How to draw the letter π?

How to terminate ping <dest> &

In a future war, an old lady is trying to raise a boy but one of the weapons has made everyone deaf

Do I need to be arrogant to get ahead?

How to simplify this time periods definition interface?

Who is flying the vertibirds?

Use of undefined constant bloginfo

Why one should not leave fingerprints on bulbs and plugs?

Professor being mistaken for a grad student

Time travel from stationary position?

Are there verbs that are neither telic, or atelic?

Why did it take so long to abandon sail after steamships were demonstrated?

Opacity of an object in 2.8

Do I need life insurance if I can cover my own funeral costs?

If I can solve Sudoku can I solve Travelling Salesman Problem(TSP)? If yes, how?

Unexpected result from ArcLength

Are all passive ability checks floors for active ability checks?



Spurious space from tdplotsetmaincoords


How to draw a cube with TikZ where all faces have a distinct color?













0















The MWE below results is spurious space due to the use of tdplotsetmaincoords:



enter image description here



The red is the bounding box and the gray box is from fbox{}.



Including an unskipunskip (commented out in the MWE) does resolve the problem, but wondering if there is a better solution.



Is this a bug or is there a reason for this spacing?



Notes:




  • Moving the tdplotsetmaincoords{70}{115} to be before begin{document} also resolves the problem, but this won't easily work for me as my figures use the standalone class and are included in other documents -- thus I need to have that setting localized with each figure.


References:




  • The code for the cube drawing is from How to draw a cube with TikZ where all faces have a distinct color?.


Code:



documentclass{article}
usepackage{tikz,tikz-3dplot}

newcommand*{DrawBoundingBox}[1][]{%
draw [
draw=red, thick,
]
([shift={(-1pt,-1pt)}]current bounding box.south west) rectangle
([shift={(1pt,1pt)}]current bounding box.north east);
}

begin{document}
fboxsep=0pt
fbox{%
%% code from https://tex.stackexchange.com/a/29342/4301
tdplotsetmaincoords{70}{115}%
%unskipunskip% <----- HACK which fixes the problem.
begin{tikzpicture}[scale=4,tdplot_main_coords]
coordinate (O) at (0,0,0);
tdplotsetcoord{P}{1.414213}{54.68636}{45}

draw[fill=gray!50,fill opacity=0.5] (O) -- (Py) -- (Pyz) -- (Pz) -- cycle;
draw[fill=blue,fill opacity=0.5] (O) -- (Px) -- (Pxy) -- (Py) -- cycle;
draw[fill=yellow,fill opacity=0.5] (O) -- (Px) -- (Pxz) -- (Pz) -- cycle;
draw[fill=green,fill opacity=0.5] (Pz) -- (Pyz) -- (P) -- (Pxz) -- cycle;
draw[fill=red,fill opacity=0.5] (Px) -- (Pxy) -- (P) -- (Pxz) -- cycle;
draw[fill=magenta,fill opacity=0.5] (Py) -- (Pxy) -- (P) -- (Pyz) -- cycle;

DrawBoundingBox
end{tikzpicture}%
}%
end{document}








share



























    0















    The MWE below results is spurious space due to the use of tdplotsetmaincoords:



    enter image description here



    The red is the bounding box and the gray box is from fbox{}.



    Including an unskipunskip (commented out in the MWE) does resolve the problem, but wondering if there is a better solution.



    Is this a bug or is there a reason for this spacing?



    Notes:




    • Moving the tdplotsetmaincoords{70}{115} to be before begin{document} also resolves the problem, but this won't easily work for me as my figures use the standalone class and are included in other documents -- thus I need to have that setting localized with each figure.


    References:




    • The code for the cube drawing is from How to draw a cube with TikZ where all faces have a distinct color?.


    Code:



    documentclass{article}
    usepackage{tikz,tikz-3dplot}

    newcommand*{DrawBoundingBox}[1][]{%
    draw [
    draw=red, thick,
    ]
    ([shift={(-1pt,-1pt)}]current bounding box.south west) rectangle
    ([shift={(1pt,1pt)}]current bounding box.north east);
    }

    begin{document}
    fboxsep=0pt
    fbox{%
    %% code from https://tex.stackexchange.com/a/29342/4301
    tdplotsetmaincoords{70}{115}%
    %unskipunskip% <----- HACK which fixes the problem.
    begin{tikzpicture}[scale=4,tdplot_main_coords]
    coordinate (O) at (0,0,0);
    tdplotsetcoord{P}{1.414213}{54.68636}{45}

    draw[fill=gray!50,fill opacity=0.5] (O) -- (Py) -- (Pyz) -- (Pz) -- cycle;
    draw[fill=blue,fill opacity=0.5] (O) -- (Px) -- (Pxy) -- (Py) -- cycle;
    draw[fill=yellow,fill opacity=0.5] (O) -- (Px) -- (Pxz) -- (Pz) -- cycle;
    draw[fill=green,fill opacity=0.5] (Pz) -- (Pyz) -- (P) -- (Pxz) -- cycle;
    draw[fill=red,fill opacity=0.5] (Px) -- (Pxy) -- (P) -- (Pxz) -- cycle;
    draw[fill=magenta,fill opacity=0.5] (Py) -- (Pxy) -- (P) -- (Pyz) -- cycle;

    DrawBoundingBox
    end{tikzpicture}%
    }%
    end{document}








    share

























      0












      0








      0








      The MWE below results is spurious space due to the use of tdplotsetmaincoords:



      enter image description here



      The red is the bounding box and the gray box is from fbox{}.



      Including an unskipunskip (commented out in the MWE) does resolve the problem, but wondering if there is a better solution.



      Is this a bug or is there a reason for this spacing?



      Notes:




      • Moving the tdplotsetmaincoords{70}{115} to be before begin{document} also resolves the problem, but this won't easily work for me as my figures use the standalone class and are included in other documents -- thus I need to have that setting localized with each figure.


      References:




      • The code for the cube drawing is from How to draw a cube with TikZ where all faces have a distinct color?.


      Code:



      documentclass{article}
      usepackage{tikz,tikz-3dplot}

      newcommand*{DrawBoundingBox}[1][]{%
      draw [
      draw=red, thick,
      ]
      ([shift={(-1pt,-1pt)}]current bounding box.south west) rectangle
      ([shift={(1pt,1pt)}]current bounding box.north east);
      }

      begin{document}
      fboxsep=0pt
      fbox{%
      %% code from https://tex.stackexchange.com/a/29342/4301
      tdplotsetmaincoords{70}{115}%
      %unskipunskip% <----- HACK which fixes the problem.
      begin{tikzpicture}[scale=4,tdplot_main_coords]
      coordinate (O) at (0,0,0);
      tdplotsetcoord{P}{1.414213}{54.68636}{45}

      draw[fill=gray!50,fill opacity=0.5] (O) -- (Py) -- (Pyz) -- (Pz) -- cycle;
      draw[fill=blue,fill opacity=0.5] (O) -- (Px) -- (Pxy) -- (Py) -- cycle;
      draw[fill=yellow,fill opacity=0.5] (O) -- (Px) -- (Pxz) -- (Pz) -- cycle;
      draw[fill=green,fill opacity=0.5] (Pz) -- (Pyz) -- (P) -- (Pxz) -- cycle;
      draw[fill=red,fill opacity=0.5] (Px) -- (Pxy) -- (P) -- (Pxz) -- cycle;
      draw[fill=magenta,fill opacity=0.5] (Py) -- (Pxy) -- (P) -- (Pyz) -- cycle;

      DrawBoundingBox
      end{tikzpicture}%
      }%
      end{document}








      share














      The MWE below results is spurious space due to the use of tdplotsetmaincoords:



      enter image description here



      The red is the bounding box and the gray box is from fbox{}.



      Including an unskipunskip (commented out in the MWE) does resolve the problem, but wondering if there is a better solution.



      Is this a bug or is there a reason for this spacing?



      Notes:




      • Moving the tdplotsetmaincoords{70}{115} to be before begin{document} also resolves the problem, but this won't easily work for me as my figures use the standalone class and are included in other documents -- thus I need to have that setting localized with each figure.


      References:




      • The code for the cube drawing is from How to draw a cube with TikZ where all faces have a distinct color?.


      Code:



      documentclass{article}
      usepackage{tikz,tikz-3dplot}

      newcommand*{DrawBoundingBox}[1][]{%
      draw [
      draw=red, thick,
      ]
      ([shift={(-1pt,-1pt)}]current bounding box.south west) rectangle
      ([shift={(1pt,1pt)}]current bounding box.north east);
      }

      begin{document}
      fboxsep=0pt
      fbox{%
      %% code from https://tex.stackexchange.com/a/29342/4301
      tdplotsetmaincoords{70}{115}%
      %unskipunskip% <----- HACK which fixes the problem.
      begin{tikzpicture}[scale=4,tdplot_main_coords]
      coordinate (O) at (0,0,0);
      tdplotsetcoord{P}{1.414213}{54.68636}{45}

      draw[fill=gray!50,fill opacity=0.5] (O) -- (Py) -- (Pyz) -- (Pz) -- cycle;
      draw[fill=blue,fill opacity=0.5] (O) -- (Px) -- (Pxy) -- (Py) -- cycle;
      draw[fill=yellow,fill opacity=0.5] (O) -- (Px) -- (Pxz) -- (Pz) -- cycle;
      draw[fill=green,fill opacity=0.5] (Pz) -- (Pyz) -- (P) -- (Pxz) -- cycle;
      draw[fill=red,fill opacity=0.5] (Px) -- (Pxy) -- (P) -- (Pxz) -- cycle;
      draw[fill=magenta,fill opacity=0.5] (Py) -- (Pxy) -- (P) -- (Pyz) -- cycle;

      DrawBoundingBox
      end{tikzpicture}%
      }%
      end{document}






      tikz-pgf spacing draw





      share












      share










      share



      share










      asked 5 mins ago









      Peter GrillPeter Grill

      166k25442756




      166k25442756






















          1 Answer
          1






          active

          oldest

          votes


















          0














          There are spurious spaces in the code. Notify the maintainer.



          documentclass{article}
          usepackage{tikz}
          usepackage{tikz-3dplot}

          newcommand*{DrawBoundingBox}[1][]{%
          draw [
          draw=red, thick,
          ]
          ([shift={(-1pt,-1pt)}]current bounding box.south west) rectangle
          ([shift={(1pt,1pt)}]current bounding box.north east);
          }
          renewcommand{tdplotsetmaincoords}[2]{%
          %perform some trig for the display transformation
          %
          %
          %store the user-specified angles for possible future use
          pgfmathsetmacro{tdplotmaintheta}{#1}% <------ changed
          pgfmathsetmacro{tdplotmainphi}{#2}% <------- changed
          %
          %
          tdplotcalctransformmainscreen
          %
          %now here is where the output is performed
          tikzset{tdplot_main_coords/.style={x={(raarot cm,rbarot cm)},y={(rabrot cm, rbbrot cm)},z={(racrot cm, rbcrot cm)}}}%
          }

          begin{document}
          fboxsep=0pt
          fbox{%
          %% code from https://tex.stackexchange.com/a/29342/4301
          tdplotsetmaincoords{70}{115}%
          %unskipunskip% <----- HACK which fixes the problem.
          begin{tikzpicture}[scale=4,tdplot_main_coords]
          coordinate (O) at (0,0,0);
          tdplotsetcoord{P}{1.414213}{54.68636}{45}

          draw[fill=gray!50,fill opacity=0.5] (O) -- (Py) -- (Pyz) -- (Pz) -- cycle;
          draw[fill=blue,fill opacity=0.5] (O) -- (Px) -- (Pxy) -- (Py) -- cycle;
          draw[fill=yellow,fill opacity=0.5] (O) -- (Px) -- (Pxz) -- (Pz) -- cycle;
          draw[fill=green,fill opacity=0.5] (Pz) -- (Pyz) -- (P) -- (Pxz) -- cycle;
          draw[fill=red,fill opacity=0.5] (Px) -- (Pxy) -- (P) -- (Pxz) -- cycle;
          draw[fill=magenta,fill opacity=0.5] (Py) -- (Pxy) -- (P) -- (Pyz) -- cycle;

          DrawBoundingBox
          end{tikzpicture}%
          }%
          end{document}


          enter image description here





          share























            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%2f479734%2fspurious-space-from-tdplotsetmaincoords%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            There are spurious spaces in the code. Notify the maintainer.



            documentclass{article}
            usepackage{tikz}
            usepackage{tikz-3dplot}

            newcommand*{DrawBoundingBox}[1][]{%
            draw [
            draw=red, thick,
            ]
            ([shift={(-1pt,-1pt)}]current bounding box.south west) rectangle
            ([shift={(1pt,1pt)}]current bounding box.north east);
            }
            renewcommand{tdplotsetmaincoords}[2]{%
            %perform some trig for the display transformation
            %
            %
            %store the user-specified angles for possible future use
            pgfmathsetmacro{tdplotmaintheta}{#1}% <------ changed
            pgfmathsetmacro{tdplotmainphi}{#2}% <------- changed
            %
            %
            tdplotcalctransformmainscreen
            %
            %now here is where the output is performed
            tikzset{tdplot_main_coords/.style={x={(raarot cm,rbarot cm)},y={(rabrot cm, rbbrot cm)},z={(racrot cm, rbcrot cm)}}}%
            }

            begin{document}
            fboxsep=0pt
            fbox{%
            %% code from https://tex.stackexchange.com/a/29342/4301
            tdplotsetmaincoords{70}{115}%
            %unskipunskip% <----- HACK which fixes the problem.
            begin{tikzpicture}[scale=4,tdplot_main_coords]
            coordinate (O) at (0,0,0);
            tdplotsetcoord{P}{1.414213}{54.68636}{45}

            draw[fill=gray!50,fill opacity=0.5] (O) -- (Py) -- (Pyz) -- (Pz) -- cycle;
            draw[fill=blue,fill opacity=0.5] (O) -- (Px) -- (Pxy) -- (Py) -- cycle;
            draw[fill=yellow,fill opacity=0.5] (O) -- (Px) -- (Pxz) -- (Pz) -- cycle;
            draw[fill=green,fill opacity=0.5] (Pz) -- (Pyz) -- (P) -- (Pxz) -- cycle;
            draw[fill=red,fill opacity=0.5] (Px) -- (Pxy) -- (P) -- (Pxz) -- cycle;
            draw[fill=magenta,fill opacity=0.5] (Py) -- (Pxy) -- (P) -- (Pyz) -- cycle;

            DrawBoundingBox
            end{tikzpicture}%
            }%
            end{document}


            enter image description here





            share




























              0














              There are spurious spaces in the code. Notify the maintainer.



              documentclass{article}
              usepackage{tikz}
              usepackage{tikz-3dplot}

              newcommand*{DrawBoundingBox}[1][]{%
              draw [
              draw=red, thick,
              ]
              ([shift={(-1pt,-1pt)}]current bounding box.south west) rectangle
              ([shift={(1pt,1pt)}]current bounding box.north east);
              }
              renewcommand{tdplotsetmaincoords}[2]{%
              %perform some trig for the display transformation
              %
              %
              %store the user-specified angles for possible future use
              pgfmathsetmacro{tdplotmaintheta}{#1}% <------ changed
              pgfmathsetmacro{tdplotmainphi}{#2}% <------- changed
              %
              %
              tdplotcalctransformmainscreen
              %
              %now here is where the output is performed
              tikzset{tdplot_main_coords/.style={x={(raarot cm,rbarot cm)},y={(rabrot cm, rbbrot cm)},z={(racrot cm, rbcrot cm)}}}%
              }

              begin{document}
              fboxsep=0pt
              fbox{%
              %% code from https://tex.stackexchange.com/a/29342/4301
              tdplotsetmaincoords{70}{115}%
              %unskipunskip% <----- HACK which fixes the problem.
              begin{tikzpicture}[scale=4,tdplot_main_coords]
              coordinate (O) at (0,0,0);
              tdplotsetcoord{P}{1.414213}{54.68636}{45}

              draw[fill=gray!50,fill opacity=0.5] (O) -- (Py) -- (Pyz) -- (Pz) -- cycle;
              draw[fill=blue,fill opacity=0.5] (O) -- (Px) -- (Pxy) -- (Py) -- cycle;
              draw[fill=yellow,fill opacity=0.5] (O) -- (Px) -- (Pxz) -- (Pz) -- cycle;
              draw[fill=green,fill opacity=0.5] (Pz) -- (Pyz) -- (P) -- (Pxz) -- cycle;
              draw[fill=red,fill opacity=0.5] (Px) -- (Pxy) -- (P) -- (Pxz) -- cycle;
              draw[fill=magenta,fill opacity=0.5] (Py) -- (Pxy) -- (P) -- (Pyz) -- cycle;

              DrawBoundingBox
              end{tikzpicture}%
              }%
              end{document}


              enter image description here





              share


























                0












                0








                0







                There are spurious spaces in the code. Notify the maintainer.



                documentclass{article}
                usepackage{tikz}
                usepackage{tikz-3dplot}

                newcommand*{DrawBoundingBox}[1][]{%
                draw [
                draw=red, thick,
                ]
                ([shift={(-1pt,-1pt)}]current bounding box.south west) rectangle
                ([shift={(1pt,1pt)}]current bounding box.north east);
                }
                renewcommand{tdplotsetmaincoords}[2]{%
                %perform some trig for the display transformation
                %
                %
                %store the user-specified angles for possible future use
                pgfmathsetmacro{tdplotmaintheta}{#1}% <------ changed
                pgfmathsetmacro{tdplotmainphi}{#2}% <------- changed
                %
                %
                tdplotcalctransformmainscreen
                %
                %now here is where the output is performed
                tikzset{tdplot_main_coords/.style={x={(raarot cm,rbarot cm)},y={(rabrot cm, rbbrot cm)},z={(racrot cm, rbcrot cm)}}}%
                }

                begin{document}
                fboxsep=0pt
                fbox{%
                %% code from https://tex.stackexchange.com/a/29342/4301
                tdplotsetmaincoords{70}{115}%
                %unskipunskip% <----- HACK which fixes the problem.
                begin{tikzpicture}[scale=4,tdplot_main_coords]
                coordinate (O) at (0,0,0);
                tdplotsetcoord{P}{1.414213}{54.68636}{45}

                draw[fill=gray!50,fill opacity=0.5] (O) -- (Py) -- (Pyz) -- (Pz) -- cycle;
                draw[fill=blue,fill opacity=0.5] (O) -- (Px) -- (Pxy) -- (Py) -- cycle;
                draw[fill=yellow,fill opacity=0.5] (O) -- (Px) -- (Pxz) -- (Pz) -- cycle;
                draw[fill=green,fill opacity=0.5] (Pz) -- (Pyz) -- (P) -- (Pxz) -- cycle;
                draw[fill=red,fill opacity=0.5] (Px) -- (Pxy) -- (P) -- (Pxz) -- cycle;
                draw[fill=magenta,fill opacity=0.5] (Py) -- (Pxy) -- (P) -- (Pyz) -- cycle;

                DrawBoundingBox
                end{tikzpicture}%
                }%
                end{document}


                enter image description here





                share













                There are spurious spaces in the code. Notify the maintainer.



                documentclass{article}
                usepackage{tikz}
                usepackage{tikz-3dplot}

                newcommand*{DrawBoundingBox}[1][]{%
                draw [
                draw=red, thick,
                ]
                ([shift={(-1pt,-1pt)}]current bounding box.south west) rectangle
                ([shift={(1pt,1pt)}]current bounding box.north east);
                }
                renewcommand{tdplotsetmaincoords}[2]{%
                %perform some trig for the display transformation
                %
                %
                %store the user-specified angles for possible future use
                pgfmathsetmacro{tdplotmaintheta}{#1}% <------ changed
                pgfmathsetmacro{tdplotmainphi}{#2}% <------- changed
                %
                %
                tdplotcalctransformmainscreen
                %
                %now here is where the output is performed
                tikzset{tdplot_main_coords/.style={x={(raarot cm,rbarot cm)},y={(rabrot cm, rbbrot cm)},z={(racrot cm, rbcrot cm)}}}%
                }

                begin{document}
                fboxsep=0pt
                fbox{%
                %% code from https://tex.stackexchange.com/a/29342/4301
                tdplotsetmaincoords{70}{115}%
                %unskipunskip% <----- HACK which fixes the problem.
                begin{tikzpicture}[scale=4,tdplot_main_coords]
                coordinate (O) at (0,0,0);
                tdplotsetcoord{P}{1.414213}{54.68636}{45}

                draw[fill=gray!50,fill opacity=0.5] (O) -- (Py) -- (Pyz) -- (Pz) -- cycle;
                draw[fill=blue,fill opacity=0.5] (O) -- (Px) -- (Pxy) -- (Py) -- cycle;
                draw[fill=yellow,fill opacity=0.5] (O) -- (Px) -- (Pxz) -- (Pz) -- cycle;
                draw[fill=green,fill opacity=0.5] (Pz) -- (Pyz) -- (P) -- (Pxz) -- cycle;
                draw[fill=red,fill opacity=0.5] (Px) -- (Pxy) -- (P) -- (Pxz) -- cycle;
                draw[fill=magenta,fill opacity=0.5] (Py) -- (Pxy) -- (P) -- (Pyz) -- cycle;

                DrawBoundingBox
                end{tikzpicture}%
                }%
                end{document}


                enter image description here






                share











                share


                share










                answered 42 secs ago









                Ulrike FischerUlrike Fischer

                195k8302689




                195k8302689






























                    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%2f479734%2fspurious-space-from-tdplotsetmaincoords%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

                    Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

                    Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

                    How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...