{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

5
votes
2answers
145 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 ...
6
votes
2answers
200 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
38 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
239 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
235 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 ...
6
votes
1answer
184 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 ...
6
votes
1answer
1k 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
76 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
201 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 ...
4
votes
1answer
250 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 ...
7
votes
1answer
501 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
207 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 ...
10
votes
3answers
267 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
110 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
61 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
205 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
69 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
153 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
80 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
113 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
140 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
780 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 ...
7
votes
2answers
104 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 ...
4
votes
2answers
115 views

Width of tab character

I'm using the verbatim environment to format some code. Is there a way to set the desired number of spaces represented by a tab character? What is the default number of spaces?
11
votes
3answers
183 views

Not breaking the start of an environment for solution of exercises

Let suppose that I have an environment \begin{sol} ... \end{sol} for writing solutions of exercises in a test. For practical reasons, I would like that two or more solutions can be put in the same ...
4
votes
2answers
353 views

Displaying an new image for each new section with running table of contents

I would like to have the table of contents slide displayed at every \section{} however, along with the particular section highlighted (as usual in beamer using \AtBeginSection[]{...}), I would like to ...
4
votes
2answers
142 views

Suppressing the 'Appendices' page

My book has a single appendix chapter called 'Mathematical Appendix'. I'm using the appendix package. How do I get rid of the 'Appendices' page? Here's a MWE: \documentclass[12pt,openany]{book} ...
1
vote
1answer
80 views

Paralist with alwaysadjust

I want to align elements in an itemization list such that no item label uses part of the page margin. I am using the paralist package for this. However, the item indentation is not right in all cases: ...
5
votes
0answers
75 views

How can I set up nested keys using pgfkeys

I've got several documents that I would like to be able to format in different styles depending on the context of the presentation. The content should stay the same, but the formatting may need to ...
3
votes
0answers
68 views

Where can I find the layout basics for LaTeX documents?

I really like the style of \documentclass[a4paper, twocolumn]{book} These documents just look incredibly well done. This applies for LaTeX in general, the above document class is just an example. ...
2
votes
0answers
37 views

Format Inline source code like Stack Exchange [duplicate]

Stack Exchange formats code nicely with backticks using Markdown. Example: int foo = bar++ I've seen other posts that recommend using listings, specifically \lstinline to do inline source code. ...
7
votes
1answer
272 views

Inserting a landscape table into a two-column document

I have a table that takes up the length of a normal sheet of paper (when in landscape) and is only as wide as a single column. I would like to insert the table in landscape mode into one column of the ...
2
votes
2answers
433 views

Two questions: Math mode and tree diagrams for probability in LaTeX

I am trying to print a worksheet for the math class I'm teaching and I was wondering if anyone can specifically help me out in two areas. a) How do I get the output BAL1L2 without the slant? ...
1
vote
1answer
758 views

how to center align a word with bold and underline

I need to center align a word with bold and underlines. I've tried with \textbf and \centerline in all possible combinations but no use. I am using \documentclass[12pt]{report} for my report doc.
1
vote
2answers
423 views

Underline my own name in the publication list created with bibentry

I create my list of publications using \bibentry. As in some of the publications I'm only the fifth author (or there around) I would like to highlight my name by underlining it. I found solutions ...
13
votes
2answers
332 views

Joining characters in latex with no visible space between them

I would like to insert a character such that it has no width. As a toy example consider \rightarrow\leftarrow In the middle i would like to insert a (say) \bullet, but with no horizontal space. I ...
5
votes
1answer
256 views

Use of longplural, shortplural in CustomAcronymFields

I'd like to have the first occurrence of my acronyms in emphasized style. So, I redefined CustomAcronymFields and use SetCustomStyle, as suggested by the FAQ. This worked til I needed a special ...
5
votes
1answer
356 views

How can I create this kind of flow chart?

I am creating a beamer presentation. I try to create a tikz flow chart. Here is my production. T_T Actually, what I want to do is Be grateful with any help! So frustrated now. ...
5
votes
1answer
80 views

Split long text in a formula

I need to insert a formula containing text within. My problem is this text is long and it goes way over the margins, so I am trying to split the line so it could nicely fit in the page. Nothing I have ...
0
votes
1answer
78 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 ...
5
votes
6answers
250 views

Compressing an equation

The equation below seems fine to me but when I insert this into a TeX file, it gives me back an error. Is anything wrong? The scope was to compressed the equation. \begin{align*} U & = -\frac{S ...
4
votes
2answers
132 views

Output graphics code Error

\documentclass[pstricks,border=12pt,12pt]{standalone} \usepackage{amsmath} \usepackage{pst-plot,pst-node} \psset{algebraic,plotpoints=100,labelsep=3pt} \def\f[#1,#2]{2*2^(-2.5*(#1-#2)^2)} ...
3
votes
1answer
93 views

Questions about chapter section and their formation

Hello, everyone, I want to arrange the chapter and section as the picture shown and The font should be Times New Roman, 12 point, could anyone give me some tips.
9
votes
1answer
1k views

Anyone have some cool/artistic problem set templates?

I have been losing sleep lately as to how to make the most professional looking problem set (math and physics oriented) that is both easy to read and concise (i.e. no title pages), and yet is ...
0
votes
1answer
99 views

The right way of forcing a long table in place

I was wondering what is the right way to include a long table in between pages? I have a table that is an A4 page long, if I use \begin{table}[h] it pushes the table to the very end of the document, ...
1
vote
0answers
78 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, ...
4
votes
2answers
671 views

Making the languages not bold in moderncv

I'm writing my CV with the moderncv package and I'd like the un-bold the text in front of each language. In the following example, "Spoken" and "Barely Spoken" are bold, which I don't like. I ...
3
votes
1answer
140 views

Print from A4 to A0

I am a math teacher and am working on a brochure for my students, but I'm doing this aquivo in A0 size, how can I do to change to A4 without unconfigure the page. Excuse my lack of knowledge in Latex. ...
0
votes
0answers
134 views

Sections running off page

I have a long list of sections and subsections like so \chapter{Thin Lenses} \section*{Aim} \section*{A. Types of Lenses} \subsection*{Prediction} \subsection*{Observation} \subsection*{Explanation} ...
5
votes
1answer
204 views

the command \par does not work?

I have this code: \documentclass[8pt,a4paper]{article} \newcounter{conto} \setcounter{conto}{\time} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{amssymb} ...