When I am trying urdu in the table column it is going outside of the page width in latex this is my code of writing urdu inside the table  \begin{table}[htbp] \caption{CHECKING OF URDU IN LATEX} \begin{center} \begin{tabular}{|c|c|c|} \hline s# &amp; Type &amp; Words \\ \hline 1 &amp; Normal &amp; \begin{urdu} ریڈیو پاکستان کی عمارت کو لیز پر دینے کا حکومتی فیصلہ ’پچاس ارب کی پراپرٹی پر مندر تو نہیں بنا سکت  \end{urdu} \\ \hline 2 &amp; Normal &amp; \begin{urdu} چائنیز سفیر اردو بڑی اچھی بولتا ہے عثمان بزدار کی مسکراہٹ سے اندازہ لگا لو \end{urdu} \\  \hline 3 &amp; Normal &amp; \begin{urdu} ہم آپ سے بہت پیار کرتے ہیں، لہذا ہم اس اردو کے غلط تحریر پر ہنس نہیں کرتے ہیں \end{urdu} \\   \end{tabular} \label{tab1} \end{center} \end{table}
I have a table that I want to insert on a page, but at least one (perhaps both) of the following conditions are met:   The table is too wide to fit within the text block or page. That is, I'm exceeding some horizontal restriction. The table is too tall to fit within the text block or page. That is, I'm exceeding some vertical restriction.   What are my options to make this table fit? If it doesn't fit, regardless of my attempts, what other options exist?
Why the middle mouse button in Blender 2.80 changes the orthographic view to perspective? If I choose an orthographic view by using the numpad and then try to orbit the geometry by clicking the middle mouse button Blender goes from orthographic to perspective. Why is that the default now? Wouldn't it be more logical if instead of that Blender kept the orthographic mode? In other words: Why Auto Perspective is turned on by default? pgfplots: Clipping Everything Outside a Specific Area I want to add information to each column of a histogram. every node near coord is probably the best approach. It works well with bar plots but not with the histogram:  \documentclass{article}  \usepackage{pgfplots} \pgfplotsset{compat=newest} \usetikzlibrary{pgfplots.statistics}  \begin{document}  \begin{tikzpicture} \begin{axis}[ ybar interval, xticklabel=\pgfmathprintnumber\tick--\pgfmathprintnumber\nexttick, % Code to generate labels nodes near coords={ \pgfmathprintnumber{\pgfkeysvalueof{/data point/y}} }, every node near coord/.style={ anchor=south,xshift=9mm, }, % ] \addplot+[hist={bins=3}] table[row sep=\\,y index=0] { data\\ 1\\ 2\\ 1\\ 5\\ 4\\ 10\\ 7\\ 10\\ 9\\ 8\\ 9\\ 9\\ }; \end{axis} \end{tikzpicture}  \end{document}   I used every node near coord/.style to shift the labels.  The problem is that I have four labels for three columns/bars:    I addition I would like to center the labels. A workaround will be a manual adjustment (every node near coord/.style) just like in the shown example.  Update  Maybe clipping is a possibility. Is there a way to clip the labels (in this case the 7 in the right) away?  Like this: Why do people not upvote, or accept answers that worked for them? I am regular Stack Exchange user, especially at Stack Overflow.  One of the things I really dislike about new and sometimes veteran users is that:   Either they do not accept an answer that works for them, Or they accept the answer but do not vote it up   I mean they can really both accept the answer and vote it up but somehow they wouldn't =(.  How many of you feel the same way? Recursive matching with regular expressions in Javascript Matrix representation of linear transformation How many ways can N elements be partitioned into subsets of size K? basic geometry angle problem Two straight lines, AB and AD, lie in the same vertical plane. AB makes an angle of 25 degrees with the horizontal, and AD makes 32 degrees with the vertical. What is the angle between AB and AD?  The answer is 33 degrees or 93 degrees.   I cannot visualize what this question is asking. It says both AD and AD lie on the same vertical plane, then immediately says AD makes 32 degrees with the vertical. Isn't this a contradiction? MySQL sort after argument in IN() Ubuntu 15.10 is not in Boot Manager I have a problem with Ubuntu 15.10  I have in my computer windows 10. Some days ago i decided to install Ubuntu in partition so i can have both in the same hard drive. The problem is that i cant get into ubuntu, i dont have the grub up so i always go to Windows in default mode. The only way to go into ubuntu is with the CD of installation, when im on the grub of the cd i press Esc, then i text exit in command lines and i go to a boot manager in which i can choose the ubuntu system. Its a strange think because it is the only way i can get into ubuntu, i will like to solve this problem. I try many tutorials already of solving this problem. I didnt get any solution so i will like to ask u before doing another tutorial. Thank u How do I restart the SSH service? I have a stupid self-answered question. Should I accept my own answer? was genuine at the time, but I realised that  gave the right advice, but required me to restart my Linux (which wasn't mentioned in the solution).  It's a bit of a  question and  points to me not deleting it.  But it seems hugely self-aggrandizing to accept my own answer. Should I? I have created a 'control' using jQuery and used jQuery.extend to assist in making it as OO as possible.  During the initialisation of my control I wire up various click events like so  jQuery('#available input',              this.controlDiv).bind('click', this, this.availableCategoryClick);   Notice that I am pasing 'this' as the data argument in the bind method. I do this so that I can get at data attached to the control instance rather from the element that fires the click event.   This works perfectly, however i suspect there is a better way  Having used Prototype in the past, I remember a bind syntax that allowed you to control what the value of 'this' was in the event.  What is the jQuery way? integral roots for $f(x) = 41$ if $f(x) = 37$ has 5 distinct integral roots. Tikz and ctable incompatibility, gives error when printing When I print a report I get an error:     An error exists on this page. Acrobat may not display the page   correctly. Please contact the person who created the PDF document to correct the problem   After a lot of debugging, I've found that this MWE reproduces the problem. I've tried it on three different computers with the same error.   \documentclass{standalone}           \usepackage{tikz} \usepackage{ctable} \begin{document} \begin{tikzpicture} \filldraw[opacity=.5] (0,0) rectangle (1,1); \end{tikzpicture} \end{document}   When loading the ctable package, the image is changed (the opacity disappears), so it seems the error comes from some incompatibility between ctable and opacity in tikz. The error only appears when trying to print though, acrobat before attempting to print. (Printing either to a pdf file or to a real printer)  I have the following versions of tikz and ctable:      tikz.sty    2013/12/13 v3.0.0   ctable.sty    2014/04/25 v1.29   How can I fix this?    EDIT: I found the warning Transparency disabled: incompatible with tikz package from ctable so I guess this incompatibility can explain the error in the first MWE.  However, I continued digging and found that the spy library seem to be incompatible with ctable as well.   Here's an MWE that generates the same error when printing (either to a pdf file or to a real printer):   \documentclass{standalone}           \usepackage{tikz} \usetikzlibrary{spy} \usepackage{ctable} \begin{document} \begin{tikzpicture}[spy using outlines={size=2cm,connect spies}] \begin{scope} \spy on (-3,.25) in node at (2,0); \end{scope} \end{tikzpicture} \end{document}   There seem to be a serious problem with using tikz + ctable, can it be fixed? I'm trying to make a liquid simulation with Mantaflow where the flow of the liquid respects the flow object's local rotation, so it looks like water spraying in different directions. It looks like the options on the flow object only work for 'world' coordinates and doesn't take into account the coordinates of the object. How do I make the water 'fire' (like a hose) into a specific direction that uses local coordinates instead of world ones? Mount cifs Network Drive: write permissions and chown I have access to a cifs network drive. When I mount it under my OSX machine, I can read and write from and to it.   When I mount the drive in ubuntu, using:  sudo mount -t cifs -o username=${USER},password=${PASSWORD} //server-address/folder /mount/path/on/ubuntu   I am not able to write to the network drive, but I can read from it. I have checked the permissions and owner of the mount folder, they look like:  4.0K drwxr-xr-x  4 root root    0 Nov 12  2010 Mounted_folder   I cannot change the owner, because I get the error:  chown: changing ownership of `/Volumes/Mounted_folder': Not a directory   When I descend deeper into the network drive, and change the ownership there, I get the error that I have no permission to change the folder´s owner.  What should I do to activate my write permission? Bounds on off-diagonal entries of a correlation matrix Identifying records in MC to delete I'm trying to delete a large number of records from SFMC to avoid being charged extra. I've run several different SQLs to help identify the records I don't need, but when I run the Contact Count report, it still shows approx 100K billable contacts and approx 60K distinct email addresses.  Here are the SQLs I've tried:   No Opens in past 5 days Leads/Contacts not in SFDC  SubscriberKey as Email Address Leads/Contacts where SubscriberKey is Empty Unspecified records (DE populated by MC Support)    These efforts reduced the count a good amount, but not as much as I was expecting.   Has anyone else gone through this process before and if so, what queries can you share that might help my case? Is convex hull of a finite set of points in $\mathbb R^2$ closed? Is the convex hull  of a finite set of points in $\mathbb R^2$ closed? Intuitively, yes. But not sure how to show that. Thanks! This girl that I'm friends with and have actually seen in person before, keeps posting [on social media] that she "loves when the transfer goes through" and gets $2000-$6000 for free quite often. She said you can make up to $6500 a day. She is not very smart and barely spells correctly. She keeps saying that all she is doing is "transfers" and that's it. So many of my friends are feeding into this crap. So I asked her what it is. She basically said "it's legit" and asked me for my bank username and password so she could see how much money to deposit into my account. I said no way and left it at that. She also said she is not stealing or doing anything illegal. She is getting her friends free money and I think they're naive. What is she actually doing? Is it illegal? I am sure she is incapable of doing crazy money wiring to different countries.   Thank you everyone for answering my question. I am not stupid, I did not give her my information. I knew she was up to something illegal, so thank you for giving me some input on what exactly she is doing. I submitted an anonymous tip to my local sheriff's department. I'm hoping they see it and pursue it, or forward it to the right authorities I.e the FBI or something.