Double line is displayed as a rectangle [duplicate]Unwanted faint lines connecting dashed double lineTikZ: Intersection point with a double-line pathTwo problems with double lines in TikZRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?Tikzpicture: Line break in node label to rightWhy do I get an extra white page before my TikZ picture?TikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themHow to draw a square and its diagonals with arrows?beginfigure… endfigure is not working with tikz package

I unknowingly submitted plagarised work

Employer demanding to see degree after poor code review

Why colon to denote that a value belongs to a type?

I think I may have violated academic integrity last year - what should I do?

Popcorn is the only acceptable snack to consume while watching a movie

Were pens caps holes designed to prevent death by suffocation if swallowed?

What are these arcade games in Ghostbusters 1984?

What is the largest (size) solid object ever dropped from an airplane to impact the ground in freefall?

Binary Search in C++17

Adding spaces to string based on list

Simple fuzz pedal using breadboard

Website returning plaintext password

My employer faked my resume to acquire projects

What is the environment variable XDG_VTNR?

What is a Centaur Thief's climbing speed?

How should I introduce map drawing to my players?

When and what was the first 3D acceleration device ever released?

Using credit/debit card details vs swiping a card in a payment (credit card) terminal

Ticket to ride, 1910: What are the big cities

If a person had control of every single cell of their body, would they be able to transform into another creature?

Should breaking down something like a door be adjudicated as an attempt to beat its AC and HP, or as an ability check against a set DC?

How to use Palladio font in text body but Computer Modern for Equations?

Employer asking for online access to bank account - Is this a scam?

Why do Ryanair allow me to book connecting itineraries through a third party, but not through their own website?



Double line is displayed as a rectangle [duplicate]


Unwanted faint lines connecting dashed double lineTikZ: Intersection point with a double-line pathTwo problems with double lines in TikZRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?Tikzpicture: Line break in node label to rightWhy do I get an extra white page before my TikZ picture?TikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themHow to draw a square and its diagonals with arrows?beginfigure… endfigure is not working with tikz package













1
















This question already has an answer here:



  • Unwanted faint lines connecting dashed double line

    1 answer



MWE:



documentclassarticle
usepackagetikz
usetikzlibrarypositioning
begindocument
begintikzpicture
node (x) X;
node[above right=1mm and 2mm of x] (y) Y;

draw[double,double distance=2mm] (x) -- (y);
endtikzpicture
enddocument


compilation result



How to remove the thin lines?










share|improve this question













marked as duplicate by The old JouleV, Stefan Pinnow, Phelype Oleinik, Raaja, siracusa May 13 at 18:15


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.


















  • See the answer of this question for instance.

    – marmot
    May 13 at 14:38











  • Or this one may even be simpler.

    – marmot
    May 13 at 14:41















1
















This question already has an answer here:



  • Unwanted faint lines connecting dashed double line

    1 answer



MWE:



documentclassarticle
usepackagetikz
usetikzlibrarypositioning
begindocument
begintikzpicture
node (x) X;
node[above right=1mm and 2mm of x] (y) Y;

draw[double,double distance=2mm] (x) -- (y);
endtikzpicture
enddocument


compilation result



How to remove the thin lines?










share|improve this question













marked as duplicate by The old JouleV, Stefan Pinnow, Phelype Oleinik, Raaja, siracusa May 13 at 18:15


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.


















  • See the answer of this question for instance.

    – marmot
    May 13 at 14:38











  • Or this one may even be simpler.

    – marmot
    May 13 at 14:41













1












1








1


1







This question already has an answer here:



  • Unwanted faint lines connecting dashed double line

    1 answer



MWE:



documentclassarticle
usepackagetikz
usetikzlibrarypositioning
begindocument
begintikzpicture
node (x) X;
node[above right=1mm and 2mm of x] (y) Y;

draw[double,double distance=2mm] (x) -- (y);
endtikzpicture
enddocument


compilation result



How to remove the thin lines?










share|improve this question















This question already has an answer here:



  • Unwanted faint lines connecting dashed double line

    1 answer



MWE:



documentclassarticle
usepackagetikz
usetikzlibrarypositioning
begindocument
begintikzpicture
node (x) X;
node[above right=1mm and 2mm of x] (y) Y;

draw[double,double distance=2mm] (x) -- (y);
endtikzpicture
enddocument


compilation result



How to remove the thin lines?





This question already has an answer here:



  • Unwanted faint lines connecting dashed double line

    1 answer







tikz-pgf






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 13 at 14:33









bodqhrohrobodqhrohro

25516




25516




