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

learn more… | top users | synonyms

15
votes
1answer
220 views

numbered ornament as section title

I am trying to recreate a kind of numbered ornament in my section labels. The section number comes from a specific font, then is transformed (rotated) and then placed within an image. For example, ...
-1
votes
1answer
72 views

how can I highlight text with the following effect

how can I highlight text with the following effect? The darkness of the color indicates the importance of the text.
2
votes
1answer
33 views

Adding text outlines to the Section command

I am learning LaTeX and I want to add a outline to the text of the section title and was wondering if there is a nice way to adjust the command to include the outline in the section command rather ...
2
votes
2answers
49 views

Striking thru a tabular row in LaTeX

Neither ulem nor soul packages allow striking thru a whole row in a tabular environment, eg: \sout{1,3-Cyclopentadiene & 161.39 & 148.19 & 155.65 & 153.43 & 154.7 ...
1
vote
0answers
22 views

Caption in \lstinputlisting environment gives keyval error

I am trying to include the table shown in my example below (shown in the verbatim environment - but saved in a text file), but I get a keyval error stating that "Package keyval Error: $r2v$. ...
8
votes
0answers
99 views

Drawing lines along text baselines

I'm not very familiar with the world of TeX and its flavors, and I'm having trouble evaluating whether it fits my needs before I dive into it. TeX and its ilk can draw horizontal line strokes, but can ...
2
votes
0answers
33 views

Is there a general term for subscripts and superscripts? [closed]

Given subscript and superscript, and maybe on the left hand side as well, what is the general term for such features? And what are they called on the left hand side? And how do you do this?
3
votes
1answer
56 views

How to Strikethrough Subtitle in Beamer? [duplicate]

I wish to write a subtitle in a beamer presentation crossed over with a line (strike-through). I tried the followings: \documentclass[11pt]{beamer} \usetheme{Rochester} \usepackage[utf8]{inputenc} ...
2
votes
3answers
140 views

how to maintain text justification after forcing a new line

How to break a line of text (\newline or \\) and still maintain justification for its texts?
0
votes
0answers
62 views

How I can write on a % of page?

I would like know how I can write on a percentage of page, namely, if I have text (for examen equation) in the left part of my document, how could I put text in the right part of that region of my ...
3
votes
2answers
86 views

In Beamer, how can one have strikethrough text in the author setting (defined by a command) in the preamble?

I have some beamer slides for which many commands are defined in the preamble before the document environment. The author setting is defined by an author variable which contains strikethrough text ...
32
votes
6answers
1k views

Underline just words, not the space between them

I need to typeset a sentence such that just the words are underlined, and not the space between the words. Using the \underline will include the spaces between the words. I could do it with something ...
4
votes
2answers
187 views

Trying to hide blocks of text in beamer

Motivation: giving lectures using beamer, I show all the details of solutions to examples, but in the handout I would like to hide these. students fill out the missing text during lectures, which ...
1
vote
3answers
55 views

Make whole line of a table stroke through

Related to Make first row of table all bold, however the solution seems not to be transferable to striking text through (see Strikethrough command that affects all following text, like \bfseries). So ...
3
votes
0answers
69 views

Why does \IEEEPARstart have conflict with \textcolor?

MWE: \documentclass[journal,twoside]{IEEEtran} \usepackage{color} \usepackage{amsmath} \begin{document} \textcolor{red}{ \IEEEPARstart{L}orem ipsum dolor sit amet, consectetur adipiscing elit. ...
1
vote
0answers
82 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
92 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
73 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 ...
1
vote
1answer
32 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} ...
2
votes
3answers
1k 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
149 views

How do you underline

How do you underline text? Also how do you underline math?
4
votes
1answer
104 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
244 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???
3
votes
1answer
160 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 ...
6
votes
1answer
274 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} ...
5
votes
2answers
206 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 ...
5
votes
1answer
153 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) ...
0
votes
0answers
54 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} ...
15
votes
1answer
484 views

Text reflection effect

How could I achieve with LaTeX a trendy text reflection effect as the following one?
1
vote
1answer
98 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
559 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 ...
7
votes
2answers
489 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
137 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 ...
4
votes
1answer
2k 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
95 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
497 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
2k 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 ...
0
votes
3answers
687 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?
3
votes
1answer
156 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
92 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 ...
6
votes
2answers
463 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 ...
7
votes
2answers
399 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 ...
10
votes
2answers
440 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
373 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 ...
1
vote
0answers
86 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
72 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 ...
4
votes
1answer
193 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 ...
3
votes
2answers
586 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
347 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... ...