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
0
votes
0answers
22 views

How to make textured text in LaTeX [duplicate]

In CSS you can make textured text like this: How can you do this same effect easily in LaTeX (XeLaTeX)? \documentclass[a4paper,12pt]{article} \usepackage{fontspec} \usepackage{geometry} \usepackage{...
0
votes
1answer
55 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.
3
votes
1answer
151 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 ...
3
votes
1answer
119 views

ConTeXt: Squiggly Underbar

Is it possible to create a squiggly underline? Like this, but wavy: \setupwhitespace[big] \starttext \underbar{\samplefile{knuth}} \stoptext
3
votes
2answers
290 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 ...
1
vote
1answer
63 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}
5
votes
1answer
154 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 ...
5
votes
3answers
1k 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...
4
votes
1answer
230 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{...
1
vote
0answers
26 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, ...
7
votes
3answers
656 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?
0
votes
0answers
65 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://...
12
votes
2answers
829 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 ...
0
votes
1answer
104 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 ...
0
votes
0answers
68 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 ...
0
votes
0answers
45 views

How to preserve text wrapping from WinShell to GitHub [duplicate]

I am using WinShell as editor for my Latex text. I use GiHub to share my test with others. My problem is in my WinShell the text is wrapped correctly. But in GiHub, the text appears not the same. The ...
1
vote
1answer
119 views

Changing text in Console output

I am finding that I am writing more and more packages/commands for other people these days and have started writing some nice default utility commands to use. However, there is always the concern for ...
2
votes
0answers
240 views

SVG-image colour dependent on text colour, without external tools?

I have a decorative SVG-figure, and I want to change just one variable, to alter both text- and SVG-colour Working in Sharelatex, using pdfLatex to compile SVG to retain its scaling properties MWE ...
2
votes
1answer
78 views

Special underline/Partial box

I'm not exactly sure what to call this, but I'd like to know how to replicate the text decoration shown under the $n$ in the image. It seems a hooked underline or similar to, a partial box, but only ...
1
vote
0answers
66 views

Text editor highlighting in a verbatim-like environment? [closed]

This might be a long shot, but I'm planning to include a roughly 300-line block of python code as an appendix to my undergraduate thesis, and I was wondering if there's a way to make it display with ...
1
vote
1answer
24 views

Disabling changes and todonotes packages: Text is still being coloured

The problem arose after the solution of : Colouring text doen't work in newcommand definition I am trying to define a new \note command based on todonotes and changes packages but I'm having ...
4
votes
1answer
42 views

Colouring text doen't work in newcommand definition

I am trying to define a new \note command based on todonotes and changes packages but I'm having troubles with the optional selected text styling. I want it to be coloured based on the changes ID ...
0
votes
1answer
110 views

Matrix Equation Text over text in braces

Hi, how can I write this equation in Latex?
3
votes
1answer
142 views

Tikz calendar formatting, anchoring text (was small caps, text allignment, and color alternation)

I have kludged a fix to the small caps and alternating color requirement for the day headings. My code now reflects those changes, and I describe them at the end of this question for those who may be ...
10
votes
2answers
794 views

How to make every line in a bubble like chat conversations?

I've had a plain chat conversation and need display them similarly to how they are designed in Messenger. Since this is a long conversation, I need a method to do it at once. I know this might be ...
1
vote
1answer
149 views

How can I create this ornament section?

or I would like to create a pattern for each section to display a line in the line of the question number, and below the right aligned, score of the question. How can I create this ornament in \...
0
votes
2answers
78 views

How can I highlight paragraphs by adding a symbol to the left of them?

I would like to add a triangle to highlight important paragraphs in my document. Especially, the triangle should not change the existing text flow. Example before: Paragraph one. Paragraph two....
4
votes
1answer
2k views

Outline text characters

In order to improve readability of some texts, I'd like to put a kind of "eyeliner" around my letters (actually, that's how memes manage to get readable texts on any picture). Here is an exemple of ...
2
votes
1answer
353 views

How to enclosure a text block into big square brackets?

everybody. I need to enclosure a text block into big square brackets. Something like this (I need to replicate it, more or less): I've read that it could be possible with tikz but I don't know ...
0
votes
1answer
1k views

How to explicitly set “justify” for paragraph?

Is there a way to explicitly set "justify" for paragraph in latex or xelatex? (some tricks or packages??)
1
vote
1answer
176 views

How can I automatically make a specific phrase or string of characters (e.g. QQQ) turn red in text?

I often add specific nonsense blurbs such as QQQ to mark regions that need to be checked/edited by other people. Is there a way to automatically give these a different colour so they stand out more in ...
0
votes
2answers
133 views

