Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [text]

May refer to: 1) Text & Talk, 2) Text File, 3) Textbook, 4) Religious Text or 5) Writing.

0
votes
0answers
14 views

How to change the text area of a particular page

I have very long (horizontally) equations on a page in the middle of my document. I have used \eject\pdfpagewidth=14in to change the width of that page, but I can't figure out how to change the ...
0
votes
0answers
7 views

PDF inbound in text - cropping unwanted content

For this issue, I have no MWE. Problem: I have a word-file (survey, pretty complex structure) and I have been requested to use/integrate parts of this document for illustration in my LaTeX-file (e....
1
vote
4answers
41 views

Including categorical colours with \newcommand in PdfLatex

I wish to have a list of predefined HTML colour codes and convert them into a numbered reusable variable which can then be referenced later. This is useful when having a set number of variables or ...
2
votes
1answer
21 views

How to shrink text and center vertically in a line defined by larger text

I'm trying to number sections of a document. I want the numbers to appear inline but not as super or subscripts. I want them to print in the middle of the line, but in a smaller print, like the ...
2
votes
1answer
47 views

TikZ node: How to decrease vertical space between two lines of text?

Assumed we have some simple code to display text above a brace styled node in TikZ. Minimum working example (MWE): \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{...
0
votes
1answer
33 views

Latex Double subscript with $ with text and equation in the same line

1: How to combine text and equation in a paragraph in latex?
1
vote
1answer
11 views

Set size text in mdframed

I wish to know if it's possibile to set the size of the text inside a mdframed. The next step is, if possible to set the text in italics form. I have the following code \usepackage[framemethod=TikZ]{...
0
votes
1answer
19 views

When making a reference to an equation or image, the subsequent text after the reference is in the same font style as the reference

I have a strange problem, whenever I make a reference in the body of the text e.g. ....in Equation \ref{MyEquationOne} all subsequent main body text after the reference is changed to the same font ...
1
vote
2answers
57 views

TikZ fill color: How to decrease spatial size of fill behind text?

Assumed we have some simple code to display a text node with a colored fill behind the text. Minimum working example (MWE): \documentclass[tikz,border=5mm]{standalone} \begin{document} \begin{...
2
votes
1answer
43 views

How to align text and icon?

Here is my code: {\hspace{10mm}\textcolor{brown}{2006 - 2010} \hspace{5mm}} {\textbf{\textcolor{blue}{BBA Hons (equivalent MBA)} \hspace{6.5mm} {\faUniversity}\hspace{2mm}Al Khair University}\...
0
votes
0answers
22 views

Move text to the very end of the Chapter

I am writing my thesis in Chapter form. Each chapter has sections. I want to move my final section titled 'discussion' at the very end of the chapter. However, it is coming either before or between ...
3
votes
2answers
68 views

In the figure form, how to adjust the whole size of “text” and “math” format at once?

In the figure form, how to adjust the whole size of "text" and "math" format "as a combined figure" at once? If this is a usual pdf figure, we can do \includegraphics[width=4.4in], such as below, the ...
2
votes
1answer
268 views

How do I convert into PDF?

I've written document in LaTeX, but I don't know how to convert my .tex file into a PDF file. I'm using texMaker in the Russian language, and I couldn't find a way to typeset in this version of LaTeX. ...
7
votes
2answers
561 views

How to draw ░░░░░░░ blank with overlaid text in tikz

Wondering how to draw this sort of thing with tikz: I ░░░░░░░░░░░░░░░ am a blank space. ...but with text overlaid on the dot grid. Also, instead of the dot-grid being diagonal, I would like to make ...
5
votes
3answers
163 views

How to have 2 different sized texts on the same line?

I want to put 2 different sized texts on the same line. Below are my criteria: Right side is right justified and is normalsize left side is left justified and is large must dynamically change to fit ...
0
votes
1answer
20 views

Aligning figure under flushright text

I've a text inserted into a quoting section, set as flushright. I'm trying to add a figure under the text, but it seems not to be able to stay aligned to the right part of the text. Here it is an ...
6
votes
4answers
364 views

Make blocks of text invisible only if said so

Is there any command which allows me to make some blocks of text invisible only if initially I said so? I.e., I would like to mark some lines throughout the text that would only appear in the ...
0
votes
1answer
38 views

How can i write after wrapfigure without wrapping the Text?

I trying to write somethings from school in LaTex. Now I ran into a problem: If I'd use the wrapfigure command with a very short text the next paragraph also wrap, which I don't want. Here is the code:...
0
votes
1answer
26 views

How to add a short text in math-mode keeping spaces between words

I am writing the following: $$p(Z_{n+m}=i for some m> 0|Z_{n}=i)=1$$ Compiling, the spaces between the words "i for some m" are removed giving as a result "iforsomem" How can I prevent this? ...
1
vote
0answers
34 views

Relative size of symbols

This is perhaps a typography question rather than a LaTeX one. I'm using playing card symbols from Book Antiqua and the heart symbol feels too big to me (subjective, I know). So I rescale it and ...
2
votes
2answers
84 views

insert text in rule

I have difficulty writing a compact command that allows me to insert a text between two lines. I read some links such as this and this, but each one treats the left and right line separately \...
1
vote
0answers
49 views

Replacing words [closed]

How do I replace a frequent word in my text? For example, if I want to change all words (transactions) in the reference section to (Tran.) using one command.
2
votes
1answer
51 views

How to draw arrows from floating text into a picture in Beamer?

I currently have the following figure and code \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame} \begin{tikzpicture}[remember picture, overlay] \node (image) ...
0
votes
1answer
21 views

Title and text paragraph indent

I'm trying to reproduce those design decision text boxes. How do I do this? They are indented and numbered. See Design decision 5 and Design decision 6 in the attached picture.
0
votes
0answers
21 views

How to make text flow like this example [duplicate]

I have a few images I've like to put on a page with text, but instead of normal figures I'd like to the text to flow around the shape of the image like so: I have no idea where to start.
2
votes
1answer
36 views

How to make text start/end at a node location in tikz?

I'm trying to make a Figure in tikz, I would the labels "u[i,J]" and "u[I,J]" to keep certain distance from his corresponding arrows, based on labelDist parameter. As an example, is it possible to ...
1
vote
1answer
57 views

Add vertical space in equations

i have a series of equalities in an equation so i want to start a new line. I've seen the use of \begin{align*} but i want to work inside an equation. For example : \begin{equation} a+b=c+d=d+e \end{...
1
vote
1answer
18 views

Normal text should be separated from caption title

I need to know how normal text can be separated from caption title. \documentclass{article} \usepackage{amsmath,mathtools,amssymb,array,arydshln} \usepackage[german]{babel} \usepackage[latin1]{...
0
votes
1answer
48 views

Longer arrow over text in math mode

I'd like the arrow over f(P)f(Q) to be longer, without changing the default space between lines, if possible. Here's a minimal working example: \documentclass[a4paper]{article} \usepackage[T1]{...
2
votes
1answer
36 views

Method to quickly place text at specific locations on figure

I slightly modified the code written for a second order step response found here. I wanted to add extra text around the figure. I have to through many iterations before I get the placement right. I ...
0
votes
1answer
42 views

Trying to insert images for visualizing description on the right

I am trying to write a description for a game. I have to explain some key elements and I wanted to illustrate this with images on the left side (image below). This particular image has been made with ...
0
votes
1answer
40 views

txt file with ascii tables in Lyx

I have txt file with some ascii characters (report from a software simulation) and i want to copy it in Lyx but the result is awfull. For example in txt file i have the following. table: I want to ...
1
vote
0answers
110 views

Is there a text-mode equivalent of $\approx$?

In non-equation mode, using the normal font. How do I make the approximation sign that in mathematical mode is $\approx$?
0
votes
3answers
42 views

Aligning text to right

In the picture shown below, I want to align the starting of two line to the right where exactly the numbering starts. I used \hspace{} command but it is not working. How can I fix this problem?? ...
14
votes
2answers
985 views

Create a Handwriting environment for both text and Math

I would like to create an environment that would allow me to have parts of a document in "Handwriting mode". So the objective would be to be able to type the following in the source code : \begin{...
6
votes
2answers
263 views

How to create two box side by side in latex without using tikzlibrary

I want to write down this code in latex. I write down a code for this but it not properly displayed as per the picture. My code \indent\fbox{$\Sigma=\Omega^{-1}$ \\ $\mu=\Omega^{-1}\xi$} What ...
3
votes
3answers
146 views

How to add a line inside an equation

I would like to introduce a line break in text line inside an equation. What I have done is: \begin{align*} \frac{\text{Reactividad\ relativa \\ Hidr\'ogeno\ secundario}}{\text{Reactividad\ ...
1
vote
0answers
31 views

Excluding specific text from \justify

I have the following LaTeX: \bp This is the first bullet point, the content is long and it spills onto the second line. \bp This is the second bullet point. \bp This is the third bullet point. It has ...
2
votes
3answers
4k views

Basic: How can I stop centering a text?

I'm starting with LaTeX and have a basic question regarding formatting of paragraphs. I wanted to caption an equation mid text, but I couldn't find any convenient way without the equation floating ...
2
votes
1answer
57 views

Span a word or text over two pages horizontally

I am looking into how I could go about to achieve spanning a text, word or symbol over two pages horizontally, without any breaks in between. Find attached screenshots of what I mean. It cannot be an ...
0
votes
2answers
90 views

how to split the text in the cell of table

I need to split the text in the cell. I have tried the \par but this command doesn't work inside the brackets { }. My attempt is below. \begin{table}[] \centering \caption{Caption}\label{tab2} \begin{...
1
vote
1answer
44 views

How to globally stretch text height, keeping the margin limits?

I am working with a designer that requires the height of the font type we are using to be stretched by a factor of 1.2. I have succeeded doing so using the adjustbox package, as described in the post ...
1
vote
0answers
37 views

BibLaTeX automatic textcite/footcite [duplicate]

I would like BibLaTeX to automatically change the citation style. If the whatever called cite command (in my case, I only use \citet[]{} [w/ or w/o optional argument]) is located inside a footnote, ...
2
votes
1answer
105 views

capital X sans-serif symbol for optic magnification

Ok, maybe this is easy but i cannot figure it out: i came accross the need to write in an elsevier article a number of microscope magnification (like 20X). Now the direct easy way is of course 20$\...
1
vote
1answer
53 views

Wrap an image to the right of the text

I want to wrap the image with the texts at the right. The way it now appears is below the text. Any help is much appreciated. \documentclass[12 pt]{article} \usepackage[margin=.5in]{geometry} ...
0
votes
0answers
74 views

How to write a text in the same line?

In the below picture how can write (University of Benghazi) and (Faculty of Medicine) in the same line
2
votes
1answer
96 views

Latex3 programming and tex primitives: how to “execute after” instead of expandafter

Here is a bit lengthy question. I hope it is not too specific. I'm trying to scan some tex documents and I want to produce text files directly. I'll achieve this by scanning the tex input token by ...
1
vote
1answer
139 views

how to fix the tex vertically in a cell of a table?

this is my problem: I have created a table with excel2latex add for excel but in the first column the text doesn't fit vertically. How can I make the text fit vertically into the first column without ...
1
vote
0answers
24 views

word break in Justifying [duplicate]

The words break in fully justification of text in latex. I need document format "Report" and fully justified text. My latex code is \documentclass[12 pt]{report} \usepackage{times} \usepackage[...
1
vote
1answer
42 views

Math and non-math text bookmark doesn't work

I have the following mwe. I see the correct section heading in the .pdf file but in the generated bookmark the math part is missing. Any help in fixing this is much appreciated. \documentclass{...