Generalcustom strikethrough/xout/juxtaposing characters?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
increpare
Posts: 3
Joined: Fri Dec 05, 2008 2:18 am

custom strikethrough/xout/juxtaposing characters?

Post by increpare »

I'm trying to typeset some Lacanian matheme related stuff, and one thing I find myself requiring, but not being able to figure out how to do, is to draw a diagonal slash through a letter (possibly group of letters). Ideally I'd be looking for some way to produce things like numbers 240 and 241 here a diagonal strike through a word of any length, but I could also make do with some way of juxtaposing '/' on any letter I guess.

Even just with single characters, xout from the ulem package doesn't quite work, as it doesn't slash on a letter-by-letter basis, but based on the width of the text. I looked at the corresponding code, but couldn't really figure it out.

So, any advice/suggestions (would be much appreciated)?

Cheers,

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

custom strikethrough/xout/juxtaposing characters?

Post by phi »

Hello,
have a look at the cancel package, it is able to strike out any part of a formula.
increpare
Posts: 3
Joined: Fri Dec 05, 2008 2:18 am

Re: custom strikethrough/xout/juxtaposing characters?

Post by increpare »

Ah! Beautiful; just what I was looking for.

Thanks,
Post Reply