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

learn more… | top users | synonyms

1
vote
0answers
26 views

Strikethrough command that affects all following text, like \bfseries

Q&As like Strikethrough text, provide guidance on how to strike through text with ulem's \sout{...} or soul's \st{...}. Is there a readymade alternative that behaves like \bfseries and affects all ...
3
votes
1answer
45 views

Problem with \pdfliteral

MWE \documentclass[a4paper,11pt]{article} \begin{document} NAME: \hfill SURNAME: \hfill \pdfliteral {q 1 Tr [.1 .4]0 d .1 w}SIGN\pdfliteral{q}\\ This text is not black. \end{document} And ...
0
votes
0answers
25 views

How to revert corroupted or unredable Latex file back to original form

While compiling my Latex file (.tex) on Ubuntu power shutdown and now file looks like unreadable text. How to revert it back to original form. While opening the file i am getting this error After ...
0
votes
3answers
366 views

how a \framebox will appear around the text on a click

I use some framebox for some sentences. But I want it to appear in the same slide after next click. How can a frame appear around the text on a click in the presentation?
63
votes
7answers
32k views

Long underscore in LaTeX

In LaTeX, how would I make a long underscore? For example, Name _______ Signature _______
1
vote
1answer
29 views

Centering text at the top of the header

I'm using the following to create this header: \documentclass[12pt]{article} \usepackage[left=0.5cm, right=1.1cm, top=-1cm, bottom=2cm]{geometry} \usepackage{marvosym} % for icons \usepackage{url} ...
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... ~~~~~~~~~~~| |~~~~~~~~~~~~~~~~~~~| ...
11
votes
2answers
12k 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 ...
3
votes
3answers
1k views

How to create a keybutton in latex? [duplicate]

Possible Duplicate: Keyboard Font for LaTeX So the result looks like: Press F5 for help. I've checked the fancybox package, but it only includes three patterns: doublebox, ovalbox, ...
2
votes
3answers
401 views

Placing a decorative separator in text [duplicate]

How do I put a decorative separator (like three asterisks or other symbols) in a text document so as to separate two sections of text, but not in a way that depends on LateX \section commands? Such ...
1
vote
0answers
95 views

How do you underline

How do you underline text? Also how do you underline math?
4
votes
1answer
71 views

tikz: \pgfkeysvalueof and text color!

This tikz code automatically output a node with the y value on the plot... However, how can I colour the text black ??? (now it's blue) \definecolor{mycolor1}{rgb}{0.20810,0.16630,0.52920}% ...
0
votes
0answers
17 views

\textit command reports weird error [duplicate]

I have following MWE: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[color=red,opacity=0.1,contents={}]{background} \usepackage{hyperref} \usepackage{indentfirst} ...
1
vote
1answer
114 views

leadsto with text

I know that: \[ A \xleftarrow{\text{this way}} B \xrightarrow[\text{or that way}]{ } C \] will produce: Is there a way to have an arrow with text, but with the style of a \leadsto???
6
votes
1answer
552 views

Outline text using TrueType fonts

I'd like to write outlined text. Here is a minimal example, what I'd like to achieve. \documentclass[a4paper]{minimal} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{xcolor} ...
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 ...
3
votes
1answer
86 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 ...
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} ...
15
votes
1answer
402 views

Text reflection effect

How could I achieve with LaTeX a trendy text reflection effect as the following one?
5
votes
2answers
165 views

References as text decorations (using multiple files)

I would like to draw a picture in which a line connects two points. Along this line, there should be a text "x", where x is the number of a specific equation in another document. Unfortunately, I am ...
6
votes
1answer
189 views

Why can't contour text along curve path?

I want to use a font with a white contour but doesn't seems to work. \usepackage{color} \usepackage[outline]{contour} \usepackage{tikz} \usetikzlibrary{decorations.text} \begin{document} ...
4
votes
1answer
161 views

“Text along path” decorations take absurdly long to be compiled for non-default font sizes

