Questions tagged [ulem]

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

The tag concerns the ulem package which provides underlining and strikethrough capabilities both in text and math mode. Underlining can be done with single, double and wavy lines. Strikethrough can be accomplished with a single line or slashed over the text. It is also possible to get a wavy underline for bold text.

133 questions
8
votes
4 answers

New 'ulem' command not working

I'm trying to create a new command that will give blue underline under black text. My mwe is…
boudiccas
  • 319
8
votes
3 answers

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} \begin{document} \textbf{foo}…
CaringDev
  • 423
5
votes
2 answers

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 to this? Thanks!!
4
votes
1 answer

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}[ Extension=.otf, UprightFont=*-Regular, …
Tarass
  • 16,912
4
votes
1 answer

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 several lines and in other places it must be…
3
votes
1 answer

uline doesn't show at the end of line

Here is the minimal working example \documentclass{article} \usepackage{ulem} \begin{document} one two three one two three one two three one two three one two three one two three one two three one two three one two three one two three one two…
user15964
  • 865
2
votes
2 answers

\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 \expandafter should help, but I'm unfamiliar with…
2
votes
1 answer

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 \uwave{nicely}. This \deeperuline{gives \uwave{an} error}…
peschü
  • 316
  • 2
  • 11
1
vote
2 answers

Control ulines for cloze text

@Martin Scharrer suggested me the following amazing solution to make cloze texts: https://tex.stackexchange.com/a/16004/4011 \documentclass{article} \usepackage[normalem]{ulem} \makeatletter \def\UL@putbox{\ifx\UL@start\@empty \else % not inner …
student
  • 29,003
1
vote
1 answer

sout doesn't stike through the denominator

Here is the code. \documentclass[12pt,letterpaper]{article} \usepackage{ulem} % strike through \begin{document} \[ \frac{\hat{N}} {O_{max} - O_{min}} = \frac{209.06 \hspace{1mm} \mu V} {(\sout{10777} - \sout{5268}) \hspace{1mm} \mu V} \approx…
kile
  • 655
1
vote
1 answer

uline and uuline same line width

How to align uline and uuline same width of line using ulem package? I attached screenshot for your reference.
Rajesh N
  • 829
1
vote
1 answer

Textwidth underline while ragged right text

I want to do this: But all I can do is: \documentclass[14pt]{extreport} \usepackage[normalem]{ulem} \begin{document} \hfill\begin{minipage}[t]{0.7\textwidth} \begin{flushleft} Lorem:~\uline{ipsum dolor sit amet, consetetur sadipscing elitr, sed…
0
votes
0 answers

illustarte an removed sentence by ulem

For a one-column text, the below command can help us to cross a sentence with a line. \usepackage{ulem} \newcommand{\soutthick}[1]{% \renewcommand{\ULthickness}{1.3pt}% \sout{\textcolor{folly}{#1}}% } But when we have a two-column text this command…
0
votes
0 answers

\uline does not work with \hspace

Long story short: Changed laptop and previous working documents don't compile anymore. Problem show up with comamand \uline from \usepackage[normalem]{ulem} with argument…