The tag has no wiki summary.

learn more… | top users | synonyms

67
votes
3answers
72k 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 ...
56
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 ...
51
votes
7answers
24k views

Long underscore in LaTeX

In LaTeX, how would I make a long underscore? For example, Name _______ Signature _______
41
votes
3answers
79k 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 ...
39
votes
2answers
19k views

Crossing out sentences

I had to cross out a sentence and I did it the following way, which is kinda sloppy. $ ...
35
votes
2answers
15k 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 ...
34
votes
1answer
13k 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 ...
33
votes
3answers
2k 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. ...
31
votes
2answers
9k 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 ...
30
votes
3answers
3k 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 ...
28
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 ...
27
votes
4answers
1k 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 ...
25
votes
1answer
5k 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.
22
votes
2answers
3k 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 ...
21
votes
1answer
4k views

Closer underline

I am currently using \underline{...} to underline text. However, I want the underline to be closer to the letters (as of now, there's too much whitespace between the letters and the line). Is there ...
17
votes
2answers
213 views

Why is unskip not working here?

I'm trying to define a macro to be used as follows: \usepackage[normalem]{ulem} \newcommand{\thesis}[1]{\uline{\ignorespaces #1\unskip}} % underlining required by school - I know, I know % later... ...
16
votes
3answers
1k 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
913 views

Underline at the same level

I want to underline alpha's and beta's, but at the same level. I mean, I don't want but . Maybe there is already a command that make it but I couldn't find it. The second image was obtained with the ...
16
votes
1answer
2k views

Underlined links with hyperref possible?

How can I have underlined links with hyperref? That means how to configure hyperref not to change the color of the printout but use underlined active links which are completely transparent in print. ...
14
votes
5answers
6k 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 ...
14
votes
3answers
635 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 ...
14
votes
1answer
2k 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 ...
14
votes
1answer
523 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} ...
13
votes
1answer
14k 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 ...
13
votes
1answer
503 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
3answers
1k views

'Wordart' in (La)TeX

Would it be feasible to try to reproduce something like the image below in TeX? I just wanted to ask the advice of some experts before I invested too much time trying. I've already messed around with ...
12
votes
1answer
9k 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} ___________ //
12
votes
2answers
816 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 ...
12
votes
1answer
260 views

Text reflection effect

How could I achieve with LaTeX a trendy text reflection effect as the following one?
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 ...
12
votes
1answer
528 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 ...
12
votes
2answers
519 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 ...
11
votes
3answers
2k 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} ...
11
votes
1answer
2k 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 ...
10
votes
3answers
774 views

Two-lined text (text over text)

Is it possible to have some words written over each other in normal text? The use case is that it should be used instead of slashes where a sentence talks about two similar options. A short example: ...
10
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
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 ...
9
votes
1answer
270 views

Connecting nodes in every page

I would like to create a document where section titles are tikz nodes, and i would like to connect the nodes in every page with a path starting from the top righth corner of the page in every page. Is ...
9
votes
2answers
2k 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 ...
9
votes
2answers
289 views

Extending underline up to the right side

I need to create command that underlines some given text that takes several lines. And the underline of the last line should be extended up to the right side of page. When I need just to underline ...
9
votes
2answers
149 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 ...
9
votes
1answer
198 views

How move each line in text

In steganography is an interesting way of conveying information. Each line is either raised by a few points or not raised at all. How will cause it to subsequent lines of text have been raised about ...
9
votes
1answer
159 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 ...
8
votes
1answer
6k views

Changing background color of text in Latex

How can I make change a text background in LaTeX? For example using Latex code \textsc{Extra Curricular Achievements}\\ I get However, I want the background of this heading to be changed so that ...
8
votes
2answers
394 views

How to illustrate a drawing with text and two decorations

How can I create a drawing like this: The stuff in red are only explications (with "middle" I meant middle of the drawing representing the spiral) and should not be drawn. Tikz would be best, since ...
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} ...
8
votes
2answers
1k views

TikZ: position text along path

I'm trying to position a piece of text at a certain position along a multi-part path. Here's what I have been trying so far. \documentclass[tikz]{standalone} \usepackage{tikz} ...
8
votes
1answer
4k views

Paragraph header

I want to include an indented, underlined, upper- and lowercase paragraph heading ending with a period in my document instead of using \subsubsection. Anyone who knows how I can define the command for ...
8
votes
2answers
213 views

Underarrow with smaller depth, shorter minimum length, and smaller arrow head?

I am using underarrows from amsmath to decorate messages with their direction, as in $\underleftarrow{\mathsf{msg}}$ () and $\underrightarrow{\mathsf{msg}}$ (). I am looking for a better underarrow, ...
7
votes
2answers
238 views

Breakable fill-in blanks

What is a good way to create blank space (preferably, underlined -- it is to be filled in by hand when document is printed) that takes up all the remaining space on a line. The blank space may appear ...