{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

1
vote
0answers
44 views

Grey box just as in Mathjax [duplicate]

How could I get a grey box in latex like the one I get on math.stackexchange when I type > to start a paragraph?
1
vote
0answers
18 views

import latex longtable into lyx with format changing [closed]

I apologize if my question was asked alot previously i am generating my tables from stata into latex then i try to import those tables (longtables) inside a table float in lyx the result is a mess ...
1
vote
1answer
111 views

Problem in Kile editor so LaTeX file is not running

EDITED post: In the following Template http://www.latextemplates.com/template/masters-doctoral-thesis \documentclass[11pt, a4paper, oneside]{Thesis} % Paper size, default font size and one-sided ...
1
vote
0answers
34 views

How to add supporting material link together with cited reference when using bibtex?

I am going to cite a research article which also has useful supporting data by authors in their website. How can I add the link into Bibtex? Or do I have to cite the supporting data link as an ...
1
vote
0answers
69 views

How do I italicise book titles rather than underline them?

I've been editing a bst file and want to italicise the titles of books, I tried the suggestion in this thread Is it possible to italicize journal names and book titles through the .bst file? , but I ...
1
vote
0answers
38 views

Latex : Three authors with two affiliations [duplicate]

I have three authors associated with a paper. All of them share the same university, but the second one also has an extra university address. I would like something like the following :
1
vote
0answers
43 views

How to suppress the hanging-over text part of a section title within the table of contents?

My question is, if there exists a method to suppress hanging-over text elements in the table of contents. Below you will find my MWE. Thanks a lot for your solutions and comments! ...
1
vote
0answers
63 views

Overall formatting in LyX

I could not find a previous question that dealt with this topic, and much of the guidance is one-off. I am creating a paper and I want the text to be double spaced but not section headings, the ...
1
vote
0answers
84 views

\to or \longrightarrow and \mapsto or \longrightarrow in functions? [closed]

I'm typing up a research project and I am not sure which ones I should use when I'm defining functions. I personally prefer \longrightarrow and \longmapsto but I see a lot of people use \to and ...
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 ...
1
vote
0answers
70 views

Photo formatting [closed]

Why my code is not supporting when I insert the image? Here the code \documentclass[12pt,a4paper]{article} \usepackage{amsmath}\usepackage{amssymb} \usepackage{graphicx} \usepackage[left=1.25in, ...
1
vote
0answers
48 views

how to produce shrink-wrapped external diagrams

I'm new here. As the layout editor of the electronic journal LMCS sitting on top of arxiv resp. CoRR, sometimes I encounter the problem that the TeX-implementation there does not produce the same ...
1
vote
0answers
163 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 ...
1
vote
0answers
117 views

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

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 ...
1
vote
1answer
191 views

Creating Thin Tables in LaTeX

Suppose I have the following table: \begin{table}[!p] \fontsize{6}{6}\selectfont \caption{First 200 terms of Hofstadter's $Q(n)$}\label{tab11} \center{ \begin{tabular}{l r r r r r l r r r r r} ...
1
vote
0answers
36 views

Is there a way to draw a horizontal line, across a whole page, no matter which context I'm in? [duplicate]

I've been using \hline for my horizontal lines in tabular, and \line(1,0){250} elsewhere. I'm trying to automate some of the formatting for my tex documents, though, and it would be useful for me if ...
1
vote
0answers
52 views

LaTeX listings / email quoting [duplicate]

I've been trying to do someting with LaTeX. I have some emails that I want to insert in a document. I've searched all over the web but can't find a valid solution. What I want to do is to have those ...
1
vote
0answers
57 views

My TeXworks platform is presenting me with \end{document} problems [closed]

\documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[american]{babel} \usepackage{geometry} \title{text} \author{text} \date{\today} ...
1
vote
0answers
44 views

Space between a|b in math mode? [duplicate]

For a context free grammar I need to write: A -> a | b My code for this is $ A \rightarrow a | b $ however this gives me something like A -> a|b // wanted: a | b, note the space before ...
1
vote
1answer
83 views

Consecutive longtables giving “…alignment error…”

in the appendices of my thesis I have two long tables for which I use the longtable package. Separately they work fine, no errors, but when I have after each other I get errors such as: Extra ...
1
vote
0answers
171 views

Custom quote formatting [closed]

I have a .cls in which I have quite a bit of formatting... I'm trying to make a way of making my own "quote" formatting. I need to format my quotes centered, with a limited width for each line, and ...
1
vote
0answers
102 views

Appendices formatting/ Text displayed by reference [closed]

I want to obtain toc and text formatting as shown in MWE. \documentclass[12pt,a4paper]{article} \usepackage[a4paper]{geometry} \usepackage{polyglossia} \setdefaultlanguage{polish} ...
1
vote
0answers
83 views

How should I add visual indications of excerpted sections? [duplicate]

Possible Duplicate: Putting a bar in the margin How to make continuous (but breakable) vertical rule along left side of paragraph? I'm planning on including large excerpts of publications ...
1
vote
2answers
126 views

Change Page Ordering

In one of my documents, the first few (lets say 2) pages include code output and settings and configurations, in terms of communicating with R for example (for plotting etc...), I would like these ...
1
vote
0answers
61 views

How To Format an Index Alphabetically in LaTeX [duplicate]

Possible Duplicate: Index with an initial letter of the group Code: \documentclass{article} \usepackage{index} \usepackage{lipsum} \makeindex \begin{document} \section{\index*{Hello ...
1
vote
0answers
38 views

Need Help to create a Fancy 'Key-Idea' Box for Article [duplicate]

Possible Duplicate: How to create Highlight Boxes in LaTeX? I am writing an Article. I am trying to create a 'Key-Idea Box' like the one shown below: Can somebody help me creating a ...
1
vote
0answers
50 views

How to typeset a math function from and to a domain [duplicate]

Possible Duplicate: Using \colon or : in formulas? Currently I use f\colon A \to B to define a function map. I do not know whether this is better than f:A \to B What's the best way? ...
1
vote
0answers
90 views

Contents, List of Figures: hyperref on the page number [duplicate]

Possible Duplicate: Avoid hyperlinked TOC if hyperref is used In the process of finalizing a book I observed that it would be much better if I could translate the hyperref from the, e.g., ...
1
vote
0answers
174 views

Change background color for toolbars and menus in Lyx [closed]

In Lyx 2.0, I would like to change the background color for toolbars and menus, make it darker. Anyone could suggest how I could do this?
1
vote
0answers
54 views

How do I read data from one cell of a table and print its content in text? [duplicate]

Possible Duplicate: Formatting complex table from CSV using datatool I have a list of hundred names with an associated ID number, name, contact info, and more... Is it possible, knowing ...
1
vote
0answers
121 views

How to treat specific words formatting (ie. API names to wrap inside texttt command)? [closed]

I would like to know if there is any elegant way to treat specific words as symbols, and automatically wrap them with a \texttt command. This would come handy with API names for instance, so \texttt ...
1
vote
0answers
4k views

LyX — how to insert a dummy newline? [closed]

I have some Algorithmic sections, which are written externally in LaTeX and included as file includes in my LyX document. The algorithmic section renders with line breaks before and after, but appears ...
1
vote
1answer
861 views

sig-alternate class, and twocolumn unbalanced bottom alignment problem

EDIT: turns out the below is not really a requirement for ACM - but still a good Latex exercise, I reckon :) I have bumped into a problem with the Alternate ACM LaTeX2e Style File V2.4 (APRIL 2009 ...
1
vote
1answer
124 views

Names and terms

Are there any packages that would help to handle titles and names in the text? formatting: italics, quotation marks index generation: removing articles, rearranging names to Last, First in the index ...
0
votes
2answers
187 views

How to include tex files

Is there any way that I can add different .tex files (From different folders) into another folder's .tex file? I meant that all of the .tex files will be fine and separated and I just need to ...
0
votes
1answer
362 views

Defining a listings style and available options

When defining a style for a listings environment, I can set the background color by doing: \lstdefinestyle{highlight}{ backgroundcolor=\color{orange} } Apart from backgroundcolor, which other ...
0
votes
1answer
205 views

Some common and minor styling [closed]

I want do some common styling please give me most simple, neat and clear solution for following: How can I indicate space between paragraphs? I want distance between paragraphs be more. How in ...
0
votes
1answer
644 views

Getting the Proper Format

I have to submit a thesis in a proper format. What I need to do is have the left margins be 1.5 inches, every other margin 1 inch. I also need the page number to be in the upper right corner of ...
0
votes
3answers
562 views

Equation formatting: spacing between characters

I have the following variable: $\omega_{fo}$ which gives [;\omega_{fo};] . The problem with the output is that there is a quite big separation between the letters f and o. Is there a way to make ...
0
votes
1answer
166 views

How do I replicate CSPlib's Latex logo?

In the CSPLib paper, they use a special kind of formatting for their logo. What is the best way of replicating that logo?
0
votes
1answer
44 views

Why each section is shown in one page rather than in the same page when I use \onecolumn?

I don't know why each section is shown in one separate page when I use \onecolumn rather that the normal (two columns) format. \onecolumn \section{Goals} some text
0
votes
1answer
65 views

Bracket problem

\documentclass{article} \usepackage{amsmath} \begin{document \begin{align*} & \frac{1}{2} (1-\varepsilon^2)\left(\partial_\tau \phi\right)^2\\ & = \frac{1}{2} \left(1-\epsilon ...
0
votes
1answer
114 views

A seemingly canonical preprint style in mathematics

There seems to exist a style for preprints that is common on arxiv.org. A completely (!) random example which I have picked up just now illustrates that style. http://arxiv.org/pdf/1305.2775.pdf ...
0
votes
1answer
480 views

Simple Draw in Latex

Hi I want to draw this simple figure in latex can anyone please help me?
0
votes
1answer
315 views

How should a salary negotiation letter look like? [closed]

Does anyone know if there exists a template for salary negotiation? Or perhaps how one should look like?
0
votes
1answer
1k views

how to put two pictures side by side?

I try to put the two pictures side by side using the following code, however, the size of the two pictures are very small like the picture. However, the picture looks like if I don't put them ...
0
votes
2answers
139 views

SO-style Markups for References in the Bottom of the Page in Bibtex-ed Document?

I often have a long bibliography and then later I find that I should have a notice like this buying-list in a project (not that important so not wanting them to the bibtex). I find it overkill to ...
0
votes
1answer
817 views

Changing the chapter style [duplicate]

Possible Duplicate: How to format the chapter heading? How do you change the style and margins of the chapter title in latex? I'm looking through the style file and can't find anything.
0
votes
1answer
1k views

Caption does not work with wrapfig

The following code does not output the caption correctly, font appears in normal size, and "Figure" is not boldfaced. \begin{wrapfigure}{r}{0.5\textwidth} \vspace{-50pt} \begin{center} ...
0
votes
1answer
51 views

Is there a package (or command) to escape filesystem paths? [duplicate]

I see this is one option: c:$\backslash$subd1$\backslash$subsubd1 for representing c:\subd1\subsubd1 is there something that leaves the TeX a bit more human-readable, such as ...