Skip to main content

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
1 answer
37 views

I want to widen all the text inside my documents [duplicate]

So I tried this, but I am looking for any one-liner to increase the letter spacing of all the text inside the documents a little bit, without manually using textls. Is it possible? \documentclass{...
Janak Mallik's user avatar
0 votes
0 answers
39 views

Why don't simple \newcommand shorthand produce the same result? [duplicate]

When I was working on a note for linear algebra, I noticed that I used \textbf{v} a lot, so I put \newcommand{\vecv}{\textbf{v}} at the top of the document. But I noticed that when using it in ...
DaVarPhi's user avatar
  • 199
4 votes
2 answers
243 views

What is the "default font family" analogue of `\mathbf`, `\mathit`, `\mathrm`, etc.?

I was recently editing a MO post in which a user wanted to name a property depending on a real parameter $c$. The name was originally typeset as $\bf (P_c)$, but, of course, this puts the $c$, as ...
LSpice's user avatar
  • 1,468
1 vote
3 answers
82 views

How do I tag certain text to distinguish it, but that can also easily be toggled off to exclude from printing?

I've prepared law school course notes/outlines in LaTeX (using Overleaf). I have a school course in which I'll be tested on both the general law in a certain subject across most U.S. states, and also ...
T.C.'s user avatar
  • 111
4 votes
3 answers
361 views

How can one add a directional gradient outer glow effect on text in LaTeX?

How can one achieve the following effect (sometimes called a "(directional) gradient outer glow") in LaTeX? Here are two further examples of this style I found on Google: Related: Here's ...
Emily's user avatar
  • 221
2 votes
1 answer
116 views

How to connect lists with vertical lines?

So I want to write my notes where there are lists connected with vertical lines. I want the exact format displayed as in the below photo where in the nested lists the "main" line is ...
albin kabashi's user avatar
1 vote
1 answer
194 views

How can I write text with curved arrows over and underneath

I want to make a notation for a cycle ABC. Currently I'm using regular arrows over and underneath like in this example: \documentclass{article} \usepackage{amsmath} \newcommand{\cycle}[1]{ \...
Vahiel's user avatar
  • 61
0 votes
1 answer
65 views

Long text inside/outside the Venn diagram

I need to draw a Venn diagram with long text inside sectors. My attempt is borrowed from an example: \documentclass{article} \usepackage{graphicx} \usepackage{tikz} \usetikzlibrary{shapes,backgrounds} ...
Nick's user avatar
  • 415
0 votes
1 answer
58 views

Fit text in face of folding polyhedron with tikz

After a good amount of trial and error, I have managed to fit the text I wanted to face 1 of this polyhedron: \documentclass{article} \usepackage[margin=0.5cm]{geometry} \usepackage{tikz} \begin{...
jjmerelo's user avatar
  • 210
3 votes
1 answer
100 views

Hiding sections, but keep references

I'd like to selectively print parts of an article. What I want is to hide the part between the "XX", without changing anything else. How can I do it? The following is what I'm trying: \...
user304539's user avatar
0 votes
0 answers
34 views

Trying to colorize `...` content in markdown, I have used \texttt in a command. It's not perfect: -- are displayed joined, like a single minus sign [duplicate]

I've attempted to create a command so that a ` --namespace=<mon-namespace> ` in markdown would produce the same fixed font, but colorized changing this: qui est accessible en ajoutant `--...
Marc Le Bihan's user avatar
0 votes
1 answer
110 views

Line Break Inside Tikz Text-Decorations

Using the text along path decoration option of tikz, I would like to be able to do line breaks in the text. Obviously, standard commands such as \\ do not work. Right now, I am using two different ...
Vincent Krebs's user avatar
1 vote
1 answer
111 views

Decorated path plus filled node absolutely positioned

I want to combine an absolutely positioned (current page) node with a decorated path. The decorated text shall appear in the node, so that this unit can be positioned freely. Is that possible? So far ...
gizeh's user avatar
  • 491
0 votes
1 answer
1k views

How to add text to the \leftrightharpoons symbol in equations?

Following directly on from the question https://tex.stackexchange.com/questions/454010/left-right-harpoon-arrow-with-text/651690#651690" and referring to the images below (@egreg's image in the ...
Hendrix13's user avatar
  • 105
1 vote
2 answers
82 views

How to create the text embellishments presented in Sturm's sanitize-umlaut package documentation

Prof. Dr. Thomas F. Sturm included some interesting enhancement of the text in his documentation for the sanitize-umlaut package that I'd like to duplicate in my LaTeX document. I've tried to re-...
RosesBouquet's user avatar
0 votes
0 answers
73 views

Write Text Along Sectors Paths

I Have an organogram in which I have divided each department as a sector of a circle (written in red-coloured text) and the division(s) of each department is/are written within the same sector of a ...
Daniel James's user avatar
1 vote
2 answers
242 views

Tikz: Align Text Within Each Sector of A Circle

What I Want I want the texts to be within each sector and not beyond. I want the texts to align at the top and not at the centre. What I Have Here is \documentclass[border=1cm]{standalone} \...
Daniel James's user avatar
1 vote
1 answer
96 views

Align Text Along Sectors Paths

I have 15 departments in my organization and wish to get a tikz representation of them all thus I sector a circle into 15 wishing to label each department in each sector and units of each department ...
Daniel James's user avatar
1 vote
0 answers
341 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,...
lay lay's user avatar
  • 131
0 votes
1 answer
613 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/...
Montasir Ahmed's user avatar
1 vote
1 answer
66 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 ...
gizeh's user avatar
  • 491
1 vote
1 answer
66 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 ...
Paweł Chmolewski's user avatar
2 votes
1 answer
261 views

How to create text box as shown in the Figure?

How to create a text box as shown in the Figure?
relinquere's user avatar
16 votes
3 answers
677 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 ...
Palmy's user avatar
  • 325
2 votes
1 answer
230 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\...
DDS's user avatar
  • 9,768
1 vote
0 answers
101 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. ...
Waseem's user avatar
  • 97
0 votes
0 answers
130 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 ...
lyl's user avatar
  • 2,747
1 vote
1 answer
396 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 ...
lyl's user avatar
  • 2,747
2 votes
0 answers
64 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 ...
lyl's user avatar
  • 2,747
2 votes
1 answer
218 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
1 vote
0 answers
71 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 ...
Hans Dampf's user avatar
0 votes
1 answer
69 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 ...
Jielpe's user avatar
  • 3
5 votes
2 answers
3k 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 ...
Josef Bobek's user avatar
0 votes
1 answer
187 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,...
Cham's user avatar
  • 2,328
3 votes
2 answers
63 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, ...
Cham's user avatar
  • 2,328
2 votes
2 answers
814 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 ...
Myshkin's user avatar
  • 669
1 vote
1 answer
117 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 ...
DDS's user avatar
  • 9,768
1 vote
1 answer
456 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
4k 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\}$.
Saikat's user avatar
  • 161
3 votes
0 answers
64 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 ...
theorarius's user avatar
1 vote
1 answer
273 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} \...
facetus's user avatar
  • 857
0 votes
1 answer
187 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]{...
Cham's user avatar
  • 2,328
2 votes
0 answers
50 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 ...
Chester's user avatar
  • 21
2 votes
1 answer
141 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 .
Red shoes's user avatar
  • 253
1 vote
0 answers
55 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 ...
Showkat Ali's user avatar
1 vote
1 answer
284 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} &...
koeradoera's user avatar
4 votes
2 answers
5k 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
Hao S's user avatar
  • 878
0 votes
1 answer
141 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 ...
Murg's user avatar
  • 160
4 votes
4 answers
2k 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 ...
uma's user avatar
  • 277
7 votes
3 answers
279 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}{} ...
Jason S's user avatar
  • 2,880

1
2 3 4 5 6