{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

6
votes
1answer
62 views

seqsplit - keep spaces

Hey im looking to create a text wrap command to be used inside a table for long word wrapping. so far i have this: \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} ...
4
votes
1answer
77 views

amsbook-class with small caps

Is it possible to tweak the amsbook-class such that the uppercase headings (e.g. Chapter 1) are changed to small caps? Are there any "typographical objections" in doing so?
2
votes
1answer
102 views

How to change format of Appendix page name?

This is a followup question to How to add cover pages to appendices? . This screenshot shows the school requirements. This minimal example comes from Ruben's solution to the previous problem: ...
5
votes
1answer
151 views

Minimum space between last word and page number in the table of content

y question is, whether there is a solution to define a minimum blank space (length: three dots) between an entry's last word and the its page number within the table of contents? Thanks a lot! ...
28
votes
3answers
1k views

Date format: YYYY-MM-DD

Currently I put the date in my document using: \date{\today} How do I display the date in the YYYY-MM-DD format?
1
vote
0answers
85 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 ...
3
votes
1answer
80 views

How can I insert a subject line in a letter?

I am writing a letter and I would like to insert a subject line above or below the \opening. How should I do this? I prefer not to use scrlttr2 or KOMA
4
votes
2answers
128 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
97 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
122 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
65 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
205 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
104 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
76 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
276 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
244 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
68 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
64 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
73 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
82 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
545 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
169 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
100 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
88 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
100 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
89 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
122 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
96 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
112 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
167 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
95 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
206 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
106 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
180 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
91 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
136 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} ...