Questions tagged [ragged2e]

{ragged2e} is a package that provides the commands \Centering, \RaggedRight and \RaggedLeft (and associated environments) for setting ragged text while allowing hyphenation.

Filter by
Sorted by
Tagged with
1
vote
0answers
39 views

LaTeX Warning: Command \@arrayparboxrestore has changed

Hey so this error message LaTeX Warning: Command \@arrayparboxrestore has changed. manifests up when I use \usepackage[document]{ragged2e} but the error does not manifest whenever I comment out that ...
3
votes
1answer
46 views

My spaces are swallowed

I want to have my code examples show up with not only \code{\textbackslash texttt} but also a grey box. You might be familiar with the looks from some famous web page with questions and answers on ...
3
votes
1answer
68 views

How to prevent \raggedright from removing left-indent of \parshape?

Output with \raggedright looks good when greater indentation is specified for \parshape, but \raggedright eats up smaller indentation. If a word doesn't fit on a line, is there a way to prevent ...
0
votes
0answers
103 views

LaTeX document alignment

In our document we tried to align everything with ragged2e package and it doesn't really help to align as some of the text is align and some of it isn't. I have added this command in master folder ...
1
vote
1answer
25 views

How to supress with ragged2e in a glossary (longtable)?

I am trying to use the long style provided in the glossary package to use in my acronym list. However, I am also using the ragged2e package and I have my paragraphs indented too. This causes both the ...
0
votes
1answer
166 views

Is it OK to ignore Underfull \hbox errors? I attempted, but it did not wok. I use textpos and ragged2e

I tried to solve by middle of the following questions: ragged2e: "newcommands" option produces "underfull \hbox" warnings, Underfull \hbox (badness 10000) in paragraph in figure ...
6
votes
1answer
111 views

Interference between `ragged2e` and `tcolorbox`: Additional spacing for centered bold text

When centering bold text in a tcolorbox using [halign upper=center], additional horizontal spacing occurs when the package ragged2e is loaded additionally. I guess this is unintended behavior. – Is ...
5
votes
1answer
124 views

koma-script: Problem with \footnote and \RaggedRight

Here's an MWE (using koma-script v3.25): \documentclass[paper=a8]{scrartcl} \RequirePackage{ragged2e} %\addtokomafont{footnote}{\RaggedRight} \begin{document} foo\footnote{bar} \end{document} Here ...
0
votes
1answer
65 views

Adjust the word space in the itemize environment

As you can see, there is a too-wide space caused by the long word "AuthenticateWith". Is there any idea to introduce the hyphenation under the {itemize} and somehow adjust the item. I tried \...
13
votes
2answers
300 views

Text beginning with “plus” after ragged2e's commands prevents compilation

I lost quite some time due to some weird error (which might possibly stem from a ragged2e bug, but I'm note sure so I won't put the blame on anyone), so I thought it would be nice to share this. The ...
0
votes
1answer
1k views

How to make justified alignment of text have as little space between the words as possible?

