How can I draw 2 separated lines in the same line, and  write centered text  below them? I tried with this code \begin{flushleft} \rule{7cm}{.01cm}  Name 1 \end{flushleft}  \hspace{1cm}   \begin{flushright} \rule{7cm}{.01cm} Name 2 \end{flushright}  But the output was incorrect because  The lines were drawn in separated lines (and there was enough space to be drawn both in the same line)  The text below them wasn't centered but moved to the left and right, respectively   Can someone please help? Thanks in advance
I'm trying to create a signature and date line in a document.  I need the date line to always be in the same spot on the page no matter what name is under the signature line, such as:  ----------------------   ---------------------- Representative           Date  ----------------------   ---------------------- Program Manager          Date   Here is the code I currently have:  \makebox[2.5in]{\hrulefill} \hspace {1.0in}\makebox[2.5in]{\hrulefill} \\ User Representative \makebox[2.5in][r]{Date} \\  \vspace{.2in} \makebox[2.5in]{\hrulefill} \hspace {1.0in}\makebox[2.5in]{\hrulefill} \\ Program Manager \makebox[2.5in][r]{Date} \   I want to be able to change the names, such as change Program Manager to Joe Foo and have the word 'Date' stay in the exact place.  Any help would be greatly appreciated.  I'm still a newbie at TeX so please forgive my ignorance.
Proof of dividing fractional expressions For dividing two fractional expressions, how does the division sign turns into multiplication? Is there a step by step proof which proves  $$\frac{a}{b} \div \frac{c}{d} = \frac{a}{b} \cdot \frac{d}{c}=\frac{ad}{bc}?$$ How can I improve viewport performance when using Dyntopo? I'm doing a Blendercookie course on how to sculpt a Scifi weapon with dyntopo. The fact is that when some piece reach a certain level of compleiity (about 1.1 million tris) the systems starts to lags too much and is so frustrating.  I've tried the several options:   Disable double sided lighting Enable VBO    I've so also reduced the topology of hidden faces. But that´s how far I've reached.  I'm using a late Imac Intel I5 Nvidia GPU GTX 680mx  any tips out there? Why is "the set of all sets" a paradox, in Layman's terms? I've heard of some other paradoxes involving sets (i.e., &quot;the set of all sets that do not contain themselves&quot;) and I understand how paradoxes arise from them.  But this one I do not understand. Why is &quot;the set of all sets&quot; a paradox?  It seems like it would be fine, to me.  There is nothing paradoxical about a set containing itself. Is it something that arises from the &quot;rules of sets&quot; that are involved in more rigorous set theory? Categorize my data into 3 groups Why are accepted answers not included in the tag badge calculation? For the 400 votes tag badge, does it take into consideration answers marked as the accepted answer?  The description indicates it does not.  I would think an accepted answer would be worth more, or at least the same amount, towards getting a tag badge than just a simple upvote?  Lots of users mark answers as accepted and do not bother giving an upvote since the 15 points is like and upvote and a tip.  So it's possible for a user to have 400 accepted answers with no upvotes and not get a badge where a user with 400 answers (which could be right or wrong) with a single upvote and no accepted answers ever would get the badge.  Just seems a little odd or does accounting for accepted answers make the badge calculation too complicated / slow?  Edit: Questions you ask and submit an answer to shouldn't be counted towards the total for accepted answers.  Edit: It just seems to me that the most important thing in the system is an accepted answer yet there are no badges for achieving more than one accepted answer.  If up votes were more important, and therefore far more worthy of a badge, then why do the top voted answers not appear above the accepted answer?  When it come to badges, accepted answers are second class citizens as compared to a possibly random upvote.   I have seen many upvotes on completely wrong answers but rarely do I see an accepted answer that was completely wrong. MySQL remove duplicates from big database quick Continuous bijection from $(0,1)$ to $[0,1]$ Does there exist a continuous bijection from $(0,1)$ to $[0,1]$? Of course the map should not be a proper map. Easiest way to read from and write to files On my Windows 7 system I installed via  from Fonts.com:   The font does not appear in C:\Windows\Fonts. However, it shows up in certain desktop applications, for example  as: Sabon Next Com Display  My intention was to use the font in a LaTeX document test.tex:  \documentclass{article} \usepackage{polyglossia} \setromanfont{Sabon Next Com Display}  \begin{document} Hello World! \end{document}   Unfortunately, xelatex test.tex fails:  […] Couldn't find `Sabon Next Com Displ.cfg' miktex-maketfm: No creation rule for font "Sabon Next Com Display".   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: "font-not-found" !  ! The font "Sabon Next Com Display" cannot be found. !  ! See the fontspec documentation for further information. !  ! For immediate help type H &lt;return&gt;. !...............................................    l.4 \setromanfont{Sabon Next Com Display}                                            % Sabon Next Com Display, SabonNex...  ?    Can XeLaTeX even work with fonts installed via SkyFonts? If not, what could be a workaround? Honestly, navigation through Area 51 is a bit confusing and seems to be much different from the other SE sites.    The feature that is very lacking is the footer with all the sites you are subscribed to so that a user can easily return to a different SE site. This one really bugs me.  Can this be easily fixed?  Also, unlike all the other sites there is no "meta" site to add comments specifically about that site.    Again Area 51 seems out of sync with the other SE sites. how to show textview and edittextview on same line? I found an asnwered question concerning this topic already here:  Copying \captionsetup[subfigure]{justification=centering} doesn't help me thought for I am using different packages.  I would like my Captions and Subcaptions to be justified as the text below. Just under my pictures. Any suggestions?  Thanks a lot  \documentclass{article} \usepackage{subfig} \usepackage[labelfont=bf, justification=justified]{caption} \usepackage[demo]{graphicx}% Remove demo option in real document  \begin{document}     \begin{figure} %   \captionsetup[subfigure]{justification=centering}     \centering       \subfloat[Subcaption one \newline including a linebreak ]   {     \includegraphics[width=0.2\textwidth]{image1}     }     \hspace{1cm}     \subfloat[Subcaption two \newline including a linebreak]     {     \includegraphics[width=0.2\textwidth]{image2}     }        \caption{Figure caption \newline with additional text right here} \end{figure}  \begin{center} This is correctly justified Text \\ including a longer linebreak than blabla. \end{center} \end{document} Prove that all 2x2 orthogonal matrices can be expressed as Rotation or Reflection Negative probabilities in quantum physics Local file access with JavaScript Is there local file manipulation that's been done with JavaScript? I'm looking for a solution that can be accomplished with no install footprint like requiring .  Specifically, I'd like to read the contents from a file and write those contents to another file. At this point I'm not worried about gaining permissions and am just assuming I already have full permissions to these files. Writing to NTFS drive in Linux Extremizing sum and difference of lengths using triangle inequality We have three points $P=(2,3)$, $Q=(4,-2)$ and $R=(\alpha,0)$. We need to find the value of $\alpha$ such that:    Part 1: $|PR+QR|$ is maximized.  Part 2: $|PR-QR|$ is minimized.  I have  the solution for both. I have understood the solution for case 1 but not for case 2.  Case 1's solution :    Case 2's Solution:   I have understood case 1 completely but in case 2 why was there a need to take the image of point Q? I fail to understand this. Rounded caps on a Bezier Curve pipe This may be a simple question.  Essentially I am procedurally generating random 3D figures using a bezier curve and bezier circle bevel object, however, one of the only things I can't figure out how to do is how to round the end caps of the object.   I have tried using a taper object like suggested  but have had only limited success.  This is about as close as I've gotten:   I should note that all of this is done through Python and I'm not modeling any of this by hand. So any suggestions for how I can make the rounded caps programmatically would be greatly appreciated. How to determine whether the direction of rotating a 2D vector to another one is counter-clockwise or clockwise using the cross product? Vec2 a, b; // some random vector Vec2 cross = a.Cross(b); RelativeDirection(a,b,cross); // return true if the direction of                               // rotating a to b is counter-clockwise   How do I implement the function RelativeDirection()?  I got some suedo code from the textbook:  if a.Cross(b) &gt; 0 then ... else ...   but the cross product is a vector right? how do you compare it with an integer? How to disable captive portal detection? How to remove exclamation mark on Wi-Fi or signal icon in Lollipop? When connected to the Internet, the system checks if it's in a walled garden, which is simply trying to connect to Google. If it fails, in Android 5, there'll be an exclamation mark on the WiFi icon or signal icon.   In some situations, this is annoying. Say, in China, Google is blocked, the exclamation mark will always be there, which is meaningless.  How can I disable this check, and make the system assume, connected WiFi/mobile data is connected Internet?