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

learn more… | top users | synonyms

1
vote
2answers
55 views

Thickness for \sout{} (strikethrough) command from ulem package

I am using \sout from the ulem package together with beamer to strike through some text: \documentclass[mathserif]{beamer} \usepackage{ulem} \begin{document} \begin{frame} Next meetings: ...
3
votes
0answers
42 views

Line breaks in underlined citations

I've been looking for a solution to automatically highlight citations to the works of a specific author using biblatex, but the question is still unanswered and I'm lacking time at the moment to ...
3
votes
1answer
21 views

\uline{} does not work correctly with long non-English lines

I have encountered with situation that \uline does not break correctly non-English lines. I think that problem may be in extra-libraries that I use. For, example I work with Russian document. ...
2
votes
1answer
30 views

cleveref and ulem/soul compatibility

I'm trying to use uwave and cleveref together: \documentclass{article} \usepackage{ulem} \usepackage{cleveref} \begin{document} \uwave{\cref{sec:A}} \section{A} \label{sec:A} \end{document} After ...
1
vote
2answers
34 views

\uline not work for command arguments

I try to use \uline from the ulem package. Moreover, I need a command to carry some text. Unfortunately, \uline doesn't wrap the text carried by the command automatically. Code: Output: I think ...
1
vote
0answers
56 views

How to strike out over an environment and formulas and using local variables in latex?

While I am revising my papers, for the sake of easier tracking and saving the time of the reviewers, and hence shortening the review process (I hope!), I use the following commands \usepackage{ulem} ...
1
vote
1answer
21 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
115 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
60 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
158 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
180 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
183 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
165 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
46 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
162 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
40 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
76 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
277 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
153 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
173 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
302 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
37 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
480 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
106 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
109 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
718 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
218 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
142 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
1k 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
369 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
113 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
246 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
189 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
56 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 ...
4
votes
1answer
424 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
643 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
1k 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
963 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
193 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
93 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
874 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
1k 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
148 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 ...
5
votes
0answers
220 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
752 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
223 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
461 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} ...
15
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
806 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
667 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 ...