{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

3
votes
1answer
48 views

How modify the translation of a bibtex field?

When I use the "translator" field in bibtex (with fontspec and Italian as mainlanguage), for example in a entry like the following one: @Book{ apollodoro:2013, author = ...
1
vote
0answers
40 views

HTML/mathjax on arXiv [closed]

have seen some HTML papers on arxiv in the past. is there a standard for HTML+mathjax or HTML+LaTeX papers on arxiv? examples? basically am looking for a less complex version of a paper format ...
3
votes
3answers
1k views

Eat space in a line break in \lstinline{}

I use the listings package. If a line break inside a multi-word \lstinline{} occurs, I get a nasty spaces at the beginning of the new line: page left page right | ...
1
vote
0answers
31 views

How to disable Emacs+AUCTex formating for a particular chapter

Emacs+AUCTeX formats automatically the titles (section, part, ...) by increasing the font and changing the color. I would like to disable this behavior for one (and only one) chapter. This chapter is ...
4
votes
1answer
105 views

How to change date format to German?

I use the \today comment, then it produces den 26th February. However I want den 26ten Februar. How can I change that?
6
votes
1answer
2k views

hyperref: how to format text in a forms text-field

I would like to pre-format the text in a form text-field, e.g. make it bold, italic or use a specific font. The following code generates a simple text-field: \documentclass{scrreprt} ...
4
votes
1answer
50 views

Latex: How do I write “\sim_G” but so that the G is directly underneath the “\sim”?

In Latex, How do I write "\sim_G" but so that the G is directly underneath the "\sim"?
14
votes
2answers
3k views

How to typeset “evaluated at” vertical bar with two conditions instead of one?

I would like to typeset the differential of a multivariate function evaluated at a point where two of the variables take precise value. I typeset the "evaluated at" using a vertical bar, at the bottom ...
5
votes
1answer
91 views

Changing rendering of bibitems in moderncv

I'm using moderncv to style my CV and would like to modify how it renders references. Here's an MWE: \documentclass[11pt,letterpaper]{moderncv} \usepackage{fontspec} \moderncvstyle{casual} ...
4
votes
1answer
190 views

Formatting chapter headings using the titlesec package

I'm trying to do a very simple task but I'm a beginner in LaTeX, so I have some doubts. I'd like to change the chapter style. Instead of Chapter 1 Introduction I'd like to have C H A P T E R 1 ...
9
votes
3answers
150 views

How to make or add options for packages or functions

I'm using at this moment the Piano Package. This Package is a little limited so I want to change a few things. The standard color of the dots is orange. I want to change this in different situations. ...
2
votes
1answer
85 views

How to have bold font in mdframed environment?

I did not find bold word in the manual. My tex is: \documentclass{article} \usepackage[framemethod=tikz]{mdframed} \newtheorem{question}{Question} \mdfdefinestyle{que}{ linecolor=cyan, ...
4
votes
6answers
3k views

How can I auto adjust a equation to appear in the entire page? (Scale to equations, is this exist?)

If I have a document like this: \documentclass[landscape, 12pt]{report} \usepackage[landscape]{geometry} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath, amssymb, ...
8
votes
2answers
71 views

How do I vary the height of braces without varying the width?

I am trying to highlight pieces of a formula with some text on the side, but one of those pieces is multiple lines. The solution that I came up with was to use braces in an array to highlight the ...
6
votes
3answers
110 views

LaTeX errors in Formatting

I want to print this text : make -j 5 KDEB_PKGVERSION=1.yourcustomname deb-pkg But I feel because of the underscore , LaTeX generates an error missing $ inserted and it doesn't print it as well. ...
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 ...
5
votes
1answer
37 views

Using \newcommand to format numbers/strings according to a pattern [duplicate]

I'm an aspiring LaTeX user and have so far managed the first steps and created my first few documents. Coming from a programming background I've been wondering how you could use \newcommand to create ...
5
votes
3answers
116 views

When to break lines? [duplicate]

I am very new to LaTeX. A newline in the input file does not mean anything to LaTeX. An empty line in the input file means a new paragraph. Trouble is, when I view my sources with different text ...
4
votes
2answers
57 views

Working in Landscape Orientation to make a To-Do List

I'm essentially trying to re-create the following (Which may have been created in Microsoft Word) with LaTeX. I have figured out how to get into landscape orientation but it goes down onto a new page ...
3
votes
1answer
54 views

break down section and subsection as only section on the header on the beamer

How can we break down section and subsection as only section on the header on the beamer? For example, AA is from section and DATA is from subsection. \section{AA} \subsection{DATA} Is it ...
4
votes
1answer
79 views

How to add/insert a rule in the headline and footline

all: When we use the specified format from beamer, \documentclass[compress]{beamer}, how do we add/insert a black line above the headline and under the footline into each slide? ...
2
votes
1answer
37 views

Coloring \underbracket?

Can I color just the \underbracket in text or presentation, without coloring the entire text and subtext contained in it? Because {\color{red} \underbracket{Some text}_{Some other text}} will color ...
4
votes
1answer
48 views

Koma script: Restore default chapter style

I want to have for just one chapter a special chapter heading format. So I use the command \setkomafont{chapter}{\centering\large\rmfamily} and then I want to revert back to the default chapter ...
10
votes
1answer
156 views

Adding a dictionary definition

Does anyone know of a package that supports dictionary definitions? I was thinking of something like this: Source: Luscombe et al (2001), Yearbook of Medical Informatics. A) the easiest would ...
3
votes
1answer
67 views

Formatting text inside minipage

If I use \begin{textbf} and \end{textbf} (for example) inside a minipage, it seems to apply only to the first character. Here's a simple example: \documentclass{article} \begin{document} ...
1
vote
0answers
45 views

Text width not as specified in memoir [closed]

How come I cannot get the specified text width? Here's the MWE that demonstrates my problem: \documentclass[a4paper,10pt]{memoir} \usepackage{lipsum} \setstocksize{29.7cm}{21.0cm} % A4 stock ...
2
votes
2answers
50 views

ToC-title formatting problem

I am relatively new to Latex and I came across a problem I am not able to fix myself. From a friend I got a number of commands for formatting my chapter titles, which works quite well, unfortunately ...
25
votes
4answers
2k views

Stickers on Thesis paper

I want to put a sticker "Examiners Copy" on the the front page of the thesis. How to do this?
4
votes
2answers
81 views

Biblatex Formating Bibliography

Following the comments I'll start from the beginning. I want to cite with superscore numbers and a list of references in the bibliography in the following format: Book: Surname, Name: Title. ...
2
votes
1answer
34 views

Can I modify the font shape on-the-fly in my chapter headings if I have used sectsty to format?

I am having problems formatting the text in my chapter headings. I used sectsty to modify all my headings to \sffamily, but I have some parts of the heading that should be in italics and I can't work ...
2
votes
0answers
21 views

Converting a {classicthesis} book into a .doc file [duplicate]

I'm looking for a free (not shareware, because I have many files to convert and I don't want limits), stable, relatively simple way to convert my phd thesis coded using "ClassicThesis" package, into a ...
14
votes
5answers
1k views

How can i add a “field” for handwritten text?

I need to add a bunch of fields for a handwritten text to my document that look like this: Your Name ___________ Your Age ___________ As an example, I can show you the form that I have to ...
4
votes
1answer
131 views

Inserting an A1 image into an A4 document whilst maintaining page numbers?

I'm a bit new to LaTeX so sorry if this is obvious. I'm trying to insert a large image (which I have created a pdf version of) into an A4 document. I have tried using pdfpages and fitpaper=true to ...
4
votes
2answers
131 views

LaTeX table adjustments

I am typing the following table in LaTeX: \begin{center} \setlength\extrarowheight{5pt} %\renewcommand{\arraystretch}{1.2} \begin{tabular*}{3.4in}{@{\extracolsep{\fill} } | c | c | c | c | c | c | c ...
18
votes
1answer
194 views

Chronicle of email correspondences

I'd like to collect all my old private email correspondences in a LaTeX document. The document should become a kind of "diary". (I also want to bind it to a book someday.) So what I want to create ...
2
votes
0answers
68 views

Automatic line and page breaking - how to turn it off?

I am using MiKTeX 2.9 , I want to turn off automatic line and page breaking , I was trying to use {verbatim} , {alltt} and \verb+...+ , it works , but doesn't keep original font (I am using ...
4
votes
1answer
32 views

Is there a way to format a diff patch block? [duplicate]

I'm trying to inline a few snippets of diff patches, and manually formatting them is a droll - is there a way to do it automatically? In general I want it to look like the following example, but ...
2
votes
0answers
61 views

Eqnarray vs align environments [duplicate]

I keep reading that \begin{align} is preferred to \begin{eqnarray}. Unfortunately, I can't get align to justify rcl. I'll change between align and eqnarray, and the rightmost column is right ...
2
votes
1answer
71 views

Formats for writing a thesis in Mathematics [closed]

What are the usual formats for writing a thesis in Mathematics in Latex ?
5
votes
1answer
73 views

Acronyms with same style as LOT?

I use the acronym package with page numbers. Now I would like to have the dots between the acronym and the page number in same style as in the ListofTables: same spacing between the dots and between ...
9
votes
3answers
198 views

Latin's scansion : length of vowels

I am a total enthusiastic beginner in LaTeX and my work in latin studies requires some twisty signs to mark the length of the vowels. I would love to find a way to have the length display on the same ...
1
vote
2answers
85 views

Latex Recall and Precision Table [closed]

I want to draw follow table on a latex but I have spend over a day now but yet to get anything close to it. I am attaching a screen short it would be great if I can get latex command to build this ...
4
votes
3answers
116 views

formatting of the table of contents

How can I change the settings of my table of contents, so that the sections and subsections are not indented as shown in the second picture. I would also like to center the title of the Contents. I am ...
98
votes
6answers
24k views

What's the quickest way to write “2nd” “3rd” etc in LaTeX?

If I want to use abbreviations for second, third and so on in my LaTeX documents, I am currently doing this: 2$^{nd}$ which seems unsatisfactory. Is there a macro I'm missing? I'm sure I could define ...
4
votes
1answer
64 views

How to merge / overlay two pages?

This should in principle be an easy question, but I could not figure out how to do it, so I hope to find help here. A disclaimer up front: I know that this is not a recommended thing to do, and pretty ...
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 ...
5
votes
2answers
303 views

How to define, once and for all, the size of the area (for an epigraph following a chapter)?

I am using 'memoir' for a thesis, and I have chosen the vertical space between a chapter title and the following section to be exactly fixed, \afterchapskip being 120pt for each new chapter. What I ...
3
votes
1answer
73 views

Changing heading style of a section

I'm porting my CV from Word to latex. I want to include my publication list, but I want to split it into two halves, my thesis and my journal articles, with the appropriate subheadings. Since academic ...
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?
3
votes
1answer
137 views

Debugging font shape undefined in TeXShop

I am a LaTeX newbie on a Mac running OS X Mavericks, TexShop 3.26 and MacTeX-2013. I am writing a document and I keep getting the following warning: LaTeX Font Warning: Font shape `T1/phvr/m/n' ...