{formatting} is for general questions about formatting document elements. Use this tag in addition to other tags specifying what should be formatted. For questions about font attributes (e.g., {bold}, {italic}, {small-caps}, {sans-serif}, {typewriter}), use the appropriate tag instead.

learn more… | top users | synonyms

5
votes
1answer
148 views

How to make formula look professional

I write the formulae using belowing latex, however, it looks some kind of messy especially the Equation 1. Any suggestions on how to make it professional? \documentclass{minimal} \usepackage{etex} ...
8
votes
5answers
2k views

Hiding part of text leaving blank space

I am quite new to LaTeX so my question may be trivial, but I haven't found a good solution so far. I am preparing some lecture notes and I would like to have 2 different versions: one for myself, ...
3
votes
1answer
1k views

Overfull \hbox in paragraph at lines 57--63

I've finally made the move to org-mode from Evernote, I can get simple documents exported via tex to pdf, but i have things like this in there: Create Apache virtual host file ...
4
votes
1answer
242 views

Using text inside \num from siunitx

Consider this TikZ drawing of the table of elements (taken from here and edited a bit): \documentclass{article} \usepackage{verbatim} \usepackage{ifpdf} \usepackage{tikz} ...
8
votes
4answers
168 views

How to define mathematical functions by the action on an element?

