Questions tagged [text-decorations]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
68 views

Highlighted words in LaTeX disappear in Pandoc

I wrote my thesis in LaTeX, but my supervisor wants a word document. So I used pandoc to convert it. Now I got my thesis back and had to mark the changes. I found this code (see below) to achieve this,...
user avatar
  • 121
0 votes
1 answer
87 views

How can I decorate latex documents like this one?

I have very little knowledge of latex. I use overleaf for writing documents. recently, I saw a very nicely decorated template in overleaf, and here it is https://www.overleaf.com/latex/templates/...
user avatar
1 vote
1 answer
35 views

How to draw a circular "arc"ed double distance arrow with correctly positioned tips and text with graphics between the double distance lines?

I have a problem with the position of an arrow tip when drawing a circular double distance arrow. Problem seems to be the use of library bending or not. If not, partly correctly positioned tips, but ...
user avatar
  • 579
1 vote
1 answer
35 views

Latex .tex file input highlighted, listed, code

I have the latex document: \begin{document} Document introduction. \onecolumn \section*{That's how the code looks like} \begin{algorithm} \input{z.tex} \begin{algorithm} \end{document} And I ...
user avatar
2 votes
1 answer
175 views

How to create text box as shown in the Figure?

How to create a text box as shown in the Figure?
user avatar
16 votes
3 answers
477 views

Chat bubbles with picture and name attached

I'd like to modify the code from (the improved version of the top voted answer of) this post to make the sequence of speech bubbles look more like a chat window. Specifically, I'd like to include a ...
user avatar
  • 315
2 votes
1 answer
80 views

Changing the Text Color in a Shadowed Title

I am trying to add some shading to a title by modifying code presented in Drop shadow for text in PGF/Beamer Consider the MWE \documentclass{article} \usepackage{tikz} \usepackage{xcolor} \newcommand\...
user avatar
  • 4,775
1 vote
0 answers
51 views

Words are not automatically breaking into two lines with "-" [closed]

I am using this (LaTeX2e Proceedings Templates, http://www.icsoc.org/) but some words are not breaking down into two parts with "-" through out the paper. For example, see attached image. ...
user avatar
  • 99
0 votes
0 answers
40 views

How to make a picture work as switch in \switchocg of the package ocgx2

I tried to hide something in my article and switch it on/off by the macro \switchocg from the package ocgx2. It works all right when the button face is general text. However, when I tried including a ...
user avatar
  • 2,159
1 vote
1 answer
125 views

How to hide text content with line break \\ by \blackout

I'd like to hide some text which contain line breaks by \\(or \newline) with the macro \blackout frome the package censor, and failed--the hidden part has no line breaks at all, please see the ...
user avatar
  • 2,159
1 vote
0 answers
45 views

Hide matters in article

I want to hide something in a article. Hidden contents may be large enough to span muli-line multi-paragrph, and even muli-page. I find a solution by mathspasha from How to replace a large block of ...
user avatar
  • 2,159
1 vote
1 answer
61 views

How to globally apply all texts as the argument of a command?

I'm trying to make an entire document to look like handwrote. For that I tried both the Cthulhu and handlatex. Both of them require the following usage: \command{here the text to be applied.} Which ...
user avatar
  • 25
1 vote
0 answers
57 views

Set Color Gradient as "Font Color" [duplicate]

Hello Ladies and Gentlemen, I want to have the "font color" of a (short) text set to a color gradient. I already found a solution here and here and that solution also at the tikz manual on ...
user avatar
0 votes
1 answer
49 views

Adding text under words (to count words) and automatically

In order to count easily words in a text, i'd like to display for each word its "number", Context : I'm teaching my students to copy a text and to evaluate them I count how many words they ...
user avatar
  • 3
2 votes
2 answers
336 views

How do I vertically shift letter in the text

I'd like to type the word TRENTo, as the acronym of something. But I'd need the letter "R" to be shifted down a little bit... Something similar to as letter "E" in the \LaTeX ...
user avatar
0 votes
1 answer
124 views

Can LaTeX do non-printable graphical elements?

Is there a way to make some graphical elements to be non-printable, i.e. prints as white, while staying fully visible on screen? Here's a MWE to play and have fun with: \documentclass[11pt,letterpaper,...
user avatar
  • 2,024
3 votes
2 answers
54 views

Problem with vertical text in inner margins

I'm having troubles in setting the copyright notice and vertical title right, with the following code. I need to fix two things: The vertical text should stay inside their gray zone (as it is, ...
user avatar
  • 2,024
3 votes
2 answers
288 views

How to make clickable text

How can I make clickable words colored? For example, if you could look here in the abstract on page-v, http://mural.maynoothuniversity.ie/4213/1/KumarShravan_PhDThesis2012.pdf And, what color has he ...
user avatar
  • 247
2 votes
1 answer
80 views

Blotting Out the Curve Used to Bend Text in a Tikzpicture

This is a follow-up to a question I posted yesterday: How to Bend Words to Conform to the Arching Pages of an Open Book Image After receiving no answer to the above question, I have since been able to ...
user avatar
  • 4,775
1 vote
1 answer
200 views

Include “contour” package into matlplotlib and set title using it

I transfer the initial post from stackoverflow since one said it is rather a question for Tex exchange (I am going do delete the initial one). Here is this post : In a matplotlib script, I try to ...
user avatar
1 vote
1 answer
503 views

How do I strikethrough in \text{} inside inline math mode

I want to strike out the word "prime" in the given below text. How can I do it? $\mathfrak{P}:=\{\text{set of all prime ideals contained in} \ A\setminus S\}$.
user avatar
  • 141
3 votes
0 answers
58 views

End paragraph with upside-down triangular alignment? [duplicate]

In Renaissance typography, one often sees paragraphs end with a triangular "fade out", e.g. Is there a clever way to do this in LaTeX? You can get an approximation with manual line breaks ...
user avatar
1 vote
1 answer
119 views

Pgfplots, put decorative arrow center at the specified position

I would like to draw an arrow at the vertical part of a parametric curve. Consider, for example, the following trochoida. \documentclass{scrbook} \usepackage{tikz} \usepackage{pgfplots} \...
user avatar
  • 743
0 votes
1 answer
96 views

Ornaments command move text

I'm experiencing a glitch with a decoration command, which moves a bit the text on the page. Here's a stripped down version of the code I'm trying to fix: \documentclass[11pt,letterpaper,twoside]{...
user avatar
  • 2,024
2 votes
0 answers
49 views

Triangular Layout of text in Latex [duplicate]

My apologies if this is a basic question. In Latex, is it possible to set text in a triangular shape, as was often done at the end of chapters in Early Modern typography? I imagine it would be easy ...
user avatar
  • 21
1 vote
1 answer
39 views

How to change the color of reference numbers in my dissertation?

The color of numbers for references is green . I need to change it to black. Any help is massively appreciated .
user avatar
  • 193
1 vote
0 answers
48 views

How to reverse (or, mirror) texts in latex? [duplicate]

I wanna know if there's any way to reverse texts in latex so that I can use it to print on tracing paper for press printing. For good understanding my question, please see the graphic have I attached ...
user avatar
1 vote
1 answer
102 views

how to shift text right in a tabular data

This is code in a simple document I am writing abbreviations. \begin{tabular}{l l} \textbf{VM} & Virtual Machine\\ \textbf{AWS} & Amazon Web Services\\ \textbf{GCP} &...
user avatar
3 votes
2 answers
515 views

How do cross out text in math mode?

Since \sout does not work in math mode, what can I use instead? I don't want the diagonal strikeout like with cancelf
user avatar
  • 670
0 votes
1 answer
47 views

How to change the size of all types of text?

I am fairly new to latex, but when I started writing my document, I noticed that the text was very small (from the normal text I used in paragraphs to the text I used to name different sections). My ...
user avatar
  • 140
4 votes
4 answers
568 views

How to write this kind of colour text in LaTeX?

I need to add following text to my latex document. currently I created some image and add it to document. I need to know some simple way to adding it as text , to my latest project. An additional ...
user avatar
  • 277
6 votes
3 answers
214 views

How to spread out the letters a little bit when using text decoration?

The default text-decoration letters look a little bit squished together: I can manually make them the way I want by changing gather to g{\kern1pt a}{\kern1pt t}{\kern1pt h}{\kern1pt e}{\kern1pt r}{} ...
user avatar
  • 2,512
1 vote
2 answers
58 views

Using a path twice (draw and then decorate)

Is there any way to reuse a path for both drawing and text decorating? I want to avoid repeating the (6.8cm,-1.7) -- (9.5cm,-1.7) arc (-90:0:1.5) -- (11cm,1.5) below. \documentclass[border=1mm]{...
user avatar
  • 2,512
1 vote
1 answer
36 views

How to add a strikethough or slash over the "Cal" of "CalParam"

There are two types of parameters: calibrated and non-calibrated. I use "CalParam" as a shorthand to denote a calibrated parameter. To denote a non-calibrated paramter, I want to add a strikethrough ...
user avatar
0 votes
1 answer
109 views

Text along the edges of a page

So I have been wondering how to run text along the perimeter of a page so that it wraps around and rotates accordingly: text runs normally along the upper age, then `turns right' at the upper right ...
user avatar
10 votes
2 answers
4k views

How to write a vertically centered asterisk in LaTex in a normal text?

In the exercises of the C++PL (4th Edition) I see that it is possible to write, for example, (*1). How can I achieve this in LaTeX? When I try the same sequence of characters as I just did before (in ...
user avatar
  • 203
0 votes
1 answer
76 views

How to write this text? [duplicate]

v a l i d a t i o n I need to write the word as vertically. I use overleaf.
user avatar
3 votes
1 answer
1k views

Decrease spacing between double bars [duplicate]

I'd like double bars over my X, that I can get using these overline symbols \[\overline{\overline{X}}\] I also tried the bar symbols, but they're misaligned over the X. \[\bar{\bar{X}}\] What I ...
user avatar
4 votes
1 answer
278 views

ConTeXt: Squiggly Underbar

Is it possible to create a squiggly underline? Like this, but wavy: \setupwhitespace[big] \starttext \underbar{\samplefile{knuth}} \stoptext
user avatar
  • 769
3 votes
2 answers
436 views

Drop cap theorem style

I would like a theoremstyle-like definition which induces the first letter of the theorem-head to be drop-capped. I do not intend to use counters, at all, with this style. I fully intend to use other ...
user avatar
1 vote
1 answer
108 views

Implementing subscript text within regular text (math equation) [duplicate]

How do you add subscript text within a text string e.g. I would like my the output to have the max as subscript \text{AC generator emf_max}
user avatar
7 votes
1 answer
581 views

Center align text decoration along path

I am trying to duplicate the node highlighted in green but along a curved path. It mostly works, but when I attempt to apply the text align=center effect to the decoration, I get Dimension too large....
user avatar
5 votes
3 answers
2k views

How can I write upside down real numbers symbol ($\mathbb{R}$)?

How can I write $\mathbb{R}$ upside down? And, in general, \mathbb letters...
user avatar
4 votes
1 answer
986 views

How do I use mark indices with position in tikz?

I am trying to decorate a curve with some arrowheads, there is a way which you could specify the percentage position with steps % !TEX TS-program = xelatex \documentclass[UTF8]{article} \usepackage{...
user avatar
  • 1,856
1 vote
1 answer
392 views

Text on one page is different color than other pages

I'm writing an article and as I was editing it I noticed that sometime within the last half hour the text on one of the pages had turned blue. I wasn't doing anything other than adding/removing text, ...
user avatar
10 votes
3 answers
1k views

How to make double overline with less vertical displacement

\overline{\overline{ABC}} produces a double bar over ABC, but it takes up too much vertical space. How can I make the top bar closer to the bar below it?
user avatar
0 votes
0 answers
132 views

Decoration of problem sets

Did anyone have an experience with formatting the problem set for home assignments? I'm looking for results like in attached picture: I found the similar result for a "caption" here: https://...
user avatar
16 votes
2 answers
5k views

How to improve machine-readability of a CV created in LaTeX with moderncv?

Some background story. I recently send my CV to a free online evaluation. The reply showed that although the document looked visually appealing, it was bad for ATS (Applicant Tracking System). These ...
user avatar
  • 554
1 vote
1 answer
527 views

\texttt does not break in two lines

I use \texttt to format some text. I need to break it into two lines if it exceeds the line width. I use \justify but it does not always work. The script below shows two examples one works well and ...
user avatar
0 votes
0 answers
117 views

How to enable hard text wrapping in WinShell Latex editor

I need to enforce hard text wrapping (i.e. new line after some number of words, say 100). I found that the warpping mode is enabled (Options-> Wrap Mode) but it is soft (insert new line for display ...
user avatar
  • 255

1
2 3 4 5