EDIT: additional examples added (scroll farther down) I've noticed there's always unnecessary space generated between the words when justified alignment of text is used (be it one or another package ...
2
votes
1answer
49 views

How to prevent automatic insertion of a blank line at the beginning of a `justify` environment of `ragged2e` package?

Blank line is always generated at the beginning for some reason. I need to get rid of it. \documentclass[border=0.5mm]{standalone} \usepackage{ragged2e} \usepackage{tikz} \begin{document} \begin{...
3
votes
1answer
160 views

Underfull \hbox warning with \RaggedLeft

I use the mcaption package to place the captions in the margin column. With \RaggedOuter I align them properly on even and odd pages, respectively. Only on even pages, I tend to get underfull \hbox ...
1
vote
1answer
109 views

Aligning text to the right inside a verse

Inside a verse environment as provided by the verse package how would I align an entire stanza to the right? I'm looking for something like the below: Neither \raggedleft nor \RaggedLeft as provided ...
1
vote
1answer
400 views

How to take off the “-” of the justified texts in Beamer

In the end of the line the justified text has "-" I would like to take off. Is there anyway to do that? \documentclass{beamer} \usepackage[portuguese]{babel} % or: 'brazilian' ?! \usepackage[T1]{...
1
vote
1answer
151 views

Strange hyphenation behaviour with multirow, plus problems with hyphenating german-language words with umlauts

I have problems with hyphenation in multirow text cells, again. In some cases, this totally gets ignored even though using hyphenation. Bonus question would be, how do I tell \hyphenation to ...
3
votes
3answers
2k views

Hyphenating text inside tabularx

I'm currently writing a thesis where hyphenation is not allowed with exception to tables. Disable Text hyphenation is working fine using: \usepackage[none]{hyphenat} \sloppy Now the problem is that ...
5
votes
2answers
428 views

multicol, ragged2e, RaggedLeft - How to “unjustify” last line

I try to use multicol with RaggedLeft from ragged2e. But Latex somehow "justifies" all lines including the last line of the paragraph. RaggedRight works as expected. How can I achieve the look of ...
3
votes
1answer
2k views

After \centering what is the best way to return to justified?

Here is an over simplified example. My problem is the \justify and/or \clearpage creates an error on the first \item line saying "possible missing \item." I've used a similar sequence of code above ...
6
votes
1answer
206 views

spacing=true + ragged2e produces bad minipages

I understand the spacing=true option in microtype is considered "experimental". However, for my document it does improve the appearance of the document -- with the dramatic exception of certain ...
-2
votes
1answer
85 views

how to align text in a page? [closed]

I'm writing my report but I found that text is not align in all tha page however added this : \usepackage[document]{ragged2e} How can I fix it?
10
votes
2answers
838 views

Minimize hyphenations with ragged2e

Nearly every guide to LaTeX recommends \RaggedRight from the ragged2e package over the built-in \raggedright. But I've always been frustrated by too many hyphenated words with \RaggedRight. I ...
3
votes
1answer
131 views

Inclusion of ragged2e causes spacing side-effect in Tikz

I am working on a memoir document whose chapter titles are styled with Tikz. My actual graphic is quite a bit more complex, but for the sake of simplicity, the MWEs in this question will simply ...
2
votes
1answer
397 views

How to align text vertically and horizontally in table cells of the same column?

I want to top align and right justify the text in all tabularx cells of a certain column. So far, I tried: \documentclass[a4paper,10pt]{article} \usepackage[top=2cm,bottom=2cm,right=2cm,left=3cm]{...
2
votes
0answers
151 views

Ragged2e preventing proper hyphenation of long chemical names

In my thesis I use chemical names containing dashes and numbers in section titles. Additionally, each compound is numbered by using the \cmpd{} command from chemnum-package. To prevent the label from ...
2
votes
1answer
391 views

Beamer with ragged2e and babel results in “command \selectfont has changed” warning

I am preparing a presentation in beamer and trying to get rid of warnings – but there is one that I cannot remove. In the MWE below there's empty beamer document with babel in Polish and ragged2e ...
6
votes
1answer
278 views

Why does the ragged2e package screw up my emphasized text and headings?

I encountered a weird behavior of the ragged2e package. \documentclass{article} \usepackage{blindtext} \usepackage{amsmath} \usepackage{ragged2e} \newcommand{\ir}[1]{_{\mathrm{#1}}} ...
1
vote
0answers
58 views

How to combine currvita and ragged2e? [closed]

When I use ragged2e with currvita, then the currvita section headers loose their margin below, resulting in unacceptable ugly layout. Example: \documentclass{article} \usepackage{currvita} \...
1
vote
1answer
717 views

Appendix suddenly right aligned?

I am writing a thesis using a template I didn't create myself, which worked great so far. But when I put some text in the appendix, it suddenly is right aligned, with a ragged left side. I have found ...
3
votes
2answers
601 views

Can't get \hangfootparindent to work with \footmisc

I use \footmisc to style my footnotes, with the hang option (in combination with raged2e). I'd like to set the second and subsequent paragraphs in multiparagraph notes with an indentation, but can't ...
5
votes
2answers
154 views

picinpars and ragged2e appear to create a capacity exceeded error when switching alignment

I have an odd issue that appears to stem from the ragged2e package. I need to be able to have an image shown on the right with right aligned wrapped text around it. However, when I have to switch the ...
2
votes
1answer
181 views

Beamer - Combining justification and centering

I am preparing a beamer presentation and I am having problems in combining justification and centering. I use mainly itemize and enumerate in my slides, and I want to have the text justified in all my ...
4
votes
2answers
582 views

RaggedRightParindent also indents caption titles with subcaption package

I am using the KOMA-Script class scrreprt with the ragged2e package to achieve ragged right document text. I still want to retain paragraph indentation (and have no inter-paragraph spacing, i.e., ...
5
votes
1answer
582 views

Hyphenation with \RaggedRight

This is based on egreg's code and comments to Indenting text in \tabfill (tabbing environment), in which a command \tabfill is defined so that it wraps lines in a tabbing environment. One problem ...
3
votes
2answers
1k views

How to align text to right without adding additional vertical spacing?

I am trying to simply align one paragraph to the right. However, when I try to use flushright environment, additional vertical space is added above that environment: \documentclass[final]{book} \...
7
votes
1answer
1k views

Relationship of \\, \newline, \raggedright, \RaggedRight, and parindent

I'm trying to understand if there is anyway to get \\, when in \raggedright or \RaggedRight, to produce a new line that is not indented, while \parindent or \RaggedRightParindent are set in order to ...
1
vote
1answer
795 views

ragged2e justifying - centering figures

I am preparing a beamer presentation and I used the ragged2e package to justify the text in my slides (I justified the itemize environment). However, this does not allow me anymore to center a figure. ...
5
votes
1answer
386 views

ragged2e breaks soul package \textbf{} spacing

If you compile the XeLaTeX below you will see the output is not-as-expected for the bold part of the text i.e. it is: underline underline boldboldbold In other words the spacing of the bold elements ...
3
votes
1answer
2k views

Raggedright not working inside a table

I have a table and i want to align elements left. This is my code : \begin{tabular}{|c|c|} \hline Priorité&Description \\ \hline \multirow{4}{16 mm }{\centering 0} & \tabitem \...
27
votes
2answers
36k views

\raggedright removes paragraph indentation

This code \documentclass[]{article} \usepackage{lipsum} \begin{document} \raggedright \lipsum[1-3] \end{document} produces three paragraphs with a ragged right edge and no paragraph ...
1
vote
1answer
486 views

Ragged2e: Break between paragraphs

When I use the package ragged2e, the break between paragraphs disappears. I am new to LaTeX, so I might have missed something elementary, but I cannot figure out how to get an empty line between ...
5
votes
1answer
2k views

First paragraph indentation with ragged2e and \RaggedRightParindent set

I am using the ragged2e package for my raggedright text and have set \RaggedRightParindent to 2em, as I want my paragraphs indented. But now, the very first paragraph in the document (following \...
6
votes
3answers
797 views

Memoir footnotes in margin with ragged2e

I would like to set up memoir so that when I use \footnote{foo}, foo is displayed in the margin with the proper label and preferably break over pages. There is an option \footnotesinmargin which ...
38
votes
2answers
1k views

Does combining microtype with ragged right make any sense?

My impression when using microtype in a document that used \RaggedRight (everything said is probably true for \raggedright as well but who cares really ...) always was that all lines just get ...
10
votes
1answer
2k views

The indentfirst package does not work with ragged2e package

I am using the ragged2e package in the article class and want the first paragraph within the justify environment to be indented. As such, I used the indentfirst package. However, this does not change ...
13
votes
2answers
3k views

\RaggedRight makes document longer

I have a document carefully written to fit in 4 pages; but when I added a \raggedright (or \RaggedRight with use of the ragged2e package) the length gets longer. Furthermore, suddenly the output isn'...
1
vote
1answer
2k 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 ...
5
votes
1answer
546 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 ...
16
votes
2answers
2k views

\raggedouter to typeset marginal text in twoside book

We used the following code fragment using the changepage package: \newcommand{\raggedouter}{% \checkoddpage% \ifoddpage% \RaggedRight% \else% \RaggedLeft% \...
5
votes
2answers
374 views

Disable hyphenation in apa6e's footnotes

I would like to disable hyphenation in apa6e's footnotes, to match APA's 6th edition guidelines. apa6e uses ragged2e, and the ragged2e documentation (pdf) claims that certain commands can make ...