I would like to define a mathematical function by its action. Something like \documentclass{article} \begin{document} \[ \begin{array}{cccc} f\colon & R\times R ...
3
votes
1answer
164 views

Mathtools package won't work with my document class

I'd like to put in mathtools, specifically so that I can use the multilined environment. But it doesn't seem to want to work with the document class I'm using. (The amspset document class can be found ...
4
votes
2answers
92 views

How to begin text a certain distance from the right margin

As the date changes in length each day, I find myself manually modifying the hspace distance to the beginning of the signature line every time I generate a document. Can anyone think of a better way ...
1
vote
0answers
312 views

Text box to insert a graphic [closed]

How can I use a text box to insert a graphic? I got the following code and I must modify it in order to insert a graphic. What should I do? \begin{figure}[thpb] \centering ...
5
votes
2answers
823 views

achemso \keyword and \abbreviation command don't work

I'm preparing a paper using the achemso package. I used it before (around 2 years ago) and everything worked fine. However, if I use the \keyword and \abbreviation commands now I don't get what I got ...
3
votes
2answers
223 views

How to highlight all inline math in document?

As the title says, I would like to highlight all the content of $...$, \(...\), \begin{math}...\end{math} in my document. My last trial, however not really well asked was: Background color for ...
2
votes
1answer
76 views

Restrict total height/length of text

I have a large chunk of text that's currently being used in my template, I want to programmatically split this over too pages. The text is first put into a textbox onto a page and needs to be ...
6
votes
1answer
852 views

How to format bibliography titles as section, subsection, and subsubsection

How can I format the titles "Books" and "Articles" to appear as \subsections? MWE: \documentclass{article} \usepackage{lipsum} \usepackage{biblatex} \addbibresource{NZSM446.bib} \begin{document} ...
4
votes
2answers
175 views

lstlistoflistings formatting problem

I'm using \lstlistoflistings to create list of listings. Everything generates well except for the formatting issue I have. I tried to fix it but don't have enough knowledge. This is how the ...
5
votes
2answers
152 views

Preventing \mbox or \fbox from exiting the page

I am trying to do something like this: \documentclass[a4paper]{article} \usepackage[top=0mm, bottom=0mm, left=0mm, right=0mm]{geometry} \begin{document} \noindent \fbox{\hskip1cm Some text ...
8
votes
2answers
164 views

How can I set a margin equal to “five spaces”?

How can one set a margin equal to five spaces? Especially for a quote.
1
vote
1answer
267 views

biblatex verbose style @article bib— remove parenthesis around year and month

I'm using biblatex with verbose-ibid style. For one of the @article entries, I have the following: @article{ref_133, title = {IBM wants Minneapolis to become a 'smarter city'}, author = ...
1
vote
1answer
118 views

Script dialogues

I'm trying to write a script, and I have defined the following commands: \newcommand{\SpeechText}[1]{ \vbox{\ignorespaces{\quotation{#1}}\par\duplines} } \newcommand{\ParagraphText}[1]{ ...
12
votes
1answer
1k views

Realistic handwritten document

Is there a template/package that generates realistic handwritten documents? The font should preferably reflect an average handwritting (readable). Letters would follow a handwritting style but would ...
2
votes
4answers
174 views

Changing upper case & lower case letters [closed]

I just wrote 6 paragraphs of a report without really looking at the screen, and when I did, all of my upper case letters were lower case, and vice-versa. I had left the caps lock on. Is there a ...
1
vote
0answers
131 views

4 authors, but half of the final author's name is moved to next lne. How can I stop it? [closed]

We have 4 authors. However when I use elsarticle 2 things are happening: 1. it does not give me an option to put word "and" before the 4th author's name 2. Due to the length of names, 4th author's ...
3
votes
0answers
64 views

How to increase perpendicular distance of labels from arrow in XYPic? [duplicate]

How do I move a label further away from an arrow in XYPic? Example \xymatrix{ g_0 + \beta_1)(n + n') \ar[r]_-{(g_0 + \beta_1)^+(n,n')} & (g_0 + \beta_1)(n) + (g_0 + \beta_1)(n') } I want to ...
3
votes
1answer
63 views

Different font for small caps in Descriptionitem Label

For my Bachelorthesis I defined a new kind of item to use it with the description environment. \newcommand{\tfactor}[5][Event]{% \item[\textsc{Faktor -- #1 -- #2 }]\hfill\textbf{#3} \\% ...
1
vote
1answer
42 views

Tex file run error

When I run the tex file by Winedit, the out put shows like this. How to check this error? How to find the wrong in the tex file?
22
votes
1answer
261 views

Two Columns whose content is positioned relative to each other

In theatre (and film) there's a tendency for actors to let each other finish what they're saying, possibly even making a small pause before starting their turn. But that is not how real life ...
0
votes
1answer
124 views

Straight bar Latex [duplicate]

How to write the straight bar with subscript as I have attached in the picture?
7
votes
1answer
89 views

\hat and \bar compatibility issue EDIT: It's a bug, workaround provided

I have two \newcommand defined as follows: \newcommand{\hvar}[1]{\hat{\delta #1}} \newcommand{\gbp}{{{\bar{\gamma}}_p}} And they look like this: \hvar{X} \gbp The problem is that, if I use ...
2
votes
1answer
4k views

Format section's title with \renewcommand

I have tried to make my sections appear as "Section I : My section's title" or "Section I My section's title" with the \renewcommand\thesection... command but in the table of contents the word ...
3
votes
3answers
314 views

Equations in normal LaTeX to MathJax formatting

To use the align environment in a document one does something like: \begin{align*} x &= \sqrt{4^2-1^2} \\ &= \sqrt{15}. \end{align*}put However, to achieve the same desired output on a ...
2
votes
0answers
27 views

Why does the subtitled Ck, keep overwriting on the line number of the algorithm? [closed]

\documentclass[dvipsnames,svgnames]{beamer} \usepackage{algpseudocode} \usepackage{eulervm} \usepackage[most]{tcolorbox} \setbeamercovered{transparent=40} \usefonttheme[onlymath]{serif} ...
5
votes
1answer
105 views

How to print Appendix A like Chapter 1

I get Chapter 1 Name of Chapter. But how to get Appendix A Name of appendix \documentclass{scrbook} \renewcommand*{\chapterformat}{% Chapter~\fontsize{80}{88}\selectfont\thechapter\enskip} ...
2
votes
1answer
196 views

Table Numbering And Caption in Same location

My table and caption are located on the same line and this started happening after I used a different class file for the conference I am applying towards. Here is a picture of what I mean: (Normally ...
2
votes
0answers
104 views

line numbering including blank (empty lines)

I have a latex document and I would like to include line numbers in it, the tricky part is that I need to count the blank (empty) lines too (emulating what MSWord does :(. I know I could use the ...
3
votes
1answer
4k views

\bfseries bolds more than intended

Been using the \bfseries lately, instead of \textbf and those, because I learned that they were deprecated in newer versions. Anyway, the \bfseries bolds the rest of my document, even though I'm ...
2
votes
1answer
98 views

unaltered citation in theorem

I would like to keep the way my citations are presented to be uniform. When I enter a citation after I declare my theorem it's in italic just like the text for the theorem. Whereas the citations in ...
7
votes
3answers
3k views

Better way to display long division?

I'm currently in the process of trying to create a worksheet for my students with long division problems for them to practice. Unfortunately, the best I've been able to come up with so far in terms of ...
3
votes
3answers
134 views

Splitting an equation

\documentclass[12pt,a4paper]{thesis} \usepackage{amsmath}\usepackage{amssymb} \usepackage{graphicx} \usepackage[left=1.25in, right=1.0in, top=1.25in, bottom=1.0in]{geometry} ...
6
votes
2answers
411 views

What is the analogue to \makechapterhead for \part?

I am formatting my thesis right now but I have problems with formatting the title page for each part of my thesis. Whereas I can access the format of each chapter using \makechapterhead and ...
4
votes
1answer
430 views

In Lyx, how to change “Part I” with some other text

I'm using the article class. When creating a new part, I would like to change "Part 1" to "Experiment 1", "Part 2" to "Experiment 2" and so on, followed by my part title. How can I do that? I've ...
1
vote
1answer
78 views

Too wide diagrams

I have been struggling with diagrams that exceed the margins of my document. Could you tell me how could I solve this problem without changing the margin sizes? I am using the XY package. Thanks!
4
votes
2answers
94 views

multline problem

I have used multiline to break a equation but in the 2nd line it goes to the end. Can't we move the 2nd line more ahead? \documentclass[12pt,a4paper]{thesis} \usepackage{amsmath}\usepackage{amssymb} ...
3
votes
1answer
84 views

How can I date my entries into a latex document? (Not just one date, but several dates)

I know the \date command inserts a date in the title, but as I keep working on this document of mine I want to be able to keep a record of what I wrote on each day. I've been simply writing the date ...
14
votes
3answers
301 views

How to typeset manuscript insertion marks?

In editing old manuscripts (often medieval), a convention is to mark text which the original scribe has inserted afterwards as a correction (usually above the line) with insertion marks. These look ...
3
votes
2answers
123 views

Multiple authors emails problem

I have multiple authors emails on my paper with the same domain and i need to divide the line below on two lines as it is too long, any help? \documentclass{llncs} \begin{document} \title{any title} ...
7
votes
2answers
144 views

Condense Latex Title

I wish for my Latex Title to be condensed so that it takes up less room on the page. Here is my current source: \documentclass[12pt]{article} \usepackage[margin=1in]{geometry} ...
4
votes
1answer
1k views

Questions about algpseudocode

I'm using the following packages: \usepackage{algpseudocode} \usepackage{algorithm} but I don't understand what package is algpseudocode, since I can't find the documentation. I have followed this ...
1
vote
2answers
80 views

Formatting and scaling

How to fix this equation \begin{eqnarray} \frac{1}{2} (1-\varepsilon^2)\left(\partial_\tau \phi\right)^2 &= \frac{1}{2} \left(1-\epsilon ^2\right)\left( -\frac{S \epsilon \sin\tau ...
1
vote
1answer
501 views

Thesis running problem in KILE

I'm using KILE editor. There is no problem when I run others .tex article in Kile. But problem is when I run a thesis article in KILE. This thesis article is running fine in WinEdt. ...
0
votes
1answer
43 views

Equation formatting (alignment) [closed]

According the question I have written the file but I got something wrong. Can you please check? \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} &\begin{aligned} ...
2
votes
1answer
79 views

scaling equation within margin

I have split an equation across several lines but I couldn't remain perfectly within the margin. The input is \begin{equation*} \begin{split} & ...
4
votes
1answer
283 views

Trouble with Bible Style page header lines

I'm attempting to typeset a Bible for my mom and I'm running into a few problems and I was hoping someone here could help. First I'll start with the easy question. I'm currently using two columns ...