The tag has no wiki summary.

learn more… | top users | synonyms

7
votes
1answer
54 views

How can one make border of text for a figure?

I want to take text and wrap it around as the border of a figure. That is, text on the top, wrapping to sideways text running down the right, wrapping to upside down text on the bottom, wrapping to ...
3
votes
2answers
100 views

How can I force-move text?

My question is simple: how can I force-move text to the left or right (or even outside of the margins)? Some examples would be perfect.
7
votes
1answer
64 views

Typeset just the first letter in a group

How can I typeset (print) just the first letter of a group of text? For instance, how does biblatex or bibtex determine the first initials of a name? MWE to get started: \documentclass[]{article} ...
1
vote
1answer
66 views

How to escape properly and output regex in latex?

Escaping regex is a heck of a work on LaTeX. How should I write in latex syntax such that I can output the following regexes: ^\(?\s?\w{1,5}\s*[):.]\s* and [\[\(].{1,}[\]\)] I've tried ...
7
votes
1answer
75 views

Transformed text as from a specific viewport

Is there a possibility to shear (any) LaTeX text or the output of a mathematical formula as it would be obtained as a result from looking at a different angle/viewport? I do not mean mere rotating of ...
1
vote
1answer
38 views

Pre-compiling with a different syntax [closed]

I am looking for a pre-compiler to introduce a customized syntax into LaTeX. Hope that an example will be worth a thousand words: I would like to compile this \thm The sum $ 1+2+3 is equal to ...
4
votes
2answers
78 views

How to use \left and \right inside text environment

I would like to know how to use the \left and \right options in the text environment. This is what I am trying to do: \left( when factorizing $e^{-2000t}$\right) As you can see, I am trying to make ...
5
votes
1answer
75 views

how to do multiple string replacements?

