3
votes
1answer
67 views

How to put two minipages side-by-side, which use 100 % of the text width?

In draft-mode a black marker indicates that the reserved space is too low. This also appears in the following example, but it shouldn't. How can I put two minipages exactly side-by-side? ...
5
votes
1answer
44 views

Edit space for overbraces in equation

I would like to use \overbraces and \underbraces in my equation. However, when I make the text for \overbraces too long, the \overbrace doesn't contain the correct part. ...
5
votes
1answer
55 views

`\hfill`-like spacing in math mode without using `align`

In question 83509, a way of getting \hfill-like behaviour in the align environment is described, but for my purposes, I need one that works in the equation environment. (I want to display some ...
3
votes
1answer
48 views

Horizontal spaces to the left and right of theorems

How do I get horizontal spaces to the left and right of theorems? My initial idea was to do the following bad idea: \documentclass{article} \usepackage{lipsum}% http://ctan.org/pkg/lipsum ...
7
votes
4answers
110 views

Justify long line with no spaces but a lot of hyphens

% !TEX TS-program = xelatex % !TEX encoding = UTF-8 Unicode \documentclass[11pt]{memoir} \usepackage{fontspec} \usepackage{showframe} %%% Book Layout %%% \setstocksize{4in}{5.75in} ...
3
votes
1answer
134 views

Top-aligned table cells with different font sizes and controlled spacing

I am trying to achieve a table where a few things have to work simultaneously. Several of these things have been discussed before, but I have been unable to make everything work at once (and some ...
2
votes
1answer
125 views

Spacing in flalign affected by mathpazo

I got the following (partly shorted) equation: I would like to get rid of the space left of the equation (left of Q') so that the label (0.2) fits on the right side. \documentclass[ a4paper, ...
2
votes
2answers
143 views

How to horizontally top-align multiple \tikzpicture's without using \hspace?

The use case I'm having is the following: \documentclass{article} \usepackage{amsmath} \usepackage[showframe]{geometry} \usepackage{qtree} \begin{document} \Tree [.A B C [.D E ] ] \Tree [.F [.G H ...
4
votes
0answers
80 views

Overlapping label and text in description environment [closed]

I'm relatively new to LaTeX, and I am having this problem with the description environment: \documentclass{article} \usepackage{amsmath} \usepackage{bm} \usepackage{IEEEtrantools} \usepackage{amsthm} ...
3
votes
3answers
98 views

New environment with center and parsep

I want to make a new environment where the content is centered and where I can specify a local parsep value. My attempt to make this work is the following: \documentclass{article} ...
3
votes
1answer
64 views

Alignment spacing for negatives - Why am I unable to properly align my equations?

Although I searched the Web and indeed found an answer here, I still seem unable to address my issue of aligning two rows in my step-by-step process for solving a very basic equation. Just in case it ...
9
votes
2answers
118 views

Compute remaining horizontal space in align environment

I use align* often and sometimes it is preferable to add text to the right hand side of an equation instead of using \intertext, or \shortintertext, which tends to interrupt the math flow. This is ...
9
votes
3answers
325 views

Nicer alignment of x^*/2

I'm trying to typeset $\frac{x^*}{2}$, but I can't find a (simple) way to make the alignment look nice. So far, I've tried the following: \documentclass{article} \begin{document} \begin{equation} ...
2
votes
1answer
145 views

How to adjust the space between pictures using minipage?

I use minipages to place three graphs, however the spaces between each two is not with the same width. Here is the code, may someone help me? and how to locate the (a) (b) (c) above the each of the ...
2
votes
1answer
84 views

Center alignment of tikzpicture outside figure environment without vertical space [duplicate]

How to align tikzpicture outside figure environment without introducing vertical space? I'm aware of related questions, such as What is the correct way to center a \tikzpicture? and Should I use ...
9
votes
2answers
125 views

Math Spacing in the presence of a trailing/non-trailing comma

I thought I knew how to use a \hphantom{} but don't know of an easy way to handle this case due to the comma. I want to get the text aligned for the X row. I added the appropriate \hphantom{{}+1} ...
2
votes
2answers
256 views

center and \centering both add space above; \centerline does not

The nag package suggests I use the center environment in LaTeX, rather than the TeX \centerline command. When I do that, however, I find that the former inserts a blank line above the line (in my ...
1
vote
2answers
104 views

How to display formulas?

I am using the following format for all \begin{math} newP = p + vt + 0.5a(t square) \end{math} How do I from left justified to centrally justified leave one blank line before and after the ...
3
votes
2answers
148 views

Align (center) header row in table

I use @{\hskip 50pt} to separate columns in my table. The problem which arises is that I add this extra space after a multicolumn. This also moves the header row so that it is no longer centred. Is ...
5
votes
2answers
117 views

Centering long sentence causes strange vertical spacing

In the following MWE I have a centred piece of unbreakable text. Problem is that this causes an extra bit of vertical space, so that visually the centred text is not vertically centred between the two ...
5
votes
1answer
124 views

right description list LaTeX beamer

How to do right align a description list using beamer? Name | Joel Spolsky Address | Some address Using the enumitem package as suggested in Description list with right alignment of ...
14
votes
1answer
204 views

How to fix the math-spacing when a lot of \phantom, \mathrlap, etc. are used?

This question led to a new package: underoverlap Introduction Based on this question and then this question, I'm trying to perfect the \overunderbrace macro. Right now, I'm trying to get the ...
5
votes
1answer
40 views

Table of numbers adaptable to various widths

It's been a while since I asked an embarrassing question, so here is one for your amusement: I want to print a table of numbers that is able to adapt to various column sizes so can't use a tabular ...
7
votes
4answers
92 views

Bump right-aligned text to next line iff no room

I a chat discussion it was suggested that \hspace*{\fill} (with a space before it to allow for a line break) was sufficient to always get the text following aligned to the right. And indeed, it is ...
1
vote
1answer
127 views

Bad formatting of Bibliography

I tried two ways to format a bibliography with lots of URL's: Without 'RaggedRight' With 'RaggedRight' In the first case, there are wide spaces between words in some items, that a really not ...
3
votes
1answer
250 views

Why doesn't the \closing center in my letter?

If I pdflatex the below Latex, then "Kind regards," and "Sandra" doesn't get centred. If the letter is two pages long, then it does. Question How do I get this centred when my letter is just one ...
4
votes
1answer
84 views

Table columns with widths set by m{} appear to be incorrect

I am using R and Sweave to produce tables for a report, and one of the generated tables is not playing nicely with the m{} definition of column width. The .tex file produced by R/Sweave has the ...
6
votes
2answers
211 views

Keeping the distance between mathematical symbols consistent?

In order to make text flushed both left and right, latex adjusts the distance between words, and to a lesser extent, the distance between characters within a word. This is good, however it also ...
4
votes
1answer
109 views

Extra spacing and right align

I am working on a list of courses that I have taken. The following code: Math 100--Trivialities \hfill Professor Jane Doe \begin{flushright} Grade: A \end{flushright} produces Notice that there ...
0
votes
0answers
137 views

Problem with justification at the right margin [closed]

How can following text snippet be correctly right-justified? For some reason the inline math's trailing space at the end of the middle line is left in place. ...
7
votes
1answer
196 views

Aligning on plus sign (as well as decimal sign) in tabular environments using numprint

Is it a bug in the numprint package .. or maybe a missing feature? I can't align on the plus/minus sign in tabular environments, padding numbers with spaces. \documentclass{article} ...
3
votes
2answers
70 views

How can I produce 3 centered columns, with the middle one fitting the width of its content?

How can I produce a document similar to this, but cause the middle column to take up only as much space as it needs (rather than explicitly specifying a width), such that as much space as possible is ...
5
votes
2answers
152 views

How can I change the whitespace above and below center?

Is it possible to control the space above and below center, e.g. the way it can be controlled above and below math display? In other words, is there an equivalent to, say, ...
5
votes
2answers
5k views

Adding tabs or creating my own command

I have a problem adding tabs and I can't use a tabular environments (like tabular or tabbing) because I can't mix it with enumerate environments. Is there a way to add a simgle tab like in any text ...
5
votes
1answer
101 views

Setting the word space with ragged2e

I am working on Lyx with Preamble, I used to set the word space with everysel as below: \usepackage{everysel} \EverySelectfont{% \fontdimen2\font=0.3em% interword space } However, the design I am ...
8
votes
1answer
96 views

Indent and spacing in tables (or: How to do it better?)

I'm using the tabular environment in order to properly display my address in the text. But as the following example shows, the first column of the table doesn't align with the main body text. Also ...
3
votes
1answer
206 views

tabucline with a break

In the following the first two columns are different in nature from the last two and I wanted to emphasize this by having a break in the horizontal line. I drew lines across columns 1 and 2 and then ...
10
votes
1answer
182 views

Right aligned text in picture environment slightly off

I'm making some placecards and using the picture environment to try to control exactly where everything goes. My problem is that, in the example below, the two lines are not exactly right-aligned. Any ...
1
vote
1answer
354 views

Positioning text both left and right on the same line

I am having a hard time positioning text. Especially if I need to 'float' elements to different sides. Currently, I'm trying to show a header with a 'subheader' that should be to the right of the ...
2
votes
2answers
1k views

Moving Table to Left and Adding Space to Columns

In the following table, the numbers take up too much room. I do not want to landscape the table because there are too many rows. So, I'd like to do both of the following: Create more space between ...
6
votes
1answer
411 views

Alignment/whitespace to compensate for negative sign

I have two equations: \begin{equation} \begin{cases} \begin{aligned} a_x &= - \sin \alpha \cos \beta \\ a_y &= \cos \alpha \cos \beta ...
6
votes
3answers
599 views

Center-justify with hrule above and below

On my title page, I have something like this: \rule{\linewidth}{0.25mm}\\[0.25cm] \huge \textbf{This is my title, it is somewhat long and split over two lines!}\\[0.25cm] \normalsize ...
6
votes
1answer
98 views

How to distribute narrow expressions along a line?

I want something like this: two narrow equations/words equally distributed along the linewidth. I used next code: \documentclass{beamer} \usetheme{Warsaw} \begin{document} \begin{frame} ...
2
votes
1answer
428 views

Spacing in multiple choice question

I tried to make multiple choice question using the following code... but the choices are not uniformly distributed in a single line... I used \hfill by replacing \penalty -50\hskip 2em plus ...
6
votes
1answer
348 views

Include hspace in header/footer in fancyhdr? [duplicate]

Possible Duplicate: How can I force a \hspace at the beginning of a line? I am trying to put a postal address in the footer. I want the first line to be "Address: Address line1", then the ...
6
votes
3answers
926 views

Format spacing for correlation table (any statistical table)

I'm attempting to format a correlation table for publication but can't get the spacing right when I include significance stars. I'd like to have minimal space between columns. The space between ...
3
votes
2answers
485 views

Amsmath, spacing, left alignment

It was recommended that I include amsmath package to use \tag{} (which works). When I do this however, it somehow changes my predefined spacing; I would like everything to be left aligned, no left ...
1
vote
1answer
417 views

How to lower the bibliography's title by 3.3cm? And change its alignment?

I'm running a pretty hacked-up template for my thesis, and the bibliography chapter's title is now too high. (This is due to various changes to the 'normal' chapter titles and their alignment/spacing, ...
5
votes
2answers
514 views

Remove additional space around \underbrace{…}

How do I remove the additional space that is added when using \underbrace{...}, to get the same width in both lines: \documentclass{scrreprt} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} ...
6
votes
3answers
3k views

LaTeX equivalent of     in HTML?

In HTML, to get extra horizontal spacing all I would have to do is: This is textual phrase A   This is textual phrase B to get the following output: This is textual ...

1 2