marked as duplicate by The old JouleV, Stefan Pinnow, Phelype Oleinik, Raaja, siracusa May 13 at 18:15


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 The old JouleV, Stefan Pinnow, Phelype Oleinik, Raaja, siracusa May 13 at 18:15


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.














  • See the answer of this question for instance.

    – marmot
    May 13 at 14:38











  • Or this one may even be simpler.

    – marmot
    May 13 at 14:41

















  • See the answer of this question for instance.

    – marmot
    May 13 at 14:38











  • Or this one may even be simpler.

    – marmot
    May 13 at 14:41
















See the answer of this question for instance.

– marmot
May 13 at 14:38





See the answer of this question for instance.

– marmot
May 13 at 14:38













Or this one may even be simpler.

– marmot
May 13 at 14:41





Or this one may even be simpler.

– marmot
May 13 at 14:41










2 Answers
2






active

oldest

votes


















3














Although I voted to close your question as duplicate (sorry), this is a different approach which give you a real, literal equal sign.



documentclassarticle
usepackagetikz
usetikzlibrarypositioning
begindocument
begintikzpicture
node (x) $X$;
node[above right=1mm and 2mm of x] (y) $Y$;
path (x) -- (y) node[midway,sloped] $=$;
endtikzpicture
enddocument


enter image description here






share|improve this answer






























    4














    Since this is a repeating question, here is a decoration that draws the double as two paths rather than a thick line with a white line on top, which is why you get the thin lines on the ends (for certain viewers, I think). The syntax is as simple as



    draw[alt double,alt double distance=2mm] (x) -- (y);


    and also works for curved lines, see



    draw[alt double,alt double distance=2mm] (y) to[out=90,in=180] (z);


    Here is the code.



    documentclass[tikz,border=3.14mm]standalone
    usetikzlibrarydecorations,positioning
    pgfkeys/tikz/.cd,
    alt double distance/.initial=5pt,
    alt double step/.initial=1pt,


    pgfdeclaredecorationdouble decoinitial
    % initial arrow butt
    stateinitial[width=pgfkeysvalueof/tikz/alt double step,next state=cont]
    pgfmovetopgfpointpgfkeysvalueof/tikz/alt double steppgfkeysvalueof/tikz/alt double distance/2
    pgfpathlinetopgfpoint0.3pgflinewidthpgfkeysvalueof/tikz/alt double distance/2
    pgfpathmovetopgfpoint0.3pgflinewidth-pgfkeysvalueof/tikz/alt double distance/2
    pgfpathlinetopgfpoint1pt-pgfkeysvalueof/tikz/alt double distance/2
    pgfcoordinatelastuppgfpoint1ptpgfkeysvalueof/tikz/alt double distance/2
    pgfcoordinatelastdownpgfpoint1pt-pgfkeysvalueof/tikz/alt double distance/2

    statecont[width=pgfkeysvalueof/tikz/alt double step]
    pgfmovetopgfpointanchorlastupcenter
    pgfpathlinetopgfpointpgfkeysvalueof/tikz/alt double steppgfkeysvalueof/tikz/alt double distance/2
    pgfcoordinatelastuppgfpointpgfkeysvalueof/tikz/alt double steppgfkeysvalueof/tikz/alt double distance/2
    pgfmovetopgfpointanchorlastdowncenter
    pgfpathlinetopgfpointpgfkeysvalueof/tikz/alt double step-pgfkeysvalueof/tikz/alt double distance/2
    pgfcoordinatelastdownpgfpointpgfkeysvalueof/tikz/alt double step-pgfkeysvalueof/tikz/alt double distance/2

    statefinal[width=0pt]
    % perhaps unnecessary but doesn't hurt either
    pgfmovetopgfpointdecoratedpathlast


    tikzsetalt double/.style=decorate,decoration=double deco
    begindocument
    begintikzpicture
    node (x) X;
    node[above right=1mm and 2mm of x] (y) Y;
    draw[alt double,alt double distance=2mm] (x) -- (y);

    node[above right=1cm and 2cm of y] (z) Z;
    draw[alt double,alt double distance=2mm] (y) to[out=90,in=180] (z);
    endtikzpicture
    enddocument


    enter image description here



    Using this decoration should also allow one to compute intersections with the double line.






    share|improve this answer





























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3














      Although I voted to close your question as duplicate (sorry), this is a different approach which give you a real, literal equal sign.



      documentclassarticle
      usepackagetikz
      usetikzlibrarypositioning
      begindocument
      begintikzpicture
      node (x) $X$;
      node[above right=1mm and 2mm of x] (y) $Y$;
      path (x) -- (y) node[midway,sloped] $=$;
      endtikzpicture
      enddocument


      enter image description here






      share|improve this answer



























        3














        Although I voted to close your question as duplicate (sorry), this is a different approach which give you a real, literal equal sign.



        documentclassarticle
        usepackagetikz
        usetikzlibrarypositioning
        begindocument
        begintikzpicture
        node (x) $X$;
        node[above right=1mm and 2mm of x] (y) $Y$;
        path (x) -- (y) node[midway,sloped] $=$;
        endtikzpicture
        enddocument


        enter image description here






        share|improve this answer

























          3












          3








          3







          Although I voted to close your question as duplicate (sorry), this is a different approach which give you a real, literal equal sign.



          documentclassarticle
          usepackagetikz
          usetikzlibrarypositioning
          begindocument
          begintikzpicture
          node (x) $X$;
          node[above right=1mm and 2mm of x] (y) $Y$;
          path (x) -- (y) node[midway,sloped] $=$;
          endtikzpicture
          enddocument


          enter image description here






          share|improve this answer













          Although I voted to close your question as duplicate (sorry), this is a different approach which give you a real, literal equal sign.



          documentclassarticle
          usepackagetikz
          usetikzlibrarypositioning
          begindocument
          begintikzpicture
          node (x) $X$;
          node[above right=1mm and 2mm of x] (y) $Y$;
          path (x) -- (y) node[midway,sloped] $=$;
          endtikzpicture
          enddocument


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 13 at 14:45









          The old JouleVThe old JouleV

          19.5k33175




          19.5k33175





















              4














              Since this is a repeating question, here is a decoration that draws the double as two paths rather than a thick line with a white line on top, which is why you get the thin lines on the ends (for certain viewers, I think). The syntax is as simple as



              draw[alt double,alt double distance=2mm] (x) -- (y);


              and also works for curved lines, see



              draw[alt double,alt double distance=2mm] (y) to[out=90,in=180] (z);


              Here is the code.



              documentclass[tikz,border=3.14mm]standalone
              usetikzlibrarydecorations,positioning
              pgfkeys/tikz/.cd,
              alt double distance/.initial=5pt,
              alt double step/.initial=1pt,


              pgfdeclaredecorationdouble decoinitial
              % initial arrow butt
              stateinitial[width=pgfkeysvalueof/tikz/alt double step,next state=cont]
              pgfmovetopgfpointpgfkeysvalueof/tikz/alt double steppgfkeysvalueof/tikz/alt double distance/2
              pgfpathlinetopgfpoint0.3pgflinewidthpgfkeysvalueof/tikz/alt double distance/2
              pgfpathmovetopgfpoint0.3pgflinewidth-pgfkeysvalueof/tikz/alt double distance/2
              pgfpathlinetopgfpoint1pt-pgfkeysvalueof/tikz/alt double distance/2
              pgfcoordinatelastuppgfpoint1ptpgfkeysvalueof/tikz/alt double distance/2
              pgfcoordinatelastdownpgfpoint1pt-pgfkeysvalueof/tikz/alt double distance/2

              statecont[width=pgfkeysvalueof/tikz/alt double step]
              pgfmovetopgfpointanchorlastupcenter
              pgfpathlinetopgfpointpgfkeysvalueof/tikz/alt double steppgfkeysvalueof/tikz/alt double distance/2
              pgfcoordinatelastuppgfpointpgfkeysvalueof/tikz/alt double steppgfkeysvalueof/tikz/alt double distance/2
              pgfmovetopgfpointanchorlastdowncenter
              pgfpathlinetopgfpointpgfkeysvalueof/tikz/alt double step-pgfkeysvalueof/tikz/alt double distance/2
              pgfcoordinatelastdownpgfpointpgfkeysvalueof/tikz/alt double step-pgfkeysvalueof/tikz/alt double distance/2

              statefinal[width=0pt]
              % perhaps unnecessary but doesn't hurt either
              pgfmovetopgfpointdecoratedpathlast


              tikzsetalt double/.style=decorate,decoration=double deco
              begindocument
              begintikzpicture
              node (x) X;
              node[above right=1mm and 2mm of x] (y) Y;
              draw[alt double,alt double distance=2mm] (x) -- (y);

              node[above right=1cm and 2cm of y] (z) Z;
              draw[alt double,alt double distance=2mm] (y) to[out=90,in=180] (z);
              endtikzpicture
              enddocument


              enter image description here



              Using this decoration should also allow one to compute intersections with the double line.






              share|improve this answer



























                4














                Since this is a repeating question, here is a decoration that draws the double as two paths rather than a thick line with a white line on top, which is why you get the thin lines on the ends (for certain viewers, I think). The syntax is as simple as



                draw[alt double,alt double distance=2mm] (x) -- (y);


                and also works for curved lines, see



                draw[alt double,alt double distance=2mm] (y) to[out=90,in=180] (z);


                Here is the code.



                documentclass[tikz,border=3.14mm]standalone
                usetikzlibrarydecorations,positioning
                pgfkeys/tikz/.cd,
                alt double distance/.initial=5pt,
                alt double step/.initial=1pt,


                pgfdeclaredecorationdouble decoinitial
                % initial arrow butt
                stateinitial[width=pgfkeysvalueof/tikz/alt double step,next state=cont]
                pgfmovetopgfpointpgfkeysvalueof/tikz/alt double steppgfkeysvalueof/tikz/alt double distance/2
                pgfpathlinetopgfpoint0.3pgflinewidthpgfkeysvalueof/tikz/alt double distance/2
                pgfpathmovetopgfpoint0.3pgflinewidth-pgfkeysvalueof/tikz/alt double distance/2
                pgfpathlinetopgfpoint1pt-pgfkeysvalueof/tikz/alt double distance/2
                pgfcoordinatelastuppgfpoint1ptpgfkeysvalueof/tikz/alt double distance/2
                pgfcoordinatelastdownpgfpoint1pt-pgfkeysvalueof/tikz/alt double distance/2

                statecont[width=pgfkeysvalueof/tikz/alt double step]
                pgfmovetopgfpointanchorlastupcenter
                pgfpathlinetopgfpointpgfkeysvalueof/tikz/alt double steppgfkeysvalueof/tikz/alt double distance/2
                pgfcoordinatelastuppgfpointpgfkeysvalueof/tikz/alt double steppgfkeysvalueof/tikz/alt double distance/2
                pgfmovetopgfpointanchorlastdowncenter
                pgfpathlinetopgfpointpgfkeysvalueof/tikz/alt double step-pgfkeysvalueof/tikz/alt double distance/2
                pgfcoordinatelastdownpgfpointpgfkeysvalueof/tikz/alt double step-pgfkeysvalueof/tikz/alt double distance/2

                statefinal[width=0pt]
                % perhaps unnecessary but doesn't hurt either
                pgfmovetopgfpointdecoratedpathlast


                tikzsetalt double/.style=decorate,decoration=double deco
                begindocument
                begintikzpicture
                node (x) X;
                node[above right=1mm and 2mm of x] (y) Y;
                draw[alt double,alt double distance=2mm] (x) -- (y);

                node[above right=1cm and 2cm of y] (z) Z;
                draw[alt double,alt double distance=2mm] (y) to[out=90,in=180] (z);
                endtikzpicture
                enddocument


                enter image description here



                Using this decoration should also allow one to compute intersections with the double line.






                share|improve this answer

























                  4












                  4








                  4







                  Since this is a repeating question, here is a decoration that draws the double as two paths rather than a thick line with a white line on top, which is why you get the thin lines on the ends (for certain viewers, I think). The syntax is as simple as



                  draw[alt double,alt double distance=2mm] (x) -- (y);


                  and also works for curved lines, see



                  draw[alt double,alt double distance=2mm] (y) to[out=90,in=180] (z);


                  Here is the code.



                  documentclass[tikz,border=3.14mm]standalone
                  usetikzlibrarydecorations,positioning
                  pgfkeys/tikz/.cd,
                  alt double distance/.initial=5pt,
                  alt double step/.initial=1pt,


                  pgfdeclaredecorationdouble decoinitial
                  % initial arrow butt
                  stateinitial[width=pgfkeysvalueof/tikz/alt double step,next state=cont]
                  pgfmovetopgfpointpgfkeysvalueof/tikz/alt double steppgfkeysvalueof/tikz/alt double distance/2
                  pgfpathlinetopgfpoint0.3pgflinewidthpgfkeysvalueof/tikz/alt double distance/2
                  pgfpathmovetopgfpoint0.3pgflinewidth-pgfkeysvalueof/tikz/alt double distance/2
                  pgfpathlinetopgfpoint1pt-pgfkeysvalueof/tikz/alt double distance/2
                  pgfcoordinatelastuppgfpoint1ptpgfkeysvalueof/tikz/alt double distance/2
                  pgfcoordinatelastdownpgfpoint1pt-pgfkeysvalueof/tikz/alt double distance/2

                  statecont[width=pgfkeysvalueof/tikz/alt double step]
                  pgfmovetopgfpointanchorlastupcenter
                  pgfpathlinetopgfpointpgfkeysvalueof/tikz/alt double steppgfkeysvalueof/tikz/alt double distance/2
                  pgfcoordinatelastuppgfpointpgfkeysvalueof/tikz/alt double steppgfkeysvalueof/tikz/alt double distance/2
                  pgfmovetopgfpointanchorlastdowncenter
                  pgfpathlinetopgfpointpgfkeysvalueof/tikz/alt double step-pgfkeysvalueof/tikz/alt double distance/2
                  pgfcoordinatelastdownpgfpointpgfkeysvalueof/tikz/alt double step-pgfkeysvalueof/tikz/alt double distance/2

                  statefinal[width=0pt]
                  % perhaps unnecessary but doesn't hurt either
                  pgfmovetopgfpointdecoratedpathlast


                  tikzsetalt double/.style=decorate,decoration=double deco
                  begindocument
                  begintikzpicture
                  node (x) X;
                  node[above right=1mm and 2mm of x] (y) Y;
                  draw[alt double,alt double distance=2mm] (x) -- (y);

                  node[above right=1cm and 2cm of y] (z) Z;
                  draw[alt double,alt double distance=2mm] (y) to[out=90,in=180] (z);
                  endtikzpicture
                  enddocument


                  enter image description here



                  Using this decoration should also allow one to compute intersections with the double line.






                  share|improve this answer













                  Since this is a repeating question, here is a decoration that draws the double as two paths rather than a thick line with a white line on top, which is why you get the thin lines on the ends (for certain viewers, I think). The syntax is as simple as



                  draw[alt double,alt double distance=2mm] (x) -- (y);


                  and also works for curved lines, see



                  draw[alt double,alt double distance=2mm] (y) to[out=90,in=180] (z);


                  Here is the code.



                  documentclass[tikz,border=3.14mm]standalone
                  usetikzlibrarydecorations,positioning
                  pgfkeys/tikz/.cd,
                  alt double distance/.initial=5pt,
                  alt double step/.initial=1pt,


                  pgfdeclaredecorationdouble decoinitial
                  % initial arrow butt
                  stateinitial[width=pgfkeysvalueof/tikz/alt double step,next state=cont]
                  pgfmovetopgfpointpgfkeysvalueof/tikz/alt double steppgfkeysvalueof/tikz/alt double distance/2
                  pgfpathlinetopgfpoint0.3pgflinewidthpgfkeysvalueof/tikz/alt double distance/2
                  pgfpathmovetopgfpoint0.3pgflinewidth-pgfkeysvalueof/tikz/alt double distance/2
                  pgfpathlinetopgfpoint1pt-pgfkeysvalueof/tikz/alt double distance/2
                  pgfcoordinatelastuppgfpoint1ptpgfkeysvalueof/tikz/alt double distance/2
                  pgfcoordinatelastdownpgfpoint1pt-pgfkeysvalueof/tikz/alt double distance/2

                  statecont[width=pgfkeysvalueof/tikz/alt double step]
                  pgfmovetopgfpointanchorlastupcenter
                  pgfpathlinetopgfpointpgfkeysvalueof/tikz/alt double steppgfkeysvalueof/tikz/alt double distance/2
                  pgfcoordinatelastuppgfpointpgfkeysvalueof/tikz/alt double steppgfkeysvalueof/tikz/alt double distance/2
                  pgfmovetopgfpointanchorlastdowncenter
                  pgfpathlinetopgfpointpgfkeysvalueof/tikz/alt double step-pgfkeysvalueof/tikz/alt double distance/2
                  pgfcoordinatelastdownpgfpointpgfkeysvalueof/tikz/alt double step-pgfkeysvalueof/tikz/alt double distance/2

                  statefinal[width=0pt]
                  % perhaps unnecessary but doesn't hurt either
                  pgfmovetopgfpointdecoratedpathlast


                  tikzsetalt double/.style=decorate,decoration=double deco
                  begindocument
                  begintikzpicture
                  node (x) X;
                  node[above right=1mm and 2mm of x] (y) Y;
                  draw[alt double,alt double distance=2mm] (x) -- (y);

                  node[above right=1cm and 2cm of y] (z) Z;
                  draw[alt double,alt double distance=2mm] (y) to[out=90,in=180] (z);
                  endtikzpicture
                  enddocument


                  enter image description here



                  Using this decoration should also allow one to compute intersections with the double line.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered May 13 at 15:05









                  marmotmarmot

                  130k6164312




                  130k6164312













                      Popular posts from this blog

                      Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                      Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                      What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company