I'm quite sure someone already has asked this question before. However, I can't find an answer to my question so I thought I'd ask you guys.   As the title says, I'd like to have two signature lines next to each other with 2 names below them. So far I've written this code:     \begin{center}     \hbox{         \vbox{------------------------------------------------  \\ Name 1} \hspace*{2cm}          \vbox{------------------------------------------------  \\ Name 2}          } \end{center}   However it seems like the first \vbox is swallowing the other one and it visually looks like this (I know, nothing special to see here I guess):   Any idea how I could solve this problem (two \vboxes in one \hbox, or maybe another solution with two \vboxes)?
122733
It's been a while since I last used Latex, so please bear with me. As the title reads, I'd like to have two signature side by side (50% each) at the bottom of a medical report. This is what I currently have (apparently with slightly changed author names):  \flushleft \newlength\jm \settowidth{\jm}{Luke Skywalker} \begin{tabular}{p{\jm}}\hline \centering\footnotesize (Luke Skywalker) \end{tabular}  \vspace{10 mm}  The force is strong in my family \vspace{5 mm}  \flushleft \newlength\mb \settowidth{\mb}{Darth Vader} \begin{tabular}{p{\mb}}\hline \centering\footnotesize (Darth Vader) \end{tabular}   And it looks like this in scrartcl:   How can Luke stand right next to his father (Luke left, both with underlines) ?
35044
This provides good details on . What I would like to do is to extend this somehow to add the usual geometry symbol to indicate that the two lines are indeed perpendicular. I could code a manual solution for each situation, but would like a macro, one that would draw it of an appropriate size, and allow me to choose the orientation (i.e., select one of the four quadrants) for this symbol.
28456
I have two commands I'd like to combine into one, but I'm not sure how to go about combining them. Is this possible?   Here are the commands. They work individually, I just can't seem to get them to work together:  /give @p jukebox 1 0 {CanPlaceOn:["minecraft:melon_block"]}     /give @p jukebox 1 0 {display:{Name:"Box"}}   Can you help me to add one of the commands to the other one?
51129
I have multiple align environments in my document, separated by a small paragraph of text:  \begin{align*}   foo &amp;= something very very long compared to the other align \end{align*} explanation what I shall do now \begin{align*}   foo' &amp;= foo + short \end{align*}   As the text in the second align is considerably shorter, the = signs don't line up, which is to be expected.  Is there some way to make the two equals signs line up with eachother?
104529
I have seen this construct in scripts a lot and used it myself, but it bothers me that I can't seem to find it in the documentation.  Example:  [ -f file1 ] &amp;&amp; [ -f file2 ] &amp;&amp; echo "Both files exist." || echo "One or the other file doesn't exist."   This could also be done with backslashes before the newlines, as mentioned in man bash:  If a \&lt;newline&gt; pair appears,  and  the  backslash  is  not itself  quoted,  the \&lt;newline&gt; is treated as a line continuation (that is, it is removed from the input stream and effectively ignored).   Example:  [ -f file1 ] &amp;&amp; \ [ -f file2 ] &amp;&amp; \ echo "Both files exist." || \ echo "One or the other file doesn't exist."   ...but this doesn't seem to be necessary.  The first version above works even without the backslashes.  Where can I find this in man bash?  (Also, is this bash specific or POSIX compliant?)
39505
I have two XML outputs from a program that I would like to include in a LaTeX document. I would like them to appear side-by-side each in its own box. So that a reader can compare the two outputs while reading the document. Can't seem to find a way to do this, without making images for each output and adding both as images/graphics. Could there be a better option?
15755
Tried to add a comment to a post today, which ended up looking rather weird. What I had typed was:  On windows I believe you need to use `\` instead of `/`   As you can see in the first comment to this question, I don't exactly end up with what I thought I would... What's going on here?  Tried various combinations of double \\ and double `` (which seems to be impossible to have in an inline code thing...?), but couldn't get a good result. Ended up putting a space after the slash, which at least made it readable. Problem then was that the space between the inline code and the word "instead" seems to disappear O.o
47096
I need something like this:  \left\{ first line  (1a) second line (1b) third line  (1c) \right.   all lines should be aligned to left
105092
I've been trying to create the 7 I'm used to writing by hand in LaTeX with a horizontal line through the middle. This seems like it should be a simple thing to do, but I don't see any native support for this. This is the look I am trying to get:
86046
I'm using Adobe Photoshop.  I noticed that there are other questions similar to this one.   However, the reason I'm posting my question is, when I followed the instructions in the  about removing the background from a signature, it was not working for me on this document. I needed to select several times for each letter. Many times I was also getting parts of the background with the letters.  Is there some shortcut?  It looks like it will take me a whole day to select all the text, letter by letter.  Perhaps the reason the Magic Wand tool is not working well is because the text is handwritten and the edges are not well defined?  So, here's the picture.  (I thought I uploaded it the first time, I'm trying again now)    Basically, I would like guidance on how to remove the background and put the text on a solid white background. (If possible in an easier more efficient manner than selecting each letter one by one)  P.S. For those curious, this is a handwritten marriage document in the Hebrew language written on parchment with a quill.
23128
Please look on my code – ( bash script )  I want to display both dialogs on the screen on the same time,   one dialog display the:  tail –f from - /var/log/proccess1.log  ,   and the second dialog display the:  tail –f from the file - /var/log/proccess2.log     but the sad fact is that I can display only one dialog and not both dialogs ( because when I run the first dialog , the second dialog will activate only if the first dialog will killed )   So I create process on the second dialog ( ….. ) &amp;    , in order to display both dialogs    But …. the second dialog create process number but not create the second dialog GUI , ( seems that when we create dialog with process , the process not send the dialog to standard output )  So how to  run the second dialog with process but send the dialog GUI to screen ? , or other solution in order to display both dialogs on screen  My code       #!/bin/bash       # this dialog will locate the tail box on the top of the screen      dialog --begin 15 10  --tailbox   /var/log/proccess1.log  13 125         # this dialog will locate the tail box down in the screen      ( dialog --begin 37 10  --tailbox   /var/log/proccess2.log    13 125 ) &amp;
12149
How can I make these types of lines?
51888
I've been learning LaTeX and this community has been very helpful. Currently, I'm trying to set up corporate letters but as a newbie I'm encountering a  of , so I'm posting them one by one instead of putting it in the comments... maybe this helps others as well.  Anyway, I am trying to implement this  that indicates that I can use vbox to float an image to the right of my header. I almost have this working, but I now try to adjust this to get my logo to stick to the top of the page. So I want to have this at the right top of my document. This is quite difficult! When I place the vbox, it creates unwanted spacing, for some odd reason. So I can not get the logo to be at the right top, even though I 'reset' every possible margin to 0 (in my opinion). Here is my distilled code:  \documentclass[a4paper]{article} \usepackage{graphicx} \graphicspath{{./img/}} \usepackage{color} \usepackage{xcolor} \definecolor{orange}{HTML}{DD4616} \definecolor{white}{HTML}{FFFFFF} \usepackage{fullpage} \usepackage[margin=0cm, paperwidth=215.9mm, paperheight=30mm,top=0cm]{geometry} \parindent=0pt  \begin{document} \fboxsep0pt  \pagecolor{orange}   \fbox{\vbox to 0pt{\hfill\fbox{\includegraphics[height=3cm]{logo}}}}  \end{document}   I've used a full black logo for illustrative purposes. Here you can see this:    The black line is the vbox border. For some reason, it jumps down. The only way to get rid of this that I found out about is this:    Which means that I need to add:  \edef\theprevdepth{\the\prevdepth}\nointerlineskip \vbox to 0pt{...}\prevdepth=\theprevdepth   But there are two problems with this:   I get an error with I try this (Improper \prevdepth.) More importantly, I really want to understand my code at this point, and get to master the basics of positioning elements. This feels overcomplicated and I do not understand it at all.    Is there any easy way to position an image at the right top of a document?
41225
Some people have asked about how to add multiple paragraphs (when \intertext and \shortintertext no longer work), a fix was proposed by Peter Grill :  He wrote:     My first thought was to hack apart the result of an align and dole   out the lines one-by-one wherever you want them. Alas, align   produces a list of considerable complexity and it is not worth the   effort to unravel it (if that's even possible).      So I made my own alignment environment that, as far as I can tell,   does what you'd want align* to do but produces a very simple list.   My macro \ALineAgain then picks that list apart and drops the lines   one at a time wherever you ask.      Because the lines are not printed where the alignment is actually   given, it makes no sense to have an AlignAgain*; it never prints   equation numbers. Instead, the \ALineAgain macro takes a star that   suppresses the addition of an equation number.   The problem with this code is that the equation numbers seem to be messed up once you try referencing them. Below, I've added only a few lines to Peter's code (notably: \numberwithin{equation}{section}, two section commands, and then a single line at the very end that attempts to reference the two equations).   Rather than printing (1.1) and (1.2), it prints (1.1) and (1.1). There seems to be something wrong with the equations portion of the code. Can anybody spot the problem?   \documentclass{article} % \usepackage{showframe} \usepackage{amsmath}  \numberwithin{equation}{section}  % It's like {align}, but simple! \newenvironment{SimpleAlign} {%  \let\\=\cr  \tabskip 0pt plus 1fil\relax  \halign\bgroup   &amp;\hfil$\displaystyle ##$\tabskip 0pt\relax   &amp;$\displaystyle {}##$\hfil\tabskip 0pt plus 1fil\relax\cr } {%  \crcr\egroup }  % Saves its contents typeset like SimpleAlign.  You can give it a name. \newenvironment{AlignAgain}[1][AlignBox] {%  \expandafter\let\expandafter\AlignAgainBox\csname #1\endcsname  \setbox\AlignAgainBox=\vbox\bgroup\SimpleAlign } {%  \endSimpleAlign\egroup  \ReBox\AlignAgainBox } \newbox\AlignBox  % Prints the lines from {AlignAgain} one-by-one, with or without equation numbers as starred.  If you named the {AlignAgain}, use it here. \makeatletter \newcommand\ALineAgain{%  \@ifstar   {\AlignAgainStartrue\@ALineAgain}   {\AlignAgainStarfalse\@ALineAgain}% } \newcommand\@ALineAgain[1][AlignBox]{%  \expandafter\let\expandafter\AlignAgainBox\csname #1\endcsname  \begin{equation*}   \PutFirstBox\ifAlignAgainStar\AlignAgainBox  \end{equation*} } \makeatother \newif\ifAlignAgainStar  % Reboxes a box in the format: {[1][2]...[n]} -&gt; {[1]{[2]{...}[n]}} % {...} = \hbox \newcommand{\ReBox}[1] {%  % To enter internal vertical mode, where \lastbox is valid  \setbox0=\vbox{%   \unvbox#1\relax   \global\setbox#1=\hbox{\hbox{}}   \loop    \unskip    %\box0 is the box currently at the end of #1    \setbox0=\lastbox   \ifvoid0\relax   \else    \global\setbox#1=\hbox{\box0\box#1}%   \repeat  }% }  % Puts the first box in a nested-box list into the display, saving the rest back in #1 % Optionally places an equation number \newcommand{\PutFirstBox}[2]{%  \hbox to \displaywidth{%   \unhbox#2\relax   \global\setbox#2=\lastbox   \setbox0=\lastbox   \unhbox0%   #1\else\refstepcounter{equation}\llap{(\theequation)}\fi  }% }  \begin{document}  \section{First section} \subsection{A subsection} Hello \begin{AlignAgain}  a &amp;= b &amp; c &amp;= d \label{firsteqn} \\  f(x) &amp;= g(x) &amp; h(x) &amp;= e^{-1/x^2} \label{myeqn} \\ \end{AlignAgain}  This is a paragraph with a lot of redundant words whose only purpose is to extend it onto a new line or two so it's dramatic when I display this equation: \ALineAgain and then follow it with a bunch more text.  And also a new paragraph, just for good measure.  I wonder if the two equations will line up?  I sure hope so! \ALineAgain This is sort of fun.   Can we reference equations by section? Try (\ref{firsteqn}) and (\ref{myeqn}).  \end{document}
3215
It should be trivial, and it might even be in the help, but I can't figure out how to navigate it. How do I indent multiple lines quickly in vi?
99346
I have this script that prints out a box frame with Asterisk signs, and I need to make it so that the script prints out multiple boxes under each other. How can I do it?    #!/bin/bash # echo -n "Please enter the amount of lines: " read lines echo -n "Please enter the amount of *: " read sign for((i = 1; i &lt;= $lines; i++)) do   echo -n "$i "   if [ $i -eq 1 -o $i -eq $lines ]; then   for((j = 1; j &lt;= $sign; j++))   do     echo -n "* "   done    else     echo -n "* "     for((j = 2; j &lt; $sign; j++))     do       echo -n "  "     done     echo -n "* "   fi   echo done #end
64993
Single-line comments show like two lines, simply to give space for the Vote and Flag icons, which are placed with above the other. Can these buttons be placed next to each other? This would allow single-line comments to look like single lines. Example: