{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

4
votes
2answers
121 views

Increasing space between columns in a list of acronyms

For my List of Acronyms page, I'd like the explanation of the acronym (i.e. "List Abbreviations Here" in the example below) to be a bit more on the right. I'm using a thesis template, which ...
5
votes
1answer
90 views

Vertical spacing in multi-line title

Using LyX I have set the document to 1.5 spacing and it is applying to my title causing a weird space since my title goes into a second line. Other places in the document changing the paragraph ...
5
votes
1answer
116 views

Does pgfplots ignore the minor grid?

I'm trying to plot an easy function and I would like to enable the minor grid. But it seems that this instruction is ignored. I used the grid=both option but it has no effect. The only grid I can see ...
4
votes
1answer
63 views

thmbox with normal font and section numbering

How can i use "normal font" for definitions and "italic" for remarks (and similar environments like them) in thmbox environment declaring some commands. Also i need numbering as "section" or ...
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 ...
2
votes
1answer
60 views

How do I enumerate sections with numbers and subsections with letters like this

How do I enumerate sections with numbers and subsections with letters like this: This is a section A. This is a subsection B. This is another subsection. Thanks
0
votes
0answers
195 views

Formatting a collection of .docx document to LaTeX document

I define a general format in a LaTeX document (title, name, etc.) and the space for the document paragraphs. To this, I want to process all the .docx files (Word Documents) and generate the formatted ...
0
votes
0answers
58 views

Page number disappearing

I'm using LaTeX to prepare my homework assignments and changed the margins on the article class using the geometry package. However, when I print the document, the page number that's usually at the ...
3
votes
2answers
101 views

\underbrace and notes in the center enviroment

Here is a little snippet of my code: \begin{center} $\small \displaystyle \underbrace{(- \frac{1}{2})^0}_{\text{1st term, j = 0}} + \underbrace{(- \frac{1}{2})^1}_{\text{2nd term, j = 1}} + ...
6
votes
2answers
75 views

Turn marginpar into a regular paragraph

I'm writing notes for a university course. My content goes into a file called content.tex and then use two other files (called notes.tex and kindle.tex) to define styles and use the LaTeX import ...
20
votes
1answer
274 views

How to I force a word to move to the end of the line?

How do I force my document to pull selected words to the end of each line (and to hyphenate them as well, if needed)? I have an old document. I know the page size and I think I've found the ...
18
votes
3answers
239 views

Typeset text immediately before \lettrine dropped capital

How do I add 'sidebar' text? I'm aware that 'sidebar' is likely the wrong word to use. Please let me know what the correct term is. I'm referring to the text to the left of the dropped cap ("The ...
4
votes
1answer
67 views

Footnotes are formatted wrong/messy

I have a problem with formatting my footnotes. They look very messy and just wrong. I could not find a way to change that, but I assume it is some kind of property, like with a \usepackage[] commant ...
6
votes
1answer
61 views

How to prevent distributing vertically over whole page in Lyx?

I work with the documentclass book (koma-script) in Lyx. In the final pdf, all text, pictures, etc., are distributed vertically over the whole page. I prefer to put them on the page from the top with ...
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 ...
5
votes
1answer
64 views

What are the parameters of Definition enviroment?

I'm trying to redefine Definition theoremstyle and I'm stuck trying to find a single webpage where I could look up the parameters of that style. I keep finding plain style, but that's not what I want. ...
11
votes
1answer
110 views

Defining a particular environment in LaTeX

I need help writing an Example environment. I just want it to look like the figure below which I took from an old book I have in my library. This is what I have done. ...
3
votes
0answers
71 views

Should points in geometry be italic? [closed]

Variables should be italic, that's where we all agree (I think). So, a length of a segment could be marked with a. What about using |AB| for length of line segment? What about notation for a triangle? ...
5
votes
1answer
81 views

changing formatting for section headers

I would like my document to have section headings that look like this: How can I achieve this in LaTeX?
5
votes
1answer
97 views

Add table titles from captions in scrreprt class

I am badly looking for a way to give all my tables the same title in the document, that is used in the list of tables via caption[title]{long description...}. The reason is that my tables originate ...
9
votes
2answers
531 views

Customizing Chapter style in scrbook

I want to obtain styles like those showed in the next two images (I do not need the picture in the background (parabolas)): My original LaTeX code (to be customized but should keep font as they ...
4
votes
1answer
81 views

Equation number placement

\documentclass[12pt,a4paper]{article} \usepackage{amsmath}\usepackage{amssymb} \begin{equation} R_{jt,L} = \left\{ \begin{array}{ccl} R_{jt} & ; & \mbox{if $P_{jt-1} > P_{jt-1,L}$; } \\ ...
3
votes
1answer
158 views

Message Sequence chart

I'm drawing a sequencediagram with LaTeX. By now it looks like this: Is it possible to remove the grey boxes? Is it possible to put a space between handshake and ws.connect? This is my Code: ...
2
votes
1answer
56 views

Rearranging the table and making identical with the attached image

\documentclass[12pt,a4paper]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{graphicx} \usepackage[left=1.25in, right=1.0in, top=1.25in, bottom=1.0in]{geometry} ...
1
vote
1answer
99 views

How to switch from portrait to landscape page orientation? [duplicate]

\documentclass[12pt,a4paper]{article} \documentclass[12pt,a4paper]{article} \usepackage{amsmath}\usepackage{amssymb} \usepackage{graphicx} \usepackage[left=1.25in, right=1.0in, top=1.25in, ...
2
votes
1answer
89 views

LaTeX and Table formatting

\documentclass{article} \usepackage[english]{babel} \begin{document} Without specifying width for last column: \begin{center} \begin{tabular}{| l | l | l | l |} \hline Day & Min Temp ...
5
votes
2answers
87 views

WMF format in Latex

How to add large picture which has a WMF format in a tex file without breaking it? When I convert the image it look fuzzy to me. I want to add the pic .wmf in Latex and it doesn't factor that how ...
5
votes
2answers
98 views

glossaries: display the page number but not the current page

I have been looking around the web for a few days for this problem, but I can't find a solution. I created a glossary for my thesis and when I display it I see the current page number at the end of ...
0
votes
0answers
34 views

Formatting table caption [duplicate]

So I have my table \begin{table} \center \begin{tabular}{| l | l | l | l |}\hline table stuff \end{tabular} \caption{Lots of words about table} \end{table} I want it so that the caption fits to the ...
6
votes
1answer
83 views

Wrong formatting with numprint package and nprounddigits

I'm using the numprint package to format my numbers, some of them which are rounded with \nprounddigits, but sometimes the formatting is wrong, like if it was somehow done before rounding, ie ...
1
vote
1answer
116 views

BibTeX style for the American Society for Microbiology (ASM) – chronological order, authors bold

I am trying to format a bibliography for the ASM journals. I found development.bst, which is similar to the ASM format, but this journal puts the references in alphabetical order and I want the ...
5
votes
0answers
95 views

Maintaining structure Workbook style

--Revised-- I am looking at a math workbook for teenagers. This one has the following structure: 1.Main Chapter 1.1 Subchapter 1.11 Task 1 a) problem 1 b) problem 2 c) problem ...
5
votes
1answer
103 views

description environment with italic, non bold labels, bullets and normal font in the description

I think I am lost in something very easy with the enumitem package. I would like a description environment where the label is in italics and the description in normal text. I tried this ...
1
vote
1answer
58 views

How to let \in or \notin appear above the underline when clicking the screen?

\documentclass{beamer} \usepackage{beamerthemesplit} \usepackage[english]{babel} \setbeamercovered{transparent} \begin{document} \begin{frame} \frametitle{1.use$\in$or$\notin$.} (1)Suppose $A$ are ...
4
votes
1answer
166 views

Formatting table issues

I have a table here, which is formatted in Microsoft Word. I wish to have the same table in LaTeX. Here is what I have tried to no avail: \begin{table}[H] \noindent ...
3
votes
1answer
90 views

Macro to apply tabcolsep to a table from external file

I am using R to produce my tables via xtable, but I am not using Sweave to write my document. Instead I am using TexStudio and if possible would like to stick with it. Therefore I am using \input to ...
6
votes
1answer
199 views

Adding a picture before abstract in extended abstract format

I am writing a conference paper in the Extended Abstract Format (with the chi-ext class, distributed by SIGCHI). The problem I am getting is to inserting a picture under the section of authors ...
0
votes
2answers
102 views

Search for word and italicize

I'm using LaTeX to format my books now. When I transitioned one of my books from Word to LaTeX, the italicized words didn't carry over, so I used the command \textit{word}. But after sending it to my ...
8
votes
3answers
179 views

How to customize enumeration to implement Brazilian law texts?

This is a standard model of a Brazilian contract: http://www.consultta.com/modelos_contratos/modelos_contrato/0215.htm It more or less follow the way Brazilian laws are written: as you can see, the ...
7
votes
1answer
90 views

Change format of the contents page

I want to label some of my sections listed in my contents page as 'Introductory'. I thought I could achieve this by having a dotted box around these chapters in the contents page that marks them as ...
3
votes
0answers
60 views

Caption of Table “floating” above the table [duplicate]

I have the following code: \documentclass{article} \usepackage{caption} \usepackage{booktabs} \begin {document} \begin {table} [ht] \caption*{\bf{Table 6: Pattern of Share Ownership, 2011}} ...
3
votes
1answer
134 views

Formatting the thesis chapter title

I am presently working on my masters thesis. My code is as follows \documentclass[12pt, a4paper, oneside]{thesis} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} ...
2
votes
1answer
45 views

How to manage long lines of inputs in function declaration, or inside the code, in clrscode3e

This is a part of my code: \begin{codebox} \Procname{$\proc{\textbf{Connect_two_SamplePoints}}(Graph,S1, S2,connectionCostMat,cost)$} \li \Comment S1 and S2 are sample points \li cost[S1][S2] $=$ ...
3
votes
0answers
78 views

Improve output format

Could someone take a look at this output in pdf form and tell me is there a way that I could avoid so much empty space at the end of pages 1 and 3? Apologies for sending ALL the code, but it's ...
3
votes
1answer
49 views

biblatex and new line for Title, and all entries in general

I want to create a Bibliography that is a little more readable, meaning, for a single bibliography entry everything should start on a new line. Since the document will not be printed, nor submitted to ...
3
votes
1answer
85 views

Formatting the thread call stack

Given a thread call stack as follows: FATAL org.apache.hadoop.mapred.TaskTracker: Error running child : java.lang.OutOfMemoryError: Java heap space ...
1
vote
3answers
100 views

How to outputs 'C\C++'

I just try output C\C++ in LaTeX as following below: \textit{C\backslashC\+\+} But im getting this issue: ! Undefined control sequence. <argument> C\backslashC \+\+ ...
3
votes
4answers
196 views

Formatting the SQL-like script

Suppose we have a script as follows: a = LOAD 'data' USING BinStorage AS (user); b = GROUP a BY user; c = FOREACH b GENERATE COUNT(a) AS cnt; d = ORDER c BY cnt; How to write the latex code to ...
6
votes
2answers
71 views

Edit marginpar command through whole document

I'm finding myself doing the following on every margin paragraph: \marginpar{\raggedright \scriptsize <content here>} Is there a way to set the align and script size for every margin ...