Inserting .pdf created in Visio to LaTeX without whitespace Introduction: I recently created a load of figures in Microsoft Visio. These figures looks great, however, are stored in the .png format. I am interested in raising the picture quality.  Method: I am keen to get this to be vector graphics and I thought that the best option would be to save them as .pdf from Visio and load to LaTeX in following manner:  Package (Thanks Sigur):   \usepackage{graphicx}   Load in LaTeX:  \begin{figure} \begin{center} \includegraphics[scale=0.70]{myFile}\\ \caption{MyCaption} \end{center} \end{figure}   Problem/Question: My problem is that once I save my file in Visio - it brings a lot of whitespace with it (space under and besides the actual figure). I can't get rid of this whitespace once saving the file to .pdf from visio nor can I rid of this whitespace while including the .pdf in Latex. What do you think is the best option to get rid of this excess white space?  Thanks in advance!
Clipping a figure to content Is it possible to clip a figure inserted with \includegraphics to contents? That is, remove all surrounding whitespace.
Every principal ideal domain satisfies ACCP. How to make \hl (highlighting) to automatically place incompatible commands in \mbox? The soul package provides a useful command \hl for highlighting text. However, \cite, \ref, and some other commands (maybe equations too) must be placed within an \mbox in order for \hl to work properly.  Is there any way to make this automatic? Meaning that to modify \hl (and other commands provided by soul) to put everything except plain text in an \mbox?  \documentclass[12pt]{article} \usepackage{soul} \begin{document}  \section{1}\label{sec} This is to show that \textbackslash{hl} fails to highlight texts containing citations or reference!  \hl{ This is one line containing a citation \mbox{\cite{}}}  \hl{ This is one line containing a reference \mbox{\ref{sec}}}   \end{document} How do I identify which CPU a MacBook uses? How to remove redundant {} from a nested list of lists? If a maximal subgroup is normal, it has prime index I'm having trouble with an exercise in "Introduce to the theory of group" book. This is problem:  Let $M$ be a maximal subgroup of $G$. Prove that if $M$ is a normal subgroup of $G$, then $[G: M]$ is finite and equal to a prime. On my headless NAS I have sdf1 (a flash-card) mounted as / while /home is mounted from lv00 (an LVM volume backed by a software RAID). To be able to access the machine when the RAID fails, I have a copy of my ssh public key, etc. in /home/foo/.ssh on the file-system from sdf1. To update the files that are hidden by the mounted /home I normally remount lv00 in /mnt/home, do what I have to do, and then move lv00 back in place. Is there a way to achieve this without unmounting /home? Reset the password in Ubuntu / Linux Bash in Windows I have installed Linux Bash on Windows 10 (available from Microsoft), but I've forgotten my password.  I've searched for a solution but I only find suggestions that involve doing something before the system boots, like accessing recovery mode, but that will not work in this case as this Ubuntu is just an application within a Windows system and doesn't have its own boot process.  How can I reset my password? Which of the following two sentences is correct?  He must decide who to be. He must decide whom to be.  I can think of arguments for both sides, but I'm not sure. To elaborate, is who(m) the object of decide, the subject of be, or the object of be? Does the infinitive form of be have any bearing on the answer? And is there anything else to consider about the position or role of who(m) in this particular sentence that would inform the answer? The answers to the linked question  say to &quot;substitute he and him for who and whom.&quot; However, that doesn't give a clear answer in this context, because neither of those pronouns sounds right: &quot;He must decide to be he&quot;? &quot;He must decide to be him&quot;? Normally we'd use a reflexive pronoun here (&quot;He must decide to be himself&quot;) and it's not clear what case that corresponds to. Calculate $\lim_{n\rightarrow +\infty}\binom{2n} n$ Selectively disable iCloud keychain syncing for WiFi passwords I have iCloud Keychain sync enabled, but I want to stop it syncing WiFi passwords.  I have a portable WiFi hotspot which I use for my laptop and iPad, but I don't want my iPhone to connect to it since it has it's own 3G  Because iCloud is syncing the settings, within about 30 seconds of connecting my laptop to the 3G hotspot, my iPhone will connect itself. If I go into wifi settings on the iPhone and manually disconnect, about 30 seconds later my laptop will disconnect too. It seems with iCloud wifi sync on, I can’t connect my laptop to WiFi without my phone also connecting.  The only way to get around it seems to be disabling Keychain sync in iCloud. I’ve tried Googling, but got no real help on how to disable it without turning off Keychain, which is what I’ve done at the moment.  I also don't want to enable 'Ask before joining networks' on my iPhone, since I'll be manually re-connecting it constantly. Age from Date of Birth using JQuery I need to calculate if someone is over 18 from their date of birth using JQuery.  var curr = new Date(); curr.setFullYear(curr.getFullYear() - 18);  var dob = Date.parse($(this).text());  if((curr-dob)&lt;0) {     $(this).text("Under 18"); } else {     $(this).text(" Over 18"); }   There must be some easier functions to use to compare dates rather than using the setFullYear and getFullYear methods.  Note: My actual reason for wanting to find a new method is length of the code. I have to fit this code into a database field that is limited to 250 chars. Changing the database is not something that can happen quickly or easily. How to pivot rows into columns MySQL Been looking to pivot rows (progress_check) into columns check 1, check 2 etc... No sum or totals required, just to display the results hopefully... Can anyone help, Thanks Ad How to remove uninstalled wine app icons from unity dash? points out that certain key and block lengths were a requirement for the AES submissions:     The candidate algorithm shall be capable of supporting key-block combinations with sizes of 128-128, 192-128, and 256-128 bits.   My question is this; how can having a key length that is greater than the block size enhance security?  If we look at ECB mode for simplicity, when the key length is equal to the block length we have a permutation relationship between the set of all plaintexts and the set of all ciphertexts.  Once you increase the key length beyond that, you start to introduce collisions. In fact, you only introduce collisions from then on don't you? Collisions in the sense that a key will create the same ciphertext-plantext relationship as another key.  This would lead me to believe that only part of the key-space is unique, and only that part of key-space needs to be brute-forced?  I know that I am clearly incorrect, I just don't understand why. Error When Create Drupal Commerce Product Display Within 300 km of Tokyo: Where for flora, landscape, nature? I plan to visit Japan for 10 days and apportion 5 days to Tokyo. For the remainder, I want to escape the megalopolis and enjoy picturesque backwoods or countryside. Please recommend? Criteria:   No dangerous animals or untamed boondocks. No  or snakes. I won't drive, and must rely on public transport and walking less than 5 km in total.  No shrines, temples or any religious edifice. OPTIONAL: I fancy  , the more  the better.   This instantiates, doesn't duplicate, . Travelling through the Schengen area with a Refugee Travel Document issued by the USA I just want to double check to make sure I won't run into any issues at the border of entry.  I'm a permanent resident of the USA with a green card and I have a travel document issued by the USA (I-571). Will I have any issues traveling around in the Schegen countries?  Do I need a visa? Do I have to pay any fees? Prove by Double Counting Method $\sum\limits_{k = 0}^m \binom{m}{k}\binom{n}{r + k} = \binom{m + n}{m + r}$ Show by combinatorial arguments that:   $$\sum_{k = 0}^m \binom{m}{k}\binom{n}{r + k} = \binom{m + n}{m + r}$$  Hello ,  I want to prove this argument by double counting method, i kinda have an idea of proving by comb args. but not by double counting... Can someone give any clues or ideas? thanks :) Simple question:     My apples and orange are wrong   or     My apples and orange is wrong   I am not a native English speaker, and I am having some trouble choosing between plural are or singular is for that kind of example. What if client doesn't like any logo design concept?