How do I get a custom enumeration?

I want to get the following "1.", "2." and "3." The color is "RoyalBlue" from the package xcolor, option [dvipnames], and I also want a custom font for it (other than Computer Modern). Also some more ...
0
votes
0answers
127 views

How can we write text along the circular path in latex? [duplicate]

Can somebody explain me the basics how can we do that? Thanking you in advance
2
votes
1answer
405 views

Add square box around each words

My system OS is MacOS I use Xelatex The MWE is \documentclass[12pt]{article} \usepackage{fontspec,xunicode} \defaultfontfeatures{Mapping=tex-text} \XeTeXlinebreaklocale "zh" \XeTeXlinebreakskip = ...
3
votes
0answers
183 views

How to write a word within some text using Latex

is it possible in latex to write a word within some text either by introducing a white figure and then wrapping the text around it or some other maybe more clever way. I want something like this, ...
2
votes
1answer
125 views

Can I make a piece of text ignore formatting changes applied by its outer context?

I have a command which formats a piece of text a certain way. Simple example: \begincommand{\myformat}[1]{\texttt{#1}} I want to be able to place this command inside other text formatting commmands ...
1
vote
1answer
114 views

LetterSequence formatting when starting a paragraph

Ok so I know about the \lettrine package and using it to adjust the first letter of a paragraph. What I am interested in is adjusting the first three or four letters of the first word of a paragraph. ...
0
votes
0answers
287 views

Underlining in LyX Line that Contains Displaystyle

Is it possible to underline a line in LyX that contains both LyX regular text, and things written in math-mode, such that the whole line would have underline positioned in the default distance, but ...
1
vote
1answer
80 views

How to customise \title to include a shadow effect on a paper?

The shadowtext package allows you to use the command \shadowtext to create a shadow behind the letters like so \documentclass{paper} \usepackage{shadowtext} \title{\shadowtext{Title}} \begin{...
2
votes
1answer
304 views

Surround decoration with pgfornament

I apologize in advance if these questions have been asked and answered before. I am trying to decorate the word exercice in the \newenvironment{exo} with tikz package for example like this. I use ...
4
votes
1answer
292 views

add text along arc

I created the following image with MS Visio: MWE Now I want to create it with Tikz. Therefor I already got an MWE to this: \documentclass[margin=10pt]{standalone} \usepackage{tikz} \definecolor{...
3
votes
1answer
298 views

Problem with math text and decorations [tikz]

I want to write some math text arround a circle, it works fine for math formulas but when I tried to write \varSigma and \varPi from amsmath package, it doesn't work. How can I fix this? code \...
1
vote
1answer
119 views

Partition the box'ed text items!

After the Let's get fancy: Text like tag?, I am thinking that it would be nice to have a sequence of boxes, let's say 5 in number and be able to partition them in the first 2 and the rest 3, for ...
1
vote
1answer
96 views

On the easier embedding of certain jokes on texts?

I just found the following in a facebook page Called "Academia Obscura": Which is a piece of the lyrics in Rick Astley: Never Gonna Give You Up. Obviously, this could be crafted with a wise and ...
1
vote
1answer
424 views

overlapping underline

I would like to underline all occurrences of a factor that appears in a text, e. g. all occurrences of aba in text=abaababa If I use underline, I won't see clearly the three occurrences so what I ...
3
votes
2answers
451 views

tcolorbox with fancy text

Driven from Let's get fancy: Text like tag? , I wrote this code: \documentclass{article} \usepackage{tcolorbox} \definecolor{mycolor}{rgb}{0.122, 0.435, 0.698} \newtcbox{\mybox}{nobeforeafter,...
10
votes
5answers
1k views

Let's get fancy: Text like tag?

How to make some text appear with a background like it appears in tags, for example the tags in Stackoverflow?
4
votes
2answers
181 views

superscripting a dot which is enclosed in square brackets

This question is about how to extend the nice answer here by @egreg https://tex.stackexchange.com/a/304078/103130 to the following case (which is close to what I need except that the brackets should ...
4
votes
2answers
505 views

putting square brackets around the underline of a letter (in math mode)

I would be very grateful for some help. \documentclass{article} \begin{document} $ a,\underline{b},\underline{c},d $ \end{document} I need to enclose the underline under the letter $b$ in small ...
3
votes
1answer
654 views

How does this partial-string color-highlighting code work?

I'm using the awesome-cv class, which highlights the first three letters of the section heading like so: The code that produces this effect looks like this: \RequirePackage{xcolor} \RequirePackage{...