Questions tagged [text]
May refer to: 1) Text & Talk, 2) Text File, 3) Textbook, 4) Religious Text or 5) Writing.
686
questions
0
votes
1
answer
51
views
Is it possible to save a notepad text (.txt) file to a Latex (.tex) file?
I am trying to compile and test a file in Latex/Domino using a text file in Notepad that has a script/code in it. Is it possible to convert the notepad txt file to tex somehow? Could a txt file be ...
2
votes
1
answer
75
views
How would you format to be cleaner and explain the steps better? Do I have any no no's in my latex?
How would you format this to be cleaner and explain the steps better? Do I have any no no's in my latex? Pretty much complete newbie in latex and want to start moving my notes into it but it seems ...
0
votes
0
answers
35
views
Page Breaking Text Box
I'm currently writing a book and need to be able to have a text box that sits to the right of the main text and will split across pages. I've tried a couple of things, including minipage, wrapfigure, ...
0
votes
1
answer
30
views
Text with multiple lines on top left of page (without fancyhdr)
I would like to add text to the top left of my document (without fancyhdr!) and be able to create different lines in the text.
My current MWE does not allow new lines (\ and \newline do not work ...
0
votes
1
answer
41
views
LaTeX CV: how to contain text in a ``box?''
I have this:
\documentclass[a4paper,11pt]{article}
%-----------------------------------------------------------
\usepackage[top=0.75in, bottom=0.75in, left=0.5in, right=0.75in]{geometry}
\usepackage{...
0
votes
1
answer
76
views
Change my Forest figure
Question: How can I achieve figure 2 from figure 1 ?
MWE:
\documentclass{article}
\usepackage{tikz}
\usepackage{lscape}
\usepackage[edges]{forest}
\forestset{
calign to midchild or edge midpoint/....
2
votes
1
answer
70
views
Horizental gradient colored text with a function
I want to create this horizental gradient coloring for text
and here the code to do it for each letter but I want to have a function to do this. function should get text, and 2 colors. note it should ...
1
vote
0
answers
47
views
Increasing default font size?
I've been working on a book recently and I had to increase the paper size to fit the pdf cover page but now all of the text is super tiny. So sorry if this is a dumb question, but how can I scale up ...
0
votes
1
answer
33
views
Vertically center text in table [duplicate]
How is it possible to vertically-center the text of the cells?
\documentclass{article}
\usepackage[a4paper, total={6in, 8in}]{geometry}
\usepackage{graphicx}
\begin{document}
\begin{tabular}{|c|c|c|...
1
vote
1
answer
34
views
How to align some lines to a specific alignment, and some other lines to another specific alignment, where some lines has justified text?
See the following:
First line has the question "What is wrong ...?", it starts from the specified margin in latex, that is 2 cm.
Then 2nd, 4th, 6th, 8th, and 10th lines all start from same ...
1
vote
1
answer
39
views
Adding Text to the White Space of a Cropped Image
Consider the code:
\documentclass{book}
\usepackage{pstricks}
\usepackage{graphicx}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{pspicture}
% Paddings.
\PreviewBorder=1cm\relax
\...
1
vote
1
answer
32
views
Text Next to Rotated Table
I generated a table
\documentclass{article}
\usepackage{float}
\usepackage{geometry}
\usepackage[pdftex]{graphicx, color}
\usepackage[pdfa,hidelinks]{hyperref}
\usepackage{cleveref}
\usepackage{...
1
vote
2
answers
51
views
how to obtain the first 30(or 50) char of a variable content [duplicate]
I try to explain in other way what I need.
\documentclass{article}
\usepackage{graphicx} % Required for inserting images
\newcommand{\TaI}{bla bla bla bla bla bla bla bla bla. Bla bla bla bla, bla ...
0
votes
1
answer
43
views
Text Alignment Issues in the Column an rows of the tables
Hi all I have a challenge once more that I am not seeing no matter how I try or what I tried.
I tried understanding the documentation here https://www.overleaf.com/learn/latex/Tables#...
1
vote
1
answer
41
views
On Positioning Text in a Pspicture with \rput
The following code generates a pspicture which I want to use as the basis for the back cover of a book:
\documentclass[12pt,onecolumn,openany,final]{book}
\usepackage[hmargin=0in,vmargin=0in,...
3
votes
2
answers
66
views
How to get the "normal" text Euro sign in siunix using \qty
I want to have the same Euro sign in the \qty{...}{...} options as in the text. MWE:
\documentclass{scrbook}
\usepackage{amsmath,amssymb}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\...
0
votes
1
answer
29
views
How to align text to the left side of a page an equation to the middle, while both reside on the same line?
In case the title isn't clear: I need a bit of text and an equation (for other cases, in the provided picture I had other text) to reside on the same exact line, while having the text be aligned to ...
0
votes
1
answer
44
views
Fill the different colors in the circles and add some text
Question: I want to fill different colors in all four circles. Further how can I add some text inside the circles (see the attached figure)
I am looking for this figure
MWE
\documentclass[12pt]{...
1
vote
1
answer
39
views
Table text align issue
Hoping someone might be able to help me fix this table to ensure the text is right aligned and is a little more readable.
\documentclass[]{interact}
\usepackage{tabularx}
\usepackage{epstopdf}% To ...
0
votes
2
answers
57
views
tikzpicture moves the text
This is a follow up question of Overlap order among text, \backgroundcolor and \tikz.
In the following example, how to make the text of lipsum start at the top left corner of the page?
Indeed, it ...
1
vote
1
answer
61
views
Overlap order among text, \backgroundcolor and \tikz
I have the following document layout, composed of a 2-column text (here only the left column has some text), a gray background stripe over the left column of the document and a yellow frame at te ...
1
vote
1
answer
35
views
Add a long text in a longtblr spanning the entire width of the table
Given the following table:
\documentclass{article}
\usepackage[a4paper,margin=1mm]{geometry}
\usepackage{lipsum}
\usepackage{tabularray}
\begin{document}
\begin{longtblr}
[presep=-4pt,postsep=...
-3
votes
1
answer
106
views
how to add some text in the preamble [closed]
this is my preamble:
\documentclass[a3paper,12pt,portrait]{article}
\usepackage[Italian]{babel} %--setta regole lingua italiana
\usepackage[ddmmyyyy]{datetime} %--setta data formato IT
\...
0
votes
1
answer
35
views
How do I align two rows of characters inside a tikzpicture node, when the second line contains mainly whitespace?
I'm using tikzpicture to draw diagrams/flowcharts in my dissertation and I have encountered an alignment problem inside a node. The node contains two rows, the top row is the variable names and the ...
1
vote
1
answer
65
views
is it possible to connect two text box in different page
I would "create" a feature (like indesign do). I mean: I have a box A on page 1 and a box B (or page). I copy some text, I put it on box A, but the text is much more that the A box text can ...
0
votes
0
answers
30
views
let text attached to graphic
I'm trying to made a first page of journal. I've used this code:
\documentclass[12pt,portrait]{article}
\usepackage{graphicx}
\usepackage{blindtext}
\usepackage{hyperref} %--- per i link
\usepackage{...
0
votes
0
answers
56
views
How to increase font size inside a table without affecting other table properties?
I am currently working on a LaTeX document that includes a large table. I need to increase the font size of the text inside this table to enhance readability, but I want to ensure that all other ...
2
votes
0
answers
79
views
Document in two languages
I would like to write a document in two languages (French and Esperanto) with these constraints :
on the same page, I would like on one side (the left one) my text written in French and on the other ...
0
votes
1
answer
75
views
page with 15 text box
I don't know if this is correct:
I need a page (vertical A3) that contain 5 vertical rule each line is composed by 3 column. I need to insert text on this box.
How can I obtain that?
Thank you
Renato
...
0
votes
0
answers
35
views
Placement of text in a table [duplicate]
So I'm making a table which will include figures, it'll look something like below
\begin{table}[H]
\centering
\begin{tabular}{|c||c|c|c|c|c|c|} \hline
Voortbewegen & \includegraphics[scale=0.3]{...
1
vote
1
answer
73
views
Problems with a huge equation in math enviromental
how are you?
I need a help: I have searched in many places for, in my opinion, try to solve a problem that occurs to me in math mode in my msc thesis.
I have to put these equations in same line:
\...
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 ...
3
votes
1
answer
140
views
Vertical spacing in tcolorbox
I have provided a code for a simple textbox in LaTeX below. I have also attached a screenshot of the output, next to a similar text box compiled in Microsoft Word. I would like the LaTeX textbox to be ...
0
votes
0
answers
26
views
How to change vertical spacing between lines in text environment, but NOT between lines in an equation type environment
I know there is the setspace package with onehalfspacing etc, but when I use that command (even worse for doublespacing), it changes the space between EVERYTHING, equations included, and I end up with ...
1
vote
1
answer
70
views
aligning typewriter text in different rows
I am putting together a table with letters, and numbers below the letters to track progress.
\documentclass{article}
\usepackage{xcolor, placeins, cmbright}
\usepackage[margin=0.5in]{geometry}
\begin{...
0
votes
1
answer
47
views
Latex alignment in the form-like for text in the header
###### Research in YYYY
Title--------: On the bla bla.
Speaker----: ……………………………………….
Room------: Zoom
How can we make something like this in latex? (I want to omit string "----" before : but ...
0
votes
0
answers
133
views
Seeking Automated Text Wrapping Around Figures in LaTeX: struggling with wrapfig
I would like to have figures with automatic text wrapping around them. I am trying to keep having to tweak figure locations to minimum. I am also not allowed to use two columns for this document.
...
1
vote
1
answer
63
views
Neutralize Color-Coding Commands without Actually Deleting Them
If I wanted, say, to nullify all the footnote commands in a document without actually deleting them, I could use the command \renewcommand\footnote[2][]{}. (See, for example, Looking for a Way to ...
3
votes
1
answer
162
views
How to Get Bold Text with TikZ Decorations?
MWE:
\documentclass{article}
\usepackage{geometry}
\usepackage{tikz}
\usetikzlibrary{decorations.text}
\tikzset{mydecor/.style 2 args={decoration={text along path,
text align={left indent=2em},...
0
votes
1
answer
90
views
vertical text alignment in minipages
I typed the following code into my Tex file:
\noindent\begin{minipage}[t]{27pt}6)\end{minipage}\begin{minipage}{6.25in}\includegraphics{image}
\end{minipage}
Actual Behavior: below left. Desired ...
0
votes
1
answer
183
views
latex generated pdf with multi line text puts newline after each line
I have multiline text in an \item of {itemize} or in {section} and creating a pdf of the document. When I copy the text from the pdf, there is a newline character at the end of each line. I am ...
1
vote
1
answer
97
views
How to make some text span both columns of a two-column table
I have been trying to duplicate a table with equations found on page 7 of this document. I have a problem typesetting the last few rows on that page. For instance, I am not quite sure how the header ...
2
votes
1
answer
253
views
How smaller can we go in LaTeX
I want to visualise a Big TikZ figure and I need to have very small font for it to fit into the picture. 1000-10000 times smaller than \tiny command how do I go about doing this if that's even ...
1
vote
0
answers
81
views
Bracket with multiple lines [closed]
The errors of my codes with feedback: Missing $ inserted
\documentclass{article}
\usepackage{amsmath}
\begin{document}
$[x_0: x_1: x_2]\mapsto$
\begin{cases}
$[x_0: x_1]$ & \text{ ...
5
votes
4
answers
487
views
how can I write an inline hexadecimal value? [duplicate]
How do I write an inline "\0x" without having LaTeX put each value on a new line?
"\0x" in C programing identifies a hexadecimal value. I would like to write an inline string of ...
1
vote
0
answers
57
views
Apostrophes In Latex [duplicate]
in my text apostrophes are showing as an ascent. The only way I found to input apostrophes is by the command \textquotesingle. But, common, the text will be horrible to read and write needing to input ...
0
votes
1
answer
51
views
How to get math font larger than Huge in node? [duplicate]
I need to add text to a pdf, but the largest \Huge is not big enough, so I change the font size according to question's answer, but I found that this command does not work for math fonts. You can see ...
2
votes
2
answers
311
views
How to remove italic lettering from the proof, definition and remark environments?
I have the following document:
\documentclass{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\newtheorem{thm}{Theorem}[section]
\newtheorem{cor}[thm]{Corollary}
\newtheorem{lem}[thm]{Lemma}
\...
3
votes
2
answers
103
views
How to remove excess vertical space between tiny text in a tabular?
Excess vertical space in plain text
Following MWE typesets text in \normalsize vs. \tiny and \huge (this last size just for information).
\documentclass{report}
\begin{document}
Comment ça va ça va ça ...
0
votes
1
answer
84
views
Put text within equation centered
I want to put text between the two equations, but have no idea to make this better, which means that I want there is each space on the both sides of "or".
The codes:
\begin{align*}
I = (0,...