Questions tagged [text]
May refer to: 1) Text & Talk, 2) Text File, 3) Textbook, 4) Religious Text or 5) Writing.
541
questions
0
votes
1
answer
50
views
How to place tables side-by-side by using "\minipage"?
I hope my final table to be like:
| SUBTBL1 | SUBTBL2 |
| SUBTBL3 | SUBTBL4 |
and it is, but part of the table overlaps with the text, what should i do?
Here is my preamble :
\documentclass[...
0
votes
1
answer
17
views
Acronym placement in text and period
I would like to define, an acronym that I can recycle in my text. E.g.,
\def\JB {\selectfont\texttt{J.~}-\texttt{Bond}}}
The problem is that,
In the beginning or in the middle of the sentence, I'd ...
2
votes
1
answer
72
views
Overlapping text and not working "\newpage" when using reledmac & reledpar packages
Original Question
I have a booklet written with the package matrita. Now, I would like to extend that booklet to two languages, on facing pages (left pages in one language and right pages in another ...
0
votes
2
answers
64
views
How to collect texts and place all them together?
I am trying to create two commands:
A command \collect that stores a string/text.
A command \callcollection that call all these stored texts placed before the command (without any configuration, just ...
0
votes
1
answer
42
views
Drawing a Multi-Column Table with Latex
I am trying to draw exactly the same table below (Please pay attention to the vertical text at the very left):
How can implement such a thing in LaTeX?
Thanks!
2
votes
2
answers
120
views
L3 programming: \text_titlecase only seems to map properly when sequence is explicitly declared
I'm trying to perform the following conversion using the l3 interface:
my_figure_title -> My Figure Title
After some trial and error with sequences and strings, here's what I came up with:
\...
2
votes
2
answers
56
views
Any command like \xlongequal for subsets?
I want to write text above/below the subset/subset equal sign. Is there any way that I can do it without making an abomination? i.e. a long text above/below a small symbol!
1
vote
3
answers
41
views
How can I vertically align an equation within a multirow table?
I'm building quite an involved table for one of my research papers, combining long equations and diagrams. Please can someone help with the vertical alignment of the right hand side columns to be ...
2
votes
1
answer
96
views
Writing text in equation
I can correctly write equation containing text, in latex equation editor online.
So:
\text{Micro-averaged Precision} = \frac{TP_{total}}{TP_{total} + FP_{total}}
Gives:
In Overleaf, this is ...
2
votes
1
answer
56
views
Pointing arrows from two sentences to a word [duplicate]
I am using beamer to create slides. I am not sure how to generate arrows from two sentences merging and pointing towards a word as shown in the below image.
-2
votes
1
answer
57
views
How can I insert the table exactly in the place where I want it? [duplicate]
I wanna place up my table directly into text. But it places in random places, not exactly where I type the table code like this:
\begin{table}[h!]
\centering
\begin{tabular}{|c|c|c|}
...
\...
0
votes
0
answers
34
views
Text goes over page end
Somehow suddenly the text of my work is going over the rim of the page. It never does that before. Maybe a \usepackage is missed. I could not find the answer so far.
Usually it looks like this.
\...
0
votes
1
answer
78
views
Text keeps compressing or expanding when splitting text with ```\\\\```
I highly doubt that this question hasn't been asked before, but I haven't managed to use the right search words to find it.
In case it matters I'm writing in Overleaf and use \documentclass{article}.
...
0
votes
2
answers
35
views
text underscore groups with caption
I am trying to achieve what I have called the underscore groups with caption. I don't know the exact name and I have tried to search on the internet for this, without any success.
Here is an image ...
1
vote
0
answers
68
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
28
views
Insert Picture beginning from the margin
the template of my university has a 2,5cm margin for text.
My Picture should have 0.1mm from margin. ( for example )
Google says, it is possible with minimap, but my code didn't help.
How can I "...
0
votes
0
answers
16
views
Error in alignment of text in multi-column in same page
the same page is aligned in starting but when i copy paste the code to the bottom , the same texts are not getting aligned.
In the beginning
This is the output i am getting at starting of my document
...
1
vote
0
answers
27
views
Transfering text
I need to transfer section 5.3 after the pictures but \pagebreak and \vspace seem to do nothing
enter code here begin{figure} [h!]
\centering
\includegraphics[scale=0.55]{Immagini/opt gen}
\caption{...
0
votes
0
answers
22
views
Adding characters with similar font to an existing Handwriting environment
I'm using the Handwriting environment presented in this question enter link description here, however, I'm not getting on how the code sets all the variables in the environment to be written the same ...
2
votes
1
answer
51
views
How to Justify the Text in a Minipage Environment within a Tikzpicture
Consider the following code---
\documentclass{book}
\usepackage{tikz}
\usepackage{mwe}
\begin{document}
\thispagestyle{empty}
\begin{center}
\begin{tikzpicture}
\node[preaction={fill=black,opacity=1....
1
vote
1
answer
35
views
Listing for file folder-structure as text not working
For my documentation, I need to provide a way on how to structure some Python code in a project. My approach to show it was to simply use a structure of text like this:
app/
├─ ...
├─ controllers/
│ ├...
2
votes
1
answer
38
views
text on the top of page
i tried to add a box on the top of page with tikz package but i didn't add a text as it is shown in the figure.
this is my code:
\begin{tikzpicture}[remember picture, overlay]
\draw[fill=rougeECL] (...
0
votes
2
answers
66
views
How to underline text from a macro including a line break?
I'm trying to underline text that spans over more than one line. In principle, the ulem oder the soul package can do the trick when inputting the text directly to the respective command.
\ul{some text ...
2
votes
1
answer
95
views
Vertical and horizontal alignment of text in multicolumn table
I created the following table:
with the following code:
\begin{table}[h]
\begin{tabular}
{|M{0.16\textwidth-2\tabcolsep - 1.25\arrayrulewidth}|
M{0.24\textwidth-2\tabcolsep - 1....
2
votes
3
answers
73
views
How do you make the text fit in the fraction?
How do you fit the text in a fraction? I am trying to fit a text equation inside a colored box:
\documentclass[11pt,twoside, a4paper]{report}
\usepackage{fontspec}
\setmainfont{TeX Gyre Schola}
\...
0
votes
2
answers
70
views
table of contents rename [duplicate]
I read:
I cannot rename table of contents
Renaming the Table of Contents doesn't work!
Renaming table of content to something else
But I didn't find the right answer.
I would like to modify the ...
1
vote
1
answer
62
views
What is the default margin and font title and text size of this LaTeX document?
What are the default margin (in inches) and font title and text size of this LaTeX document template I found? I can't seem to find a certain answer.
Here's the link to the template: https://www....
2
votes
2
answers
38
views
How do you line up regular text with section heading
So I have this code:
\section{Thông tin là gì:}
Những hiểu biết có được về một sự vật, sự kiện được gọi là THÔNG TIN về sự vật, sự kiện đó.
How do I make it so that it's shows as that It shows as:
1. ...
3
votes
4
answers
262
views
Trouble writing in a system of equations, while aligning its coefficients
The part above the hrule is what I have when aligning the coefficients. What I would like to do now is to write \minand \text{s.a.} and also add the last line, i.e., x_i \geqslant 0, \forall i \in [7]....
1
vote
1
answer
80
views
Notebook paper in a tcolorbox; aligning text correctly
I found this old post and I rather like the appearance. I'd like to use it on the worksheet I'm creating but the text is not lining up correctly with the lines created within tcolorbox.
\documentclass[...
1
vote
1
answer
50
views
How do you add two different lines of text using tikz and chemfig?
So I have kind of a problem, I want to recreate this chart:
Here's the current code:
\begin{center}
\fcolorbox{black}{gray!20}{
\schemestart
\begin{tikzpicture}
\draw[fill=...
2
votes
1
answer
175
views
How to create text box as shown in the Figure?
How to create a text box as shown in the Figure?
2
votes
1
answer
77
views
How can I make text look like this?
My output should look like this. I know I have to use hangindent or sth., but I can't figure out how to achieve it that between the indent and the new line there is no space. When I try it with ...
1
vote
1
answer
44
views
Copy a text file and display it as it is
I have a log file from an analysis software which is in ".txt" form. Data is arranged in some useful order with symbols, matrices etc. in the file. I want to make the contents of it an ...
1
vote
1
answer
36
views
Latex text too long I want to centralized and be able to see the full text
\begin{tabular}{|c|}
\hline
Table \\ [2ex]
\hline\hline
A precoding-aided RIS scheme is considered for multi-user downlink transmission.
Maximization of sum-rate and energy efficiency is ...
0
votes
3
answers
55
views
overfull \hbox error in a table and text, not sure what is wrong, any help?
I used the following code for my table, and the contents are not too long, I am not sure why I get this error message, though the compilation looks fine ...
\documentclass[a4paper, 11pt, oneside]{...
1
vote
1
answer
61
views
Writing chemical formulae on a curve with tikz and mhchem
\documentclass{article}
\usepackage{tikz}
\usepackage[version=4]{mhchem}
\usetikzlibrary{decorations.text}
\begin{document}
\begin{tikzpicture}
\node (One) at (-3,0) [shape=rectangle,rounded corners,...
3
votes
1
answer
63
views
How to make text look different in PDF compared to copy-paste [duplicate]
Is there a way to make text written in LateX look like something in the pdf document, but different if you copy-paste it?
Here is an example of what I would like:
In the pdf document: there is 10 km ...
1
vote
1
answer
33
views
text and tables are located outside the paragraph boundary [duplicate]
I put the part "sklearn.model_selection.train_test_split" and it appeared outside the page boundary. The table is bigger than the page boundary as well.
How to make the table and the text be ...
0
votes
0
answers
10
views
Adding a name to the right of the equation (with numbering) [duplicate]
I was given an assignment to write latex code to replicate the above image. I have managed to figure out how to write equations with numbering and other math stuff. My difficulty arises in the ...
3
votes
2
answers
78
views
MetaPost: does btex ... etex support any LaTeX command?
I am running a MetaPost sample as follows:
beginfig(1);
label.(btex the \emph{sum} is $\sum\limits_{n=1}^{+\infty}a_n$ etex, (3cm, 3cm));
endfig;
end;
by mpost main.mp. In the log there is a message
!...
1
vote
0
answers
18
views
Wrap text around a centered table in a two-column document [duplicate]
I desire to wrap text around a table in a two-column document like the following:
column 1 column 2
--------------------- ---------------------
--------------------- ------...
0
votes
2
answers
84
views
Can't add circumflex or hat to pi symbol in latex text
I'm writing a report and need to reference a 'pi hat' in text. From google and Stack questions i've seen, a good solution is \^{\textpi}. However this puts that hat left of the symbol for me (^x). ...
1
vote
1
answer
59
views
Scientific paper : one page on 2 columns, the following contains 3 tables and text but impossible to come back to 2 columns mode after these 3 tables
I have a Latex scientific paper where on one page, everyting is normal with 2 columns of equations. The following page contains 3 tables and at the bottom some space to put again some text in 2 ...
4
votes
3
answers
244
views
Text in arrow diagrams
Someone is able to help me writing this diagram on tikz?
I would be very grateful
4
votes
3
answers
414
views
Combine \textbf and \texttt
I'm trying to combine \textbf{} with \texttt{} to obtain a code style that is more "fat". I tried to combine first \textbf and then \texttt and viceversa but nothing changed, it seems like \...
0
votes
1
answer
32
views
How to separate issues by a vertical margin
I have put any statements to the list of questions: My code:
\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[lmargin=3cm,tmargin=3cm,rmargin=2cm,bmargin=2cm]{geometry}...
0
votes
0
answers
41
views
Problem with figures, captions and the main font in TexStudio
everybody! I have a problem with the "figure" environment. I have inserted several images one after the other
\ begin {figure}[htbp!]
\ caption {...}
\ centering \ includegraphics [...] {...
0
votes
1
answer
52
views
Filled square next to some Text
Is there any way to produce a filled square next to some text? (with centered horizontal alignment)
I am quite new to LaTex and this is what I have tried so far:
\newenvironment{prioritized}[1]
{
...
1
vote
0
answers
55
views
Set a maximum number of words per page
Sometimes I have to write literature with guidelines for the number of words per page. In these cases, I would like to know how to specify this condition, because although I know the number of words ...