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
1answer
37 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} ...
2
votes
2answers
61 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
0
votes
1answer
32 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 ...
3
votes
4answers
114 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 ...
6
votes
3answers
151 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}{} ...
1
vote
2answers
39 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]{...
1
vote
1answer
23 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 ...
0
votes
1answer
37 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 ...
6
votes
2answers
528 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 ...
0
votes
0answers
37 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
65 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
443 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
150 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
325 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
76 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}
6
votes
1answer
242 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
412 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
32 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, ...
8
votes
3answers
815 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
77 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
1k 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
153 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
91 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
58 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
209 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
383 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
113 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
75 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
35 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
45 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
118 views

Matrix Equation Text over text in braces

Hi, how can I write this equation in Latex?
3
votes
1answer
200 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 ...
12
votes
2answers
1k 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
178 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
107 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....
5
votes
1answer
3k 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 ...
3
votes
1answer
513 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
2k 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
205 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
163 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
191 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
3
votes
1answer
578 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
195 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
202 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
178 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
319 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 ...
2
votes
2answers
121 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
357 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
349 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{...

1
2 3 4 5