i want to escape URL paths to obtain the percent-escaping that is also applied e.g. by browsers; for this i tried to do the following (outcommented lines are meant to show what i'm aiming at here): ...
3
votes
1answer
89 views

ConTeXt: Scale font for text based on maximum width

Background Looking to devise a scaling factor for two fonts such that the text, when added to the final document, fits on one line. Example In the images below, the two fonts are the first ...
3
votes
4answers
81 views

Text going to next line - how to keep on same line?

My cover for my thesis looks like this: The relevant MWE looks like this (I am using a template) \begin{minipage}{0.4\textwidth} \begin{flushleft} \large \emph{Author:}\\ John \textsc{Smith} % ...
0
votes
1answer
71 views

How to Format Text Automatically

In most scientific journals, articles that contain foreign words or sentences, should be written in italic. In this case, I wrote an article in Indonesian, while the foreign word or phrase is the ...
1
vote
0answers
38 views

Indicating that the adjustwidth environment should be placed around text

I've been trying to work out a solution to this question about changing margins for body text without changing header/footer placement. Using the changepage package, I was able to work out the ...
4
votes
1answer
66 views

Justify hebrew text

I want to justify hebrew text but cannot do so , i have added centering for a heading. even when i remove centering the text is not justified \documentclass[hebrew]{article} ...
6
votes
1answer
115 views

Automatically divide text between two tikz paths

I make a custom shape and I need to put a text inside it. But problem is that my text didn't fit the length of decorated path. So, I need a way to automatically divide text between two or three paths. ...
8
votes
3answers
293 views

Viva preparation document

In one of the doctoral thesis howto books (Rugg and Petrie, I think) the advice given is to prepare a document that summarises one page of your thesis per line of page. I'm interested in working with ...
3
votes
0answers
29 views

Arrange subfigure according to the text

I have a little issue. I have a figure made by 5 subifgures. They fill perfectly a page. The problem is that, when I have some lines of text before the image, the figure goes to the next page without ...
4
votes
1answer
91 views

How to remove the first and last letter of a string

My example. Need from the string "$${{15}\over{4}}$$" get the string "${{15}\over{4}}$". \documentclass[14pt]{extarticle} \usepackage{xstring} \usepackage{amsmath} \def\f(#1){(#1)^2-5*(#1)+6} ...
11
votes
3answers
141 views

Text across two pages

I am making a small book and I want to put a phrase in both pages like the picture above, I want to keep the chapter title and page numbers. Could you give me a hand on this?
6
votes
1answer
71 views

Change direction of a textbox, taking up space from above instead from below

I am designing a custom theme for my LaTeX presentations. This is my title page: Now when I have a longer title, this happens: Here's my code (according to this post): \defbeamertemplate*{title ...
1
vote
1answer
68 views

Include TEXT from another file before generating PDF

I have a tex file which compiles fine and generates PDF without any problem. I need to include text (contents of a text file) from another .txt file at the end of tex file so that generated PDF would ...
8
votes
2answers
245 views

Multi-line curved text along vertical

I found this rendering from here on this site but with no explanation or working example to go with it. How do I do this? I'm pretty familiar with TikZ but I'm having trouble finding text that is ...
1
vote
0answers
30 views

Underbrace and text? [duplicate]

I want to use text under an equation. I am using the \underbrace_{text{}}. My point is that the text is quite long and I want to make it into two lines. For example: \begin{document} \begin{equation} ...
4
votes
1answer
3k views

Changing background color of text in Latex

How can I make change a text background in LaTeX? For example using Latex code \textsc{Extra Curricular Achievements}\\ I get However, I want the background of this heading to be changed so that ...
6
votes
1answer
66 views

About mirroring a piece of text

I would like to produce a mirrored version of the Lorem ipsum text. How can I do this? If I use \reflectbox or \scalebox, everything ends up in a single line of text. This is my code: ...
3
votes
1answer
61 views

Use part of text stored in a variable

Is there a way to take only part of the text from a variable? My specific use case is with the envlab package: I want the \returnaddress command to omit the last two lines of the \fromaddress ...
4
votes
3answers
118 views

Two instances of the same text in the document

I am writing problems-solutions book. I have decided that problems and solutions shall be separated; first half of the book having problems and the second half solutions. But I need the text of the ...
7
votes
1answer
597 views

indexed letters inside circles

I'm currently using this code \raisebox{.5pt}{\textcircled{\raisebox{-.9pt} {f}}} to get I'm trying to index the function f inside the box, with say $f_{n}$ but \textcircled doesn't seem to ...
3
votes
3answers
124 views

How to write ':' and '_' in equation? [closed]

\begin{equation} \label{eq:policy} \(\text{[DIP:10.1.0.17] $\rightarrow$ F $\rightarrow$ L}\) \end{equation} Gives me many errors like ! Missing $ inserted and Bad math environment delimiter. How do ...
4
votes
2answers
88 views

How to put some comment-like text in a formula?

I have the following formula: $$\bot \dashv\vdash \bot \land A /* not derivable */$$ But the phrase /* not derivable */ doesn't show correctly. For example there is space between / and *, but no ...
2
votes
2answers
168 views

Formula with text, good design?

I have the following text in my align environment, but it does not look good. So what should I change in order to get a better design/output? \documentclass[a4paper, 12pt, ...
2
votes
1answer
132 views

Shifting text section to the right

I have a large picture on the left side of the page and text referring to the picture on the right side. My problem is that the code as it is atm makes the text overlap the figure. It looks like this: ...
2
votes
1answer
266 views

Text Alignment in paragraph box

I'm writing graphic application to generate latex tex. I'm making to generate text box with all it's features. Rotation alignment so on. I generated following cording but It was not Right aligned ...
5
votes
1answer
1k views

How to autowrap text in latex?

i m writing one paragraph in which i need to wrap text in a paragraph. How can i wrap text "hemorrahagic" to next line or use hyphen two split it into multiline.
3
votes
2answers
183 views

Force paragraph to stay with previous

I am using knitr to create inline sparkline-esque graphics. However, when knitr inserts images that it generates with R, it add a blank line, which forces LaTeX to make a new paragraph. That is, if I ...
15
votes
4answers
552 views

Selectively suppress generation of typeset output

Is it possible put TeX into a "mute" mode in which all typesetting is suppressed? \documentclass{article} \pagestyle{empty} \begin{document} \suppress This text will not be seen in the generated ...
2
votes
1answer
143 views

how to manipulate font properties of text above overbracket

How can I change the font properties (e.g. size, style, spacing etc) of text above a overbracket in an equation? For example: ...
5
votes
2answers
396 views

Extracting Text Only from a Thesis [duplicate]

The question Extracting the contents of text in a specified environment into a new file (and answers therein) involve using the extract package to produce a LaTeX file that contains all the text ...
6
votes
1answer
243 views

\expandafter usage and plain TeX programming

Hello everybody out there using TeX, Actually, I wanted to write a LaTeX macro in plain TeX in order to include source code examples with individual modifications like stripping off comments and the ...
1
vote
2answers
965 views

How do I write ^ as text in LaTeX? [duplicate]

Possible Duplicate: How to look up a symbol? How to typset the symbol “^” (caret/circumflex) I would like to produce ^^ as text in my document. The symbol is refered to as 94 (0x5E) = ^ ...
12
votes
2answers
655 views

Is there is a package so you can add text with visual effects like “WordArt” from “Word”

I am elaborating a business card style for LaTeX but I found out that even if I have the style and margin for the cards I can not make it look "pretty" like other text editors without overusing ...
6
votes
2answers
450 views

Drawing a venn diagram with two nodes using Tikz?

How do I create a Venn Diagram with entities no larger than below, but with text scaled to fit; and circles in alignment horizontally? \documentclass[a4paper, 14pt]{article} \usepackage{tikz} ...
5
votes
2answers
1k views

Move TikZ cloud in a better position using beamer

I am trying to manipulate the exact position of a TikZ cloud but I am not sure if I'm doing any effort at all. As you see in the aforementioned picture the space between items is not beautiful. So ...
11
votes
3answers
1k views

Increasing the text size in tufte documents

I have typeset my lecture notes using the tufte latex style. The notes are around 60 pages long. This year I have a few students who require notes where the text size is larger than the default - I'd ...
20
votes
8answers
413 views

Automatic species names in latex / command that does something differently the second time it is run

In academic publications it is a rule of thumb that the first time you give a species name, you write the genus and species in full...and the second time you can abbreviate the genus. First time: ...
1
vote
2answers
529 views

How can I change the font size of a fraction in an index?

I have, as part of an equation, the object a^{5} \left(\frac{b}{c}\right)^{\frac{2}{3}} The problem is that the 2 and 3 are very small (compared to the 5) and I would like all sub/superscripts to ...
12
votes
1answer
2k views

How can I add a subtitle to a section title?

I'd like to do this for some of my sections but not all. I'd also like to maintain the current spacing; for example, if the vspacing is 1cm from section title to body text (at 100% zoom), then I'd ...
7
votes
2answers
356 views

How to illustrate a drawing with text and two decorations

How can I create a drawing like this: The stuff in red are only explications (with "middle" I meant middle of the drawing representing the spiral) and should not be drawn. Tikz would be best, since ...
4
votes
1answer
1k views

\text{} in a fraction but spread over two lines

Rather than try to describe in words or by way of a MWE, I have uploaded a picture of the desired result. I know how to create all the components (e.g. \frac{}{} \text{}, ^{}) of this fraction, except ...
12
votes
3answers
524 views

Stretching text vertically

Is it possible to stretch text vertically? Like this:
4
votes
1answer
237 views

Text not covering full linewidth

I am making a project report for college. In the instructions regarding report,it is written that "The matter contained in the report should be typed in MS word (1.5 spacing) Times New Roman,12 pt ...