{ulem} concerns the ulem package for underlining and strikethrough capabilities

learn more… | top users | synonyms

1
vote
1answer
16 views

ulem nesting of underlines: dimension too large error (but renders nicely)

I have the following MWE: \documentclass{article} \usepackage{ulem} \newcommand\deeperuline{\bgroup\markoverwith{\rule[-1.1ex]{2pt}{0.4pt}\ULon} \begin{document} This \deeperuline{does} work ...
1
vote
1answer
54 views

How to control space length between lines of double-underline?

I use \uuline command from ulem package to make double-underlined text. I would like to know if it is possible to control space length between lines? I drew below what I mean. If not, how to make ...
2
votes
1answer
28 views

Ulem package : horizontal line is too thin

The slanted lines are correct regarding the size of characters, but horizontal isn't. How to correct that ? \documentclass{beamer} \usepackage{fourier} \usepackage{fontspec} \setmainfont{Erewhon}[ ...
1
vote
1answer
69 views

Highlighting text with ulem package

Consider the following minimal example (taken from this answer): \documentclass{article} \usepackage{color} \usepackage{ulem} \newcommand\hl{\bgroup\markoverwith ...
2
votes
1answer
88 views

Is it possible to strikeout a whole equation or paragraph?

I have a document in which I want to strikeout whole paragraphs including all equation and eqnarray environments. Available options such as sout (from ulem) works on paragraph but not in equations. ...
4
votes
1answer
92 views

More robust strike-through / cross-out

I al using the ulem package to cross-out unwanted text like so \documentclass{article} \usepackage{ulem} \begin{document} \xout{Lorum ipsum dola blah blah blah.} \sout{Lorum ipsum dola blah blah ...
3
votes
3answers
112 views

How to cross out a word with a wavy line in LaTex

I need to cross out a word with a wavy line in LaTex. I used ulem package but the result was underlined word with a wavy line. This is my code so far: \documentclass{article} \usepackage{pict2e} ...
0
votes
1answer
28 views

How to underline a single line of text that contains an \enquote{d text} using ulem?

This MWE should explain the problem and the question: \usepackage{fontspec} %\usepackage[ngerman]{babel} % polyglossia is recommended for lualatex \usepackage{polyglossia} ...
3
votes
1answer
91 views

URL with dotted/customized underline AND line breaking

How can I get a dotted URL underline with line breaking? I found this solution: Having all links underlined with dotted line but this TIKZ one does not work with line breaking. I also tried a ...
2
votes
1answer
30 views

Conflict between ULon and siunitx

I am trying to create an automatic numbering of remarks which will be highlighted. It does produce the expected result but it crashes and I don't understand what is wrong. Below is the minimum working ...
2
votes
1answer
54 views

\uline and German quotation marks

I'm using the \uline command from the ulem package. But unfortunately it causes an error when used togehter with German quotation marks (\glqq,\grqq): \documentclass[12pt]{scrartcl} ...
8
votes
4answers
248 views

New 'ulem' command not working

I'm trying to create a new command that will give blue underline under black text. My mwe is \documentclass[a4paper,12pt]{report} \usepackage[table,hyperref,dvipsnames]{xcolor} \usepackage{ulem} ...
3
votes
1answer
85 views

Strike through text does not work with multiple cites

I'd like to strike through some text in a paper with package ulem's \sout{}. However, when the text to be struck through contains multiple cites like \cite{a,b}, the compiler gives some error messages ...
0
votes
2answers
143 views

highlighting RTL text - ulem with bidi and color

following this: http://tex.stackexchange.com/a/48549/22969, I tried this code: \documentclass{article} \usepackage{ulem} \usepackage{xcolor} \usepackage{polyglossia} \setdefaultlanguage{hebrew} ...
4
votes
2answers
204 views

Conditions in algorithms are underlined

I'm using algorithm2e for typesetting pseudocode. Generally I find it easy to use, however, I cannot seem to find the setting that underlines the conditions in my while and for loops and ...
4
votes
0answers
35 views

Use Tikz to draw underlines [duplicate]

The following MWE contains the definition of a custom macro for colored underlines with the ulem package. \documentclass{article} \usepackage{xcolor} \usepackage{ulem} ...
7
votes
2answers
343 views

Underlined titles in bibliography with biblatex and ulem packages

I want to underline all titles in a bibliography using the biblatex package with Biber backend and the ulem package. biblatex seems to break ulem's line breaking capabilities. Please consider the ...
6
votes
1answer
92 views

\em of ulem package surrounding by environment does not compile

The following code does not compile if any % is removed. It reports run away argument. \documentclass{article} \usepackage{ulem} \begin{document} \begin{center} %\em This is center ...
5
votes
1answer
90 views

Hyperref and ulem commands cannot be combined

Some hyperref commands do not mix well with ulem commands. Compiling this MWE \documentclass{article} \usepackage[normalem]{ulem} \usepackage{hyperref} \begin{document} ...
8
votes
1answer
552 views

math equation with underline has different heights

I struggle with some equations in my research paper. I want to underline some variable, because they are complex, but if I use \underline the line is not at the same level in my example: ...
4
votes
2answers
158 views

Broken automatic line breaking in section titles when ulem and hyperref are used

I am trying to use the ulem package to underline section titles while still being able to have automatic line breaking: \documentclass{scrartcl} \usepackage[normalem]{ulem} \begin{document} ...
1
vote
2answers
115 views

Underlining with ulem package breaks footnotes

For some reason, footnotes do not seem to work with the ulem package. \documentclass{article} \usepackage{ulem} \begin{document} \uline{test\footnote{note}} \end{document} gives ! Undefined ...
4
votes
1answer
956 views

removing underline from journal title when using hyperref

When I am using hyperref, the package puts underline to the journal title in my references. How can I get rid of this underline? A similar question is asked here: Turning underlines OFF in hyperref ...
9
votes
1answer
292 views

Mixing underline and strike-out

Word allows for all kinds of font formatting: The above example combines strike-through/strike-out (like this) and underlining. I'd like to be able to do the same, but neither ulem nor soul allows ...
0
votes
2answers
107 views

Problem with boxes and paragraphs

I am trying to create a form for my company. I am new to Latex and based on some tutorials i was able to get to a certain point. But as you can see The fbox is starting from a different margin I am ...
4
votes
1answer
181 views

Remove Line Breaks and Underline Text

I'm writing a thesis template that follows a style guide. According to the guide, the title of the document needs to appear in several places. In some places, the title text must be broken into ...
8
votes
2answers
177 views

Inconsistent ulem (with textbf and textit)

Using the latest (2012-05-18) ulem package gives inconsistent underlining after font changes respectively depending on the position of the underlined text: \documentclass{article} \usepackage{ulem} ...
2
votes
1answer
52 views

colored scratched out entries in a Table

I have a weird problem: If I put a scratched out entry (using package ulem) in a table everything ist fine. But if I color that entry it slips down a little bit. Does anyone know why? Here an ...
3
votes
1answer
367 views

Fill in the blank: text wrapping & math mode

I am making notes with blanks to fill in and would like to produce an instructor version with blanks filled in and a student version with blanks unfilled. I would like a \fillin{ . . . } command that ...
0
votes
1answer
491 views

Dashed underline in caption using ulem

I'm trying to dashed underline a word in a caption using the ulem package. While the \dashuline{} command works fine everywhere else, I get "Undefined control sequence" as error message in caption. ...
5
votes
1answer
941 views

Underline text with background (soul and ulem nesting)

I'm using soul's \hl to set background for the paragraph parts and ulem's \uline to underline text. The problem is what I cant underline text for text with background. Initial doc: ...
6
votes
1answer
724 views

citing inside underline/strike out :tex

I am working on an article, where I need to strike out or underline some of the sentences with citations. I try to do this as \uline{sentence1 \citep{reference1}, sentence continued ...
4
votes
2answers
183 views

Strange interaction between the `underscore` and `ulem` packages

There is a strange interaction between the underscore and ulem packages. With \uline{\itshape bbb\_lll}, "bbb" is italic but "lll" is upright. However, with \underline instead of \uline, or when the ...
4
votes
1answer
88 views

Mis-alignment of columns in tabular environment when using ulem (and beamer)

I have not been able to find a solution to the following problem in the ulem documentation. Could somebody help, please? When I use a ulem macro to strike through some text in the tabular ...
3
votes
1answer
721 views

How to use \sout{} inside the \title{} using beamer class

The problem is on the title. Here is the minimal code \documentclass[11pt,a4paper]{beamer} \usepackage{ulem} \title{\sout{text}} \begin{document} \frame{\maketitle} \end{document} The errors are ...
7
votes
2answers
814 views

Controling underline depth in math mode

I use the ulem package to control the depth of underlines by setting \renewcommand{\ULdepth}{1pt} This works fine outside math mode. However, when using \uline inside math mode, I seem to lose ...
3
votes
2answers
138 views

Overlayed underlines

I want the overlayed underline like the one shown , but, since the ulem package only offer {}as enclosing characters, the code \uline{ab\uwave{cd}ef} doesn't work. Does anyone have a simple solution ...
4
votes
0answers
183 views

Follow up to underline subsections - incompatibility between lineno, sectsty, and ulem

In answering the question Underline subsections, I provided an answer which relied on the sectsty package (as compared to @GonzaloMedina's answer, which used the titlesec package). Ultimately, ...
12
votes
2answers
673 views

List of Underlining Packages - Pros and Cons

The \underline macro built into LaTeX is pretty much not useable per Why does underlined text not get wrapped once it hits the end of a line ? I have been attempting to use the soul package to ...
2
votes
1answer
195 views

Problem with amsmath+fontspec+ulem

I have a problem when I tried to compile this using XeLaTeX. \documentclass{article} \usepackage{ulem,amsmath,fontspec} \begin{document} \[1+1=2\] \end{document} Is there any way to fix this?
0
votes
1answer
365 views

Using ulem package changes the style of my reference [closed]

I used this \usepackage[normalem]{ulem} in order to put underline in my file and the next thing I notice is that my reference are all messed up. Here is how I used my reference: \include{Appendix} ...
12
votes
1answer
3k views

Getting \emph back to normal after loading ulem

I'm typesetting a manuscript that is required to turn all \emph into underlines. But then I want to use the original definition of \emph for the list of references. How do I get \emph to behave like ...
3
votes
1answer
688 views

ulem incompatibility with multiple entries in \cite

Consider the LaTeX code: \documentclass[aps,pre]{revtex4} \usepackage[normalem]{ulem} \begin{document} \sout{ asdas~\cite{a1989, b2001}. } \bibliographystyle{apsrev4-1} ...
1
vote
1answer
625 views

Control ulines for cloze text

@Martin Scharrer suggested me the following amazing solution to make cloze texts: http://tex.stackexchange.com/a/16004/4011 \documentclass{article} \usepackage[normalem]{ulem} \makeatletter ...
16
votes
1answer
3k views

Strikeout - when which package ? ( ulem vs soul vs …)

When to use which package for strikeout? I see answers : \usepackage{ulem} \sout{Hello World} or \usepackage{soul} \st{Hello world} or \usepackage{cancel} \cancel{Hello world} In what ...
9
votes
1answer
1k views

Strikeout in different color appears behind letters, not on top of them

When using package ulem's strikeout facilities (macro \sout) and also color in my text, the strikethrough appears behind the letter string: \documentclass{article} % I also often work with the memoir ...
8
votes
1answer
937 views

A thicker wave underline

I have found \uwave in the ulem package, and its definition in ulem.sty: % Now define various special underlines. All the definitions go like % \def \command {\bgroup \markoverwith{something} \ULon} ...
6
votes
1answer
1k views

How can I strikethrough a character in an equation?

I'm trying to create an equation where the letter "I" has a horizontal line through it. The only name I know for this action is "strikethrough" but I'm not sure if this would be correct when dealing ...
10
votes
1answer
2k views

Environment to underline/strikeout for comparing versions

I have a TeX file that I'm editing with several collaborators and we use environments to highlight and discuss proposed changes like the following: Some text. \begin{old} Text that I propose to ...
12
votes
1answer
634 views

Triple underlining

I am quoting passages from ms. letters and need to underline a few words with three lines. Does a command exist for doing so? I've consulted Melchior Franz's soul package documentation from 2003 and ...