Questions tagged [text-manipulation]

about using TeX's programming capabilities to modify input text.

Filter by
Sorted by
Tagged with
0 votes
1 answer
39 views

line breaks when using lemma or proof

Sorry for the long MWE but it is only the last part going wrong, but I was unsure if its my preamble making it go wrong, the text in my lemma or proofs runs off the page and I can't see the end of the ...
Paul A's user avatar
  • 933
2 votes
1 answer
36 views

How do I keep text from rotating when rotating an op amp in circuitikz?

As you can see when running the MWE, the minus sign of the op amp is vertical. What is the easiest way to make it horizontal? \documentclass{standalone} \usepackage{circuitikz} \begin{document} \...
jomurmiranda's user avatar
1 vote
2 answers
64 views

How to align text and equation in two columns?

What I need to do is this: I would like to have those two columns separated with the formulas aligned under. The result I got is disappointing though. I altro tried with the align command but it ...
Henry's user avatar
  • 378
0 votes
2 answers
69 views

textit{} and textbf{} are not working and there are multiple errors which I don't know how to resolve [closed]

This is the code, % !TEX TS-program = lualatex \documentclass[12pt]{article} \usepackage[paperwidth=9in, paperheight=14in]{geometry} \usepackage{graphicx} \usepackage{amssymb} \usepackage{amsmath}...
Nick's user avatar
  • 9
1 vote
2 answers
736 views

Simple way to position a text anywhere on a beamer frame

This might be a very easy question but somehow I have failed to find a good answer for. I wish to put a text, e.g., word/math/string, etc. on a specific location on a Beamer frame. This is probably ...
Fraïssé's user avatar
  • 3,119
2 votes
1 answer
346 views

How to convert a dash (--/---) to a minus (-) for Applicant Tracking Systems only?

I want to optimize my CV to be ATS-friendly. Modern Applicant Tracking Systems use programmable stupidity to parse resumes and decide, whether present them to a human reader. To my surprise I ...
abukaj's user avatar
  • 147
0 votes
1 answer
119 views

Beamer: Have text box automatically shrink text size in sty file

I am in the process of creating a custom beamer theme, and in the beamerinnertheme.sty file I am trying to define the title, author, and date text boxes to automatically shrink their text to fit a pre-...
David G.'s user avatar
  • 205
0 votes
0 answers
571 views

How to fix text in my svg file?

I am working in Overleaf with a memoir document class. Recently I have already inserted successfully in my document an svg image that comes from a simple download on internet. This time I had to draw ...
FueledByPizza's user avatar
2 votes
0 answers
122 views

LaTeX method for outputting raw text

Is there a method in LaTeX typing that would enable to output the exact text between a statement of beginning and statement of end of such a method, including special characters and new lines? ...
Janko N.'s user avatar
5 votes
1 answer
81 views

Reproduce a Snippet from a Japanese Learning book (using rcases?)

I use Anki, which supports generating LATEX images for usage during study sessions. I would like to reproduce this snippet of text: I have been trying to drink from the firehose that is Latex for 2 ...
MamboDee's user avatar
0 votes
1 answer
186 views

What is the usefulness of the package "erewhon"?

I'm using a preset overleaf project for MSc thesis and I found that the package erewhon produces numbers that do not align with the text. In my thesis I have many numbers that are not necessarily ...
g_don's user avatar
  • 779
3 votes
1 answer
99 views

ConTeXt: Replace matching substring with macro output

Background Looking to replace a string within a document with an equivalent string created using a macro. For example, I'd like to replace "McAnulty" with "\Mac Anulty". Problem ...
Dave Jarvis's user avatar
  • 11.7k
0 votes
1 answer
686 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
1 answer
66 views

I want Texts on this Colour-Filled Tikz

I want to be able to write simple text, maths and reach text in this colour-filled tikz image. I want to be able to choose text colours, align the text and be able to shadow the text within the ...
Daniel James's user avatar
1 vote
1 answer
97 views

How to center imagine but not caption and cite?