I'm trying to use a text along path decoration in tikz-pgf which causes absurd loading times, sometimes far longer than an hour if I want to print a whopping two (!!) words in for example \large font ...
0
votes
0answers
50 views

Help with text format

I need to prevent a word from splitting into two lines of text. For example, the word "polinómico" splits in "po" and "linómico" when i compile the code. \documentclass{article} ...
17
votes
2answers
3k 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. ...
5
votes
1answer
120 views

How do I use the `every character` key in tikz decorations?

Assuming I have the following MWE: \documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations.text} \begin{document} \begin{tikzpicture}[node distance=5cm] \node[draw, rectangle] (a) ...
6
votes
2answers
374 views

Vectorized Text Effects/Transformations: Stretching & Expanding (WordArt)

I'd like to apply a text transformation similar to what the Inkscape extension 'Modify Path -> Envelope' does within LaTeX: In-source documentation of the envelope extension: This extension ...
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 ...
1
vote
1answer
69 views

Place braces around page numbers

I'd like to have my page numbers go from this: 2 to this { 2 }. Basically, I just want to add some decoration to the page numbers throughout a book. Is there an easy way to do this? Thanks for your ...
1
vote
2answers
380 views

The text in pdf is not smooth [duplicate]

I am using TeXstudio to edit Latex and create pdf files. The text is not smooth in the pdf files created by TeXstudio in my computer. When I zoom in, it will be But if I use my friend's computer to ...
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 ...
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.
7
votes
2answers
345 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 ...
5
votes
1answer
111 views

move text box outside the textwidth

I used tcolorbox to make a semi-transparent box as explained in this link. What I need is to offset this box from the center of the texwidth, this means crossing a bit the border of the textwidth. Is ...
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. ...
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 ...
7
votes
1answer
90 views

Keeping URLs clickable while decorating?

I want URLs in the rendered PDF to appear as follows: <http://website/blah> I have declared the URLS in my document using the 'url' package, in the form: \url{https://tex.stackexchange.com/} ...
6
votes
2answers
385 views

How to add text around/below a node using tikz-qtree?

I read many examples in tikz-qtree, but I didn't find one which illustrates how to add text around/below a node using qtree. Anyone knows how to draw the following tree using tikz-qtree?
5
votes
2answers
935 views

\textlf{} for light font weight – how common?

In the allrunes.sty documentation (which uses Metafont), I’ve recently seen the \textlf macro for the first time. It selects a light font and therefore accompanies the frequent command \textbf and its ...
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 ...
3
votes
1answer
138 views

Why can't I get a huge font? (text along curved path)

Here's my current document: \documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations.text} \usepackage[landscape]{geometry} \begin{document} \begin{center} ...
6
votes
1answer
86 views

Overlapping hboxes

How can I change the following macro to get a rule in hbox 2 that is just as wide as the text in hbox 1 and remove parameter #2? \def\m#1#2{ \leavevmode \hbox to#2{ \hbox ...
7
votes
2answers
342 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 ...
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 ...
10
votes
2answers
308 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 ...
1
vote
0answers
72 views

Border/frame for special text in latex

I'm writing about hash strings like this: "1DGooBsCL8eBHRq4UHPwiYbvu2Weiuw837" etc. I would like to do some border box or decorations for hash strings. Is it possible in latex?
0
votes
1answer
58 views

Draw cirle/point in text

I want to (re-)construct circles and points within a paragraph (green). It looks like the circle is not the letter o. In the lower part of the image I tried to highlight that the symbols are not ...
3
votes
2answers
456 views

Underline the section title text in table of contents

Hopefully this is easy. I would like to underline the text of the section title in the table of contents (with the section number removed). Similar to this picture, with the red line where the ...
17
votes
2answers
305 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... ...
4
votes
1answer
944 views

How to draw wavy line in the sentence

How to draw wavy line in Latex simply in the sentence line of an article paragraph. I know there is a underline \uwave comment, but I like to have just wavy line itself, without anything above. I am ...
5
votes
4answers
390 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 ...