Questions tagged [text-decorations]
Applying effects to text such as underlining, striking through, highlighting, shadows or other geometric transformations
257
questions
2
votes
1
answer
71
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 ...
1
vote
1
answer
52
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]{
\...
0
votes
0
answers
24
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}
...
0
votes
1
answer
44
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{...
3
votes
1
answer
35
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:
\...
0
votes
0
answers
33
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 `--...
0
votes
1
answer
59
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 ...
1
vote
1
answer
108
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 ...
0
votes
0
answers
26
views
Text Decoration w. addplot and data from CSV
I made a range of colorplots from CSVs to which I would like to add pre-computed level curves (without the use of additional libraries). I have pasted an MWE below (without colorplots). The code below ...
0
votes
1
answer
391
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 ...
1
vote
2
answers
78
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-...
0
votes
0
answers
59
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 ...
0
votes
2
answers
168
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}
\...
1
vote
1
answer
87
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 ...
1
vote
0
answers
242
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,...
0
votes
1
answer
334
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/...
1
vote
1
answer
57
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 ...
1
vote
1
answer
56
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 ...
2
votes
1
answer
216
views
How to create text box as shown in the Figure?
How to create a text box as shown in the Figure?
16
votes
3
answers
580
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 ...
2
votes
1
answer
160
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\...
1
vote
0
answers
94
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.
...
0
votes
0
answers
94
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 ...
1
vote
1
answer
306
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 ...
2
votes
0
answers
61
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 ...
1
vote
1
answer
162
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 ...
1
vote
0
answers
65
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 ...
0
votes
1
answer
56
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 ...
4
votes
2
answers
2k
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 ...
0
votes
1
answer
172
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,...
3
votes
2
answers
59
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, ...
2
votes
2
answers
578
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 ...
2
votes
1
answer
102
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 ...
1
vote
1
answer
383
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 ...
1
vote
1
answer
3k
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\}$.
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 ...
1
vote
1
answer
216
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}
\...
0
votes
1
answer
149
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]{...
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 ...
2
votes
1
answer
104
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 .
1
vote
0
answers
53
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 ...
1
vote
1
answer
244
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} &...
4
votes
2
answers
3k
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
1
answer
118
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 ...
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 ...
6
votes
3
answers
258
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
2
answers
143
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
1
answer
45
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
1
answer
260
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 ...
12
votes
2
answers
6k
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 ...