{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

8
votes
1answer
2k views

Two plural forms for acronyms

Is it possible to have more than one plural form for acronyms? I want to use the following german term for revision/version control system: VVS for Versionsverwaltungssystem the normal plural would ...
2
votes
2answers
136 views

Parenthesis destroy line formatting

I have just started using Latex. Here is the Latex code: \rightarrow (a, b). The virtual and here is the outcome. What is causing this problem and how do I fix it?
2
votes
1answer
98 views

Placing a .pdf file in the center with \multirow

The following is my code \begin{sidewaysfigure} \centering \scalebox{0.9}{\begin{tabular}{c|c|cc} \emph{}&\emph{a}&\emph{b}&\emph{c}\\ \hline \rotatebox{90}{text}&\multirow{2}{*}{ ...
3
votes
1answer
4k views

Making scientific table with AASTex package - is there a better option?

I really like the formatting of tables offered by the AASTex package. AASTex Generator But it is not quite what I need in terms of flexibility. Here is some code for a table I am making. I don't ...
10
votes
2answers
3k views

How to define inparaenum in the preamble

I'm using both \inparaenum and \enumerate in my thesis and I would like them to set them in the preamble so that each item is set off with a). I used \setenumerate[0]{\itshape a\upshape)} in the ...
2
votes
1answer
2k views

Changing theorem/lemma… label to bold italics

For theorems in my contribution I use \theoremstyle{plain}. This style prints theorem label in bold italics, eg. 'Theorem 1.', which is followed by text in italics. How could I set 'Theorem 1.' to ...
2
votes
1answer
201 views

How to add newline while using everyline in mdframed?

I am working on mdframed and found solution of using mdframed on multiple pages by using everyline but it new box has no margin or newline. So it starts from beginning which looks odd? ...
4
votes
2answers
8k views

Changing the subfigure caption by removing brackets & font of the subcaption

Note that by using \usepackage[bf]{subfigure} I'm able to change the label of the subfigure to be boldface. However, the label appears with brackets, e.g., "(a)". How could I get a subfigure label ...
15
votes
2answers
36k views

Adjusting column width in LaTeX with the multicol package

I'm trying to get a two column "academic style" paper layout on my LaTeX paper. I'm aware there are at least two common ways of doing this, either with adjusting \documentclass or with the more ...
6
votes
2answers
2k views

Hide \thechapter for unnumbered Chapters

I want to display my Chapter-Numbers on the right below the Title. I came to the following minimal working example: \documentclass{article} \usepackage{titlesec} \usepackage{marginnote} ...
1
vote
1answer
448 views

Placing subfigure argument at the distance below the figure

In my \documentclass[a4paper,12pt]{book} I'm using the following \begin{figure}[] \centering \subfigure[text A]{\includegraphics[width=0.47\textwidth]{a.pdf}} \subfigure[text ...
1
vote
0answers
64 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? ...
4
votes
2answers
619 views

Bold author if source is an article

i got some articles i cite in my thesis. The author should be bold in the bibliography but i dont know how. I tried to use \textbf in the bibtex file but then the format isn't correct anymore. Would ...
4
votes
1answer
121 views

How to specify documentclass option for a 5 inch * 7 inch book?

I wanted to use Latex to make a book. But not in A4 size. I want it in 5 inch * 7 inch. The standard size for a novel. In \documentclass[a4paper]{book}, is there anything that can replace 'a4paper' ...
3
votes
2answers
1k views

Create a name box on an exam

Is there an easy way to put a box in the upper right corner asking for student name/number on the first page? Is there something analogous to defining the location of something on a web-page in terms ...
5
votes
1answer
471 views

formatting section numbers with \hangsection in Memoir

I'd previously been renewing my section command in Memoir in order to style the section numbers by prefacing them with a symbol (§) and following them with a period: \renewcommand{\thesection}{§ ...
2
votes
0answers
421 views

“reverse-engineering” a certain pdf [closed]

I am trying to figure out how to create a latex amble that would lead to a PDF similar to the following: http://arxiv.org/abs/0811.4413 I am talking about margins, font size (of various headers, ...
2
votes
0answers
290 views

How to have two left margins at different points on one page? [duplicate]

Possible Duplicate: How can I change the margins for only part of the text? I have managed to get what I want with changepage, but was wondering if there is an easier or more elegant way to ...
2
votes
1answer
540 views

How to avoid gap in the bibliography when there is a number but no volume

I'm trying to customize my bts to match the requirements of my institute. My problem is followingoutput when citing articles that have a number but no volume: Amable, Bruno (2010): Morals and ...
6
votes
1answer
2k views

Create a bold enumerated list with parenthesized lower case letters

I can create an enumerated list with parenthesized lower case letters by using the enumitem package (with the [shortlabels] option) in the preamble and then using \begin{enumerate}[(a)]. I can also ...
0
votes
0answers
50 views

Problem with the subscript of the summation sign written in the text [duplicate]

Possible Duplicate: How to stack limits for maths operators? The following is the text having summation sign $\sum_{a,b}$ replacing $\sum_{a=1}^n\sum_{a=1,~b\neq a}^{n}$ that is within ...
5
votes
1answer
246 views

A bit larger spread between rows of a 2x2 table

The following is my expression: \begin{equation} \left[ \begin{tabular}{c|c} $y$ & $a_{bc}$ \\ \hline $a_{ab}^T$ & $y$ \end{tabular} \right]. \end{equation} Note ...
9
votes
2answers
3k views

Override first/last name splitting for one entry in BibTeX

I want to preserve the ordering of the author field and avoid the automatic abbreviations, and only that, for this specific entry. I have something like: @TECHREPORT{abcd2012, author = {Free ...
10
votes
2answers
12k views

Format ToC for thesis

I apologize for the unspecified and broad question but I have no way to be specific. I'm looking to generate the TOC and List of Figure, List of Table according to the format required by my school. ...
2
votes
1answer
190 views

Problem with centering the text of the title page and more

The following is the code related to my title page: \documentclass[a4paper,12pt]{book} \usepackage{amsmath, amsthm, amssymb} \usepackage{url} \usepackage[algoruled,vlined]{algorithm2e} ...
17
votes
2answers
1k views

Fancy cross-referencing

As an extended idea of Using section sign (§) for cross-references to sections, how can we use See ⚙5.2 and ☰5.3 in ☞123. instead of: See figure 5.2 and table 5.3 in page 123. ...
28
votes
3answers
32k views

Using section sign (§) for cross-references to sections

In some papers and books you see that author uses §1.3 instead of section 1.3. How § sign can be added before section (or part, chapter, ...) number automatically? Please mention any useful tip about ...
3
votes
1answer
1k views

Change separator between caption label and number

I've tried to accomplish this for some time with the caption package, but with no result. What I want to do is change the following: Figure 1: text into Figure-1: text I.e. replace the space with ...
2
votes
3answers
318 views

Process Last Item in \ForEach (forarray package)

The following command of the forarray package \ForEach{,}{\thislevelitem(\the\thislevelcount) : }}{x,y,z} produces the output x(1) : y(2) : z(3) : I want to have the same output without the last ...
1
vote
0answers
92 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., ...
3
votes
1answer
416 views

Formatting of coordinates?

In case I want to describe the pixels of a picture with cartesian coordinates, how would I properly typeset the coordinates? Is p_\mathrm{x}, p_\mathrm{y} correct or rather c_x, c_y? x and y represent ...
6
votes
2answers
458 views

Listing Chapter/Section/Subsection numbers with the preview

After compiling all the content of the book, I use Adobe reader to preview the content. Note that the legend that I use to navigate through the book (the listing on the left (usually) with the option ...
6
votes
1answer
3k views

Overlap of section and chapter name in the header

In the header of the book I'm writing using Latex, the Chapter name and a Section name are overlapping due to the large number of characters. For instance, in the final pdf file, the header is "2.1. ...
1
vote
0answers
325 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?
5
votes
3answers
2k views

How to put align two things between a long vertical bar?

Basically what I want is something like this ###### | ###### ###### | ###### ###### | ###### ###### | ###### ###### | ###### ###### | ###### where # represents a derivation for an equation or ...
5
votes
2answers
451 views

Question about papersize A4 at 81%

I'm going to print my thesis at the size of 81% A4 which is a beautiful paper format and pretty common with scientific publications. I'm wondering what's better: Either creating an document with ...
14
votes
2answers
750 views

Creating my first command

I want to create a command that will format code in a certain way. In this case I want code to be italic and red. So instead of doing \textcolor{red}{\textit code} I want to make a function, if you ...
11
votes
1answer
2k views

Format section titles as white text on black background

I would like to redefine the \section and \section* to produce section titles that look roughly like this: that is, text in white over a black bar that extends from left to right margin. I don't ...
7
votes
2answers
338 views

How to insert invisible linebreaks in urls?

I'm using biblatex and I'm quoting a commit on github that looks like this: http://github.com/torvalds/linux/commit/693d92a1bbc9e42681c42ed190bd42b636ca876f The biblatex-entry looks like this, ...
0
votes
1answer
1k views

article with notitlepage still has the title page separately. why? [closed]

It seems strange from what I've read because the documentclass article should not generate a separate page for the title. For me, it does, though. Even if I add the option notitlepage. The code: ...
11
votes
2answers
3k views

Why are \listof{}{} and \listoffigures styled differently?

I'm writing my thesis and I have certain code-snippets to show. I'm using the the listings package embedded in a custom float environment to display them. To list them in an index at the beginning of ...
11
votes
2answers
218 views

Is there such thing as “p{height}”

I am making a table right now and it's really annoying that items in my cell are getting crunched \begin{center} \begin{tabular}{|c| c | c|} Critical Points $P_0$ & $f(P_0)$ & Conclusion \\ ...
5
votes
1answer
2k views

How do I write something beside math text?

I have some giant matrices or systems of equations that are getting in my way of my text. Basically is hard enough to write them all in the same line, but when I want to write something beside it, ...
13
votes
3answers
2k views

How to show section title before section number

The default style is section number and then section title, however I want it the other way around. Haven't been able to find a solution that doesn't give me strange errors, so any help would be ...
7
votes
2answers
1k views

Text style for marginpar

Is there a way to change the font, font size and so on for \marginpar with a standard LaTeX macro, i.e. without something such as \let\oldmarginpar\marginpar (cp. Problem with Customized Marginpar (in ...
9
votes
2answers
276 views

Formatting index page references as “1 sq.” without “sq.” being part of a hyperlink

By default, MakeIndex will format page references which are composed of two or three consecutive pages as (e.g.) "1, 2"/"1-3". With a suitable index style file, the formatting can be changed to "1 ...
4
votes
2answers
1k views

Changing the style of a single section

I'm trying to change the format of a single section in my document. The section is the introduction of my document, and therefore, I don't want it to be numbered. I tried to define a new command ...
4
votes
1answer
432 views

Creating two column article with only section title on one column

I am trying to create a class file of my own for a personally formatted CV. I would like to know how to create two column cv with one column containing only the section title while the others ...
3
votes
2answers
1k views

change the formatting of the chapter

I am trying to change the formatting of my chapter. The class i am using is report. I want it to be bold centered. I used the following but no effect. . \renewcommand{\@makechapterhead}[1]{% ...
10
votes
1answer
502 views

Specific section format

I'd like to use titlesec to typeset a section header that would look like this: --------- Name of Section ------------ (the ---- would be a rule, and the entire section header would be centered) ...