For my paper I need to add the source for the images I use. to achive that I have my formating like this \begin{center} \includegraphics[scale=0.4]{Images/ci-cd-flow-desktop_edited_0.png} \end{...
Mahmoud's user avatar
  • 11
0 votes
1 answer
137 views

How to format the text line?

I am using the listings package. In the output line I have a long line with quotes (') and space (_). One can see the two problem: The line is out the margin. The line does not include the quites and ...
Nick's user avatar
  • 415
1 vote
1 answer
97 views

How to Proportionately Adjust Vertical Spacing Between the Lines in a Scaled Minipage Environment

Consider the code \documentclass[openany]{book} \usepackage{scalefnt} \usepackage{lipsum} \usepackage{color} \begin{document} \thispagestyle{empty} \LARGE \lipsum[19] \vspace*{20pt} \begin{center} ...
DDS's user avatar
  • 8,796
1 vote
1 answer
77 views

How to replace cell entries in a table and keep the changed entries till all the rows in the table have appeared

I want to animate a table as shown in the attached image. First I want the entries of first row to be in normal (without bold). Then at the next click, I want the selected entries to get bold. Then ...
mathslove's user avatar
  • 141
0 votes
0 answers
133 views

Embed a SVG file in a tex source file

I would like to generate latex documents containing SVG pictures with a specific document generator. For specific reasons, I would like to embed these pictures directly inside the latex source file to ...
JeanJouX's user avatar
  • 621
1 vote
1 answer
64 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
1 vote
1 answer
91 views

Transform \textquotedbl quotes to curly quotes

Background I use pdfLaTeX and I have applied \textquotedbl throughout a long text and I am wondering if there is an efficient way to transform all straight quotes to curly ones by modifying \...
kexxcream's user avatar
  • 2,805
5 votes
3 answers
340 views

Add hyphens to mobile number

I want to add my mobile number in a pdf line being generated using LaTeX how I want it to render: (+91) 7887-61x-xxx usage: \mobile{91}{788761xxxx} % Usage: \mobile{<countrycode><mobile ...
theSwapnilSaste's user avatar
1 vote
1 answer
635 views

Define command to comment text

I would like to create a command \comment{} which would not compile anything inside of { }. Why would I not use % or \begin{comment} bla bla \end{comment} from the \usepackage{comment}? Because I want ...
Babado's user avatar
  • 207
2 votes
3 answers
78 views

Ordering vertically aligned words into a paragraph

I am compiling a text in Latin and need to have the pronunciation guide beneath each word. The actual word will be in a larger font size than the guide beneath it, so that the guide never is longer ...
Senrab's user avatar
  • 123
1 vote
1 answer
64 views

Automatically register arguments a command is used with

I am wondering whether it is possible to create some sort of set to keep track of elements in latex. One intended usage would be to automatically generate a list of arguments that have been passed to ...
mrclng's user avatar
  • 187
7 votes
3 answers
2k views

Base64 encoding in LaTeX?

How can we encode some text/string using Base64 encoding in LaTeX? or any alternative solution? For example, the Base64 encoding of string Latex is bGF0ZXg=. Here's a representation of what I want to ...
ZEESHAN's user avatar
  • 247
0 votes
0 answers
99 views

Enumerate environment inside scalebox

I want to reduce the text below to a scale 0.5: \lipsum[1-1] \begin{enumerate} \item \lipsum[1-2] \item \lipsum[2] \end{enumerate} However, When I use \scalebox{0.5}{ \lipsum[1-1] \begin{...
Angelo Aliano Filho's user avatar
0 votes
1 answer
195 views

Equation with cases and numbering and including text

I am trying to create cases in the equation with numbering to individual cases and trying to push the text which is in \mbox{...} to the right. But I wasn't able to succeed. I request your kind help ...
user3454353's user avatar
2 votes
1 answer
38 views

How to apply a linebreak inside a sentence

I want to write down a claim (i.e. a sentence), which consists of three important elements. The first part (the left hand side of the claim) is supposed to be a very short statement, which I would ...
Zest's user avatar
  • 319
0 votes
2 answers
562 views

How do I create a text box that will have a fixed size and could be filled with text after the pdf is compiled?

I'm sure this has been answered already but I couldn't find it. Because I have no idea how it's called I don't know what tag to use, this may have nothing to do with text manipulation. I want to make ...
Toma's user avatar
  • 494
0 votes
1 answer
59 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
1 vote
1 answer
526 views

Adding text moves part of the previous page text to new one

I have an itemize which perfectly fits to the end of the page. However when I add more text after it, last bullet of itemize is moved to the next page with the new text. Is there a way how to prevent ...
eXPRESS's user avatar
  • 113
0 votes
1 answer
249 views

Normal Text font under math mode

I want to write symbols in the math mode in the normal font as the text. A picture for the same is attached. The code for the math mode is as follows. '''$14,\mu m {\times} 95 , {\mu} m$''' I want the ...
Mohit Singh's user avatar
2 votes
3 answers
732 views

How to create a fake ToC on a title page?

I wrote a large book of 2000 pages, so I have to split it into 4 or 5 volumes of about 500 pages (250 paper sheets), for printing and paper binding issues. Each volume would have its own front title ...
Cham's user avatar
  • 2,242
3 votes
1 answer
128 views

alternating text position in latex

I am writing my PhD thesis and I want to give the following format to my document (see image). I appreciate any guidance provided. I have not found any help in the standard "text positioning ...
Ignacio Borge Durán's user avatar
2 votes
2 answers
360 views

Float text around a figure

I need some help from anyone of you who knows how to code in LaTex. I want to include an image in the left side of the paper and in the right remaining part I want to write some text. I actually ...
Kledis Ahmetaj's user avatar
0 votes
1 answer
2k views

How to use displaystyle for all maths expressions in text? [duplicate]

I would like to display all inline maths expressions in displaystyle, but without typing \displaystyle{...} everytime I insert a math expression into a block of text. How can we do that at the ...
Cham's user avatar
  • 2,242
1 vote
1 answer
112 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
  • 8,796
7 votes
4 answers
977 views

Simple implementation of the abs function by getting rid of or by consuming the "-"?

I wish to build a (simple) implementation of abs. I tried \FPabs but I get a lot of zeros after the decimal point. I could get rid of them with the FP round function, but I don't know the number of ...
user1771398's user avatar
1 vote
1 answer
277 views

Outline text in plain XeTeX?

I use plain XeTeX. I've been asked to include a shamrock character in a typeset document (which I've found at Unicode 2618), but only in outline. The examples in the excellent PST-Text package (page ...
John in Oxford's user avatar
0 votes
0 answers
451 views

text not fitting to column width

I have used a template for a 4 page double column format. It works for all the other pages up to the point shown on the screenshot (end of page 3 to page 4) , and I have no idea what has triggered ...
Sara Ismail-Sutton's user avatar
2 votes
1 answer
274 views

How to get a shorter hyphen in text mode?

I'm creating a title page with large fonts, in French, and I really hate the usual hyphen for such a big title. So I'm looking for a shorter hyphen, something elegant and simple. Here's a MWE ...
Cham's user avatar
  • 2,242
0 votes
0 answers
106 views

How to hide the labels of the formulas in the final output pdf?

I want to hide the labels of the math formulas and equations in the output pdf, what is related command to do that? (see the picture) The followings are the packages I use in my \documentclass[12pt]{...
Red shoes's user avatar
  • 223
5 votes
3 answers
741 views

Why does \ifx consider \MakeUppercase{1} and \MakeLowercase{1} different?

In this minimal example, an uppercase number is different of the same lowercase number. Why? \documentclass{memoir} \begin{document} \def\testone{\MakeUppercase{1}} \def\testtwo{\MakeLowercase{1}} \...
EVANDSON DANTAS's user avatar
1 vote
0 answers
47 views

If I am only printing text (characters, bullets, indentation), is there an advantage to using LaTeX?

I need to create a PDF with entries from a database (using C# .NET if it matters, but C# is not required). The final document does have to be physically printed, but the printer does not get LaTeX, ...
johnny's user avatar
  • 233
2 votes
2 answers
404 views

Custom text alignment

Is there an option to define custom alignment for text? For example, to make your own \begin{flushright}...\end{flushright}? In particular, I want to have an alignment (for text) that it is centred ...
Jim's user avatar
  • 535
1 vote
1 answer
86 views

text mining and cross referencing

I want to make an adjacency matrix with citations. I want to conduct make an index of 130 words and search 130 papers against the 130 words. Manually this is a long process. But I want to automate ...
Mihan's user avatar
  • 127
1 vote
1 answer
101 views

Character replacement does not work correctly

I am replacing a character. It works fine if I give that character as input directly. But when that character is extracted from a string, and then fed in to command for the reassignment it does not ...
Girish's user avatar
  • 167
0 votes
2 answers
1k views

Writing text side-by-side [closed]

Can someone please help me figure out how to write two columns of text side by side for just a short region of a page in LaTeX? As a MWE please see the attached pic. Edit : I just want to write two ...
Nitin's user avatar
  • 295
3 votes
5 answers
358 views

separating characters in a string

I want to write a macro that will separate the characters in a given string with some condition. If I have a string abcdef<ghi>jkl<mn>opqrs I want to access each character as a string for ...
Girish's user avatar
  • 167

1
2 3 4 5