Applying effects to text such as underlining, striking through, highlighting, shadows or other geometric transformations

learn more… | top users | synonyms

42
votes
2answers
21k views

How can I have colored and underlined links with hyperref?

I would like the internal hyperlinks generated by hyperref to be colored and underlined. Reading some of the package documentation, I know that these \hypersetup keys exist: colorlinks: when ...
38
votes
1answer
19k views

How to strike through obliquely, e.g. to indicate cancellation?

How can I strike through an expression (e.g. "2x") obliquely, e.g. from bottom left to top right, so as to indicate cancellation? With the \sout command from the ulem package, I can only strike ...
63
votes
7answers
32k views

Long underscore in LaTeX

In LaTeX, how would I make a long underscore? For example, Name _______ Signature _______
61
votes
4answers
2k views

underline omitting the descenders

I'm very well aware that it is considered best practice not to use underlining other than on typewriters and in handwriting. But sometimes it is needed nonetheless. In my opinion the typographically ...
29
votes
7answers
2k views

How to replace a large block of text by an empty block of the same size?

I know there exists the \phantom command, but does it work on large blocks of text (containing several paragraphs or even several pages)? What I want is to have some commands, call them \hide and ...
12
votes
2answers
677 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 ...
40
votes
2answers
13k views

Why does underlined text not get wrapped once it hits the end of a line ?

Sometimes I want to underline some text, and it extends past the end of a line. Why does \underline{} not automatically wrap my text for me ? Also, how can I underline text so that it will still ...
27
votes
1answer
8k views

Draw a diagonal arrow across an expression in a formula to show that it vanishes

I would like to find a way to cross out a term in a mathematical expression with a diagonal arrow pointing from lower left to upper right and with a little "zero" next to the pointy end of the arrow.
27
votes
2answers
4k views

Recreating a logo (text around a circle)

My objective is to figure out how to put text around the circumference of a circle as shown below. I have read Calligraphic logo in tikz which answer part of my question but not completely as ...
6
votes
1answer
1k views

How do I put text over a squiggly arrow?

I am currently trying to write text over a squiggly arrow (\rightsquigarrow). For normal arrows, I use the extarrows package, which provides commands like \xlongrightarrow and \xLongrightarrow which ...
33
votes
3answers
3k views

What's a good typewriter template?

I'm searching for a template which makes a document look like it's written with a real typewriter. Ideally, this means it's not only in mono-spaced font, but the hyphenation is adjusted accordingly. ...
16
votes
1answer
11k views

How do I write \underline text but with a dotted line

Like Hello World ........... or Hello World ----------- And not so Hello World // \underline{Hello World} ___________ //
11
votes
1answer
3k views

Url with fragments in bold

I need to write document containing a lot of URLs but some fragments of these URLs have to be in bold. How can I accomplished this? For urls I use \nolinkurl but I can't use \bf in it.
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 ...
84
votes
3answers
104k views

Strikethrough text

I am writing an article in LaTeX 2e. Part of the article describes the Sieve of Eratosthenes, and I want to show examples of how multiples of a prime are removed from the sieve by showing them in a ...
47
votes
2answers
26k views

Crossing out sentences

I had to cross out a sentence and I did it the following way, which is kinda sloppy. $ ...
46
votes
3answers
92k views

How can I underline a single word with LaTeX?

Given a simple paragraph, how do I underline a word in that paragraph? (Note: I post this here because it wasn't really obvious using google or this site and my TexNicCenter is somehow missing this ...
28
votes
4answers
2k views

How to change color of edge of characters? [duplicate]

Possible Duplicate: Outlined characters There are many ways how to change whole character color. I want edge color to be different from body color of character. How to do it? It is ...
14
votes
1answer
574 views

Visualize index entries in the text?

When I ad an index entry using \index with all the options available for the "format" and "see", and cross-reference, I'd like to see at the place where I make the index entry how this specific entry ...
12
votes
2answers
2k views

Is it possible to have hyphenations in \underlined{text}?

In a document I was writing, I had some really long captions and I wanted to emphasize the important parts in them. I tried to use \underline{} but no hyphenation was used at both the caption and at ...
9
votes
3answers
4k views

Underline and center headings

For a paper I have to make my LaTeX document guideline conforming. Many of you will already guess now that this means dirty work by violating virtually all possible typography standards. My biggest ...
14
votes
5answers
7k views

Put a slash through a word

I would like to write a word with a slash through it, using LaTeX (in text, not in math mode). That is, I want a line from the lower-left corner of the word through the upper-right. Is there a nice ...
8
votes
1answer
1k views

Title running off the page!

I haven't had this problem before so I'm not quite sure what's happening, but my title is running off to the right side of the page. This is my code: \documentclass{article} \usepackage{assymb} ...
7
votes
2answers
2k views

Underlining an equation in an align block

I'm trying to set up a system of equations and want to underline the last equation, but can't figure it out. Here's what I have: \begin{alignat*}{4} &F_n &- mg &- F_a\sin 32^\circ &= ...
5
votes
1answer
302 views

Custom switches (such as for underlining)

Some packages (ntheorem for example) take only text switches as arguments that can be used in the form {\switch text}, for example \bfseries. If I now want to have a suitable command for underlining, ...
4
votes
1answer
1k views

text with semi-transparent color filled box

I have this text: \begin{flushleft} \fontsize{16pt}{16pt}\selectfont\textit{some text}\\ \fontsize{16pt}{16pt}\selectfont\textit{some text} \end{flushleft} and I would like to have a filled ...
4
votes
1answer
2k views

TeXlipse hotkeys for bold, italic, underlined

Are there any hotkeys to make a text bold or italic in TeXlipse plug-in? It is tiresome to type \textbf{} and \textit{} each time I need to emphasize some word. Most of other TeX-editors support ...
1
vote
1answer
3k views

How to write/draw over the figure with site specific locations in Latex

I wish to show some comment/text bubble on my picture in latex presentation. Kindly help me to write/comment on a included figure in latex.
30
votes
3answers
4k views

Fancy start-of-chapter marks

I'd like to include some fancy start-of-chapter marks in my poster. I especially like these marks (see pictures below) in a Power Point template. I wonder if there is a convenient way to produce ...
17
votes
1answer
24k views

How to write crossed-out math in LaTeX? [duplicate]

Possible Duplicate: Draw a diagonal arrow across an expression in a formula to show that it vanishes As you might know from my other questions, I am still a newbie at LaTeX, so please don't ...
9
votes
2answers
3k views

Good Style of Creating a Signature all within LaTeX

I have a small task that involves trying to get a signature using LaTeX fonts. I want to be able to make the signature look as handwritten as possible (pen/marker) using the LaTeX fonts. Also like to ...
14
votes
3answers
840 views

Red squiggly imitation

Is there an elegant way to draw red squigglies under text, to emulate what a [source] code editor does when it detects errors (either spelling mistakes, syntactical errors or semantic errors)? Here ...
12
votes
2answers
1k views

Is there is a package so you can add text with visual effects like “WordArt” from “Word”

I am elaborating a business card style for LaTeX but I found out that even if I have the style and margin for the cards I can not make it look "pretty" like other text editors without overusing ...
7
votes
1answer
2k views

Underlined text field in a fillable form

Is there a way to make an underlined text field in a fillable form? I am using the hyperref package to make a fillable form but I would also like to give the option of printing out the form and ...
14
votes
1answer
603 views

Having all links underlined with dotted line

so I'm trying to figure out how to have all links underlined with a dotted line. The furthest I got with this and this is: \documentclass{article} \usepackage{xcolor,soul,lipsum} ...
16
votes
3answers
2k views

How to fine tune rotation of text along circular path?

After searching the web and finally coming from here (recreating a logo), I couldn't find an answer to what I am looking for. I want to rotate a text inside a circle and have a full control/fine ...
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 ...
8
votes
2answers
2k views

Adding vertical lines to each side of a paragraph

How can I add vertical lines to each side of a paragraph? To illustrate, what I need is: some paragraphs... |My paragraph begins| |here and goes like | |this... ~~~~~~~~~~~| |~~~~~~~~~~~~~~~~~~~| ...
8
votes
1answer
944 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} ...
5
votes
2answers
664 views

Change TOC to use underline in subsubsections

I am using the package memoir and I need to redefine the fonts in TOC with this rules: For Chapters: all-caps and bold For Sections: bold For SubSections: bold and italic For SubSubSections: bold ...
4
votes
1answer
364 views

Turning underlines OFF in hyperref

How do I get rid of all underlines under links in hyperref? I am processing to DVI, not PDF (because I am using some PS-specific graphing which is non-functional in pdflatex). I am specifying ...
14
votes
4answers
3k views

How to create text with shadows?

This question led to a new package: shadowtext I used the following code: \documentclass{article} %\usepackage{pst-all} \usepackage{pstricks} \usepackage{pst-3d,pst-text} \usepackage{soul} ...
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 ...
6
votes
3answers
587 views

How to write under an underline?

I would like to be able to write under the underline. Is it possible? This is the simple code I have: \documentclass{article} \begin{document} $\frac{ \textrm{Text}}{1} \frac{\textrm{Text}}{2} ...
5
votes
4answers
394 views

How to span \textit{} and \Large several lines in \author{}

I would like to span \textit{} in several line in \author{} tag. So far I know I can do this ( but here \LARGE will only affect the Name) : % title \title{\textbf{Cool title}} \author{\LARGE ...
5
votes
1answer
793 views

TikZ ER diagrams: really can't underline keys?

I'm creating an ER diagram with the TikZ ER library. The manual warns that although key attributes are conventionally underlined, it is hard to implement in TeX and the library uses italics instead. ...
5
votes
2answers
899 views

Formatting Equation Numbers

I need the numbers of equations and brackets around to be in bold. Doing like this \usepackage{etoolbox} \pretocmd{\theequation}{\bf}{}{} only the number is produced in bold, how to bold brackets? ...
4
votes
2answers
457 views

Can I draw a small arrow from a word to a space-gap on the same line?

I want to illustrate that the const in the following line can also be moved one word to the right. Maybe I can underline the const and draw a slim arced arrow pointing to the next gap? const int * ...
2
votes
1answer
181 views

Arc over multiple columns in table

I want to have a flat arc over some columns in a table (tabu environment, as I am using to define independent colours for each row). Similar to the hhline in which bar are drawn over multiple columns. ...
10
votes
2answers
310 views

Follow-up: Underline + strike-through using soul

This is a follow-up question to Mixing underline and strike-out. This time, I'm specifically interested in an implementation using soul (that doesn't require multiple compilations to stabilize). I ...