GeneralEliminating the space produced by {} when preceding text

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
gkamel
Posts: 25
Joined: Thu Oct 30, 2008 1:53 pm

Eliminating the space produced by {} when preceding text

Post by gkamel »

Is there a way to eliminate the space caused by an empty set of braces, {}, e.g.:

Code: Select all

{}Some text...
I need the text to be flush against the left margin. Unfortunately:

Code: Select all

\begin{flushleft}{}Some text...\end{flushleft}
would not work in my case, as the text is situated in columns using the package, parcolumns, so using flushleft here messes up the columns. If the command needs to be placed within the empty braces, this would be fine. One thing I thought of is to use a kind of negative \phantom, if such a command exists.

Thanks a lot,

George
George Kamel

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Eliminating the space produced by {} when preceding text

Post by Juanjo »

Why do you put there a pair of braces? Simply write

Code: Select all

\begin{flushleft}Some text...\end{flushleft}
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
gkamel
Posts: 25
Joined: Thu Oct 30, 2008 1:53 pm

Re: Eliminating the space produced by {} when preceding text

Post by gkamel »

Ahh, I just realised the space was being caused by a carriage return after the braces rather than from the braces themselves :oops:

The reason why the braces are there is a little long-winded to explain, but anyhow, the problem is solved. Thanks for the reply, nonetheless.
George Kamel
Post Reply