{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

7
votes
3answers
549 views

Highlight equations by temporary changing the formatting of their number

I am writing a long paper having 100+ equations, and want to highlight a few key equations. Since the journal won't let me use boxes around equations, I am trying to have their label being typeset ...
7
votes
2answers
278 views

Consistent formatting of short index page ranges

MakeIndex allows for special formatting of ranges of two, three, or more than three consecutive pages within index entries. One may (with the help of .ist style files) change the range delimiter (by ...
10
votes
1answer
116 views

Forbid page ranges in index

I'm using imakeidx with makeindex and an .ist file. How can I forbid makeindex from creating page ranges (e.g. 3--5)?
1
vote
1answer
1k views

Prevent the overflow of text

I'm having some Yiddish text overflow it's box in a XeLaTeX document. I suspect there is a simple command to stop this from happening. Does anyone know an easy solution or do I need to make and post a ...
4
votes
1answer
143 views

An environment with custom justification

I would like to create an environment called "question" with one argument (being the question number) with a certain alignment/justification. How might I define one so that it comes out like how it ...
6
votes
1answer
292 views

How to “get” the size of the section header

I've got to format some text in the style of the section header. So what I would like to do is sort of "get" the parameters that define the section header (i.e. size, formatting, fontstyle) and apply ...
2
votes
0answers
85 views

Conditional coloring in LaTeX [duplicate]

Possible Duplicate: Parametrize shading in table through TikZ Is there any package that provide conditional coloring in LaTeX ? I would like to reproduce what Excel does with its conditional ...
1
vote
3answers
173 views

How to get the code on a single page [duplicate]

Possible Duplicate: How can I get \maketitle to create a separate title page with the article class? Hi I am new to Latex and am trying to create a latex document with the following preamble ...
2
votes
1answer
565 views

How to change Cell Height of table and control hline

I have a need to create a table, I have shown a MWE, its producing the table with the text I want. I have two question relating to the attached image. How to change the height of cells. How to ...
8
votes
3answers
680 views

How can I number the references in a bibliography irrespective of their order of appearance in a document?

I'm putting together a linguistics bibliography using lsalike.bib and lsalike.sty. I'm generating it by using \nocite{*} and would like the references to be numbered (but kept in the usual order). I'...
4
votes
1answer
2k views

achemso single-column-abstract and Helvetica captions

I am currently writing a paper with the achemso style package, as required by the American Chemical Society. I can produce the very nice two-column format by just doing \documentclass[journal=jacsat,...
0
votes
1answer
70 views

Float points in subsection

I have a serious problem here... There is a formating like this: \titleformat{\section} {\color{Mahogany}\normalfont\Large\bfseries} {\color{Mahogany}\thesection}{1em}{} \titleformat{\subsection} {\...
14
votes
1answer
878 views

Is there a workaround against loss of precision in pgfplots axis?

I am generating a bunch of plots automatically using pgfplots. For some datasets the span of data in one axis (y) is relatively small (relative to the absolute value) and therefore pgfplots when ...
-1
votes
1answer
150 views

How to bring equation into the middle of the line

I am trying to put this below equation in latex and also I need it in the middle of the line. PPV =TP /(TP + FP)
1
vote
1answer
470 views

How to represent a data set in latex?

I have below data.I would like to upload into latex doc in the below format. Length Left Right Bottom Top Diagonal 214.8 131.0 131.1 9.0 9.7 141.0 214.6 129.7 129.7 8.1 9.5 141.7 214.8 129.7 129.7 8....
6
votes
3answers
2k views

Typesetting sparse matrices with long entries

When typesetting a (square) matrix with arbitrary dimension but repeated entries (in particular null entries), I make use of the \cdots, \vdots and \ddots commands. When the entries of the matrix are ...
2
votes
1answer
222 views

Comment in a box and reference abilities

I am aware in Latex you can box text, which is what I need to do. However can you also label this box for reference, and similarly give it a caption, like you would for a photo? An example of boxing ...
1
vote
2answers
312 views

I want no idention after \newpage

I defined with \parindent=0cm that there should be no idention after new paragraphs. But the very first \chapter and every \newpage is idented! I don't want to have that, so how can I work around? ...
4
votes
1answer
79 views

Double index in the same documents

I have a question about a problem that I am facing. I have a document composed by two different and independent parts in two where the second parts refers to just some elements of the first one. Both ...
5
votes
2answers
403 views

Converting all numbers in document to set number of decimal places

I have a table which I need to automatically format all numbers to two decimal places. Is this possible? Or do I need to format the entire document? EDIT: I have applied the code suggested in an ...
13
votes
1answer
394 views

How does one implement drop caps in plain TeX?

How might one implement a simple drop cap in plain TeX without additional packages?
2
votes
1answer
153 views

Creating table of images and only one col having one picture to span all rows

I am just adding lots of images into latex and although I know how to apply images to a table, this one is slightly tricker. I have two columns. The first needs a single image which spans all rows, ...
5
votes
2answers
454 views

How can I align some text with a logo?

I am trying to right-align some text with a logo, i.e. I would like to place some text to the left of a logo, and centre this text vertically with respect to the logo. I’ve attached a pdf to be more ...
5
votes
1answer
5k views

In Lyx, how to change the “Part” section to “Chapter”?

I am using the default Lyx document "article". My sections range from "Part" to "Subsubsection". When I compile my pdf, I would like to replace "Part 1 Title1", "Part 2 Title2", etc by "Chapter 1 ...
8
votes
4answers
403 views

Document layout, combining text and figure panels

This is a question so general, I couldn't easily find an archived post which directly addressed it. I am interested in using LaTeX to design a one sided sheet containing figures and small amounts of ...
8
votes
2answers
3k views

How to style equation label and reference differently? [duplicate]

Possible Duplicate: Changing the apperance of equation numbers with amsmath I need to be able to make the labels of equations bold, but at the same time I need the citations to those equations ...
5
votes
1answer
2k views

\spacedlowsmallcaps in caption label

How i can make the labelfont also in \spacedlowsmallcaps in addition to sans serif and small ? \documentclass{article} \usepackage{microtype} \usepackage{caption} ...
1
vote
1answer
802 views

Using a new environment to make a title bold, large, in a different font, and red [closed]

I have what I thought was a simple thing to do in latex. I need to take several titles and make them LARGE,bold face,in Bookman font, and red in colour. Is the easiest way to accomplish this to use a ...
6
votes
1answer
4k views

How does \headline work?

I understand that TeX uses \headline to place headers. If \headline did not exist, how would one implement a simple version of the same? Additionally, where might one find simple documentation of ...
16
votes
1answer
711 views

A center environment for plain TeX

In TeX, one can center a single line of text with \centerline. How would one implement a center justification environment for a single long line of text in plain TeX without the addition of any ...
11
votes
2answers
420 views

Non-trivial table in LaTeX

I want to convert this OO table into latex: This is what I have so far: \begin{table} \begin{center} \begin{tabular}{|c|c|c|c|c|c|c|} %p{4cm} \hline \multicolumn{7}{|c|}{Czas wykrycia}...
5
votes
2answers
995 views

How to save and restore chapter's heading format

I am writing my thesis using a template provided by the university. It requires using the report class. To format the headings in the front matter, it uses the titlesec package and redefine the format ...
6
votes
2answers
203 views

How do I create this text delimiter?

I want to create a delimiter between two regular paragraphs of text as in the end of page 6 of this pdf. One way out could be the Vmatrix environment but then I dont know how to make the right ...
1
vote
1answer
813 views

Removing horizontal lines from the header and footer of the title page

I intend to set two blank pages before my thesis title page. However, the workaround I use does good job for the first page, but introduces horizontal lines in the title page (there were "text text..."...
8
votes
1answer
563 views

\newcommand defined for declarative formatting works for \it but not \textit or \emph

I defined this \newcommand for binomial genus/species names, which should be in italics: \newcommand{\taxon}[1]{{\it #1}} For whatever reason, it only renders the relevant text in italics if I use \...
1
vote
0answers
65 views

How To Format an Index Alphabetically in LaTeX [duplicate]

Possible Duplicate: Index with an initial letter of the group Code: \documentclass{article} \usepackage{index} \usepackage{lipsum} \makeindex \begin{document} \section{\index*{Hello World}}...
4
votes
1answer
2k views

Problem with titleformat: Don't want Chapter Style to be Applicable on Table of Contents & Bibliography

Please consider the following code: \documentclass[11pt,twoside,openany]{book} \usepackage[svgnames,x11names]{xcolor} \usepackage{wallpaper} \usepackage{changepage} \usepackage[explicit]{titlesec} \...
6
votes
2answers
698 views

Problem with \renewcommand in LaTeX

Please consider the following code: \documentclass[11pt,twoside,openany]{book} \usepackage[svgnames,x11names]{xcolor} \usepackage{wallpaper} \usepackage{changepage} \usepackage[explicit]{titlesec} \...
6
votes
1answer
4k views

Edit a default latex/beamer theme to show section numbers

I am using beamer to create a presentation. The theme I chose is Singapore. It has a nice header with section names and bullets for subsections. What is the easiest way to modify the header so that ...
6
votes
2answers
1k views

Is it possible to change text color for all headings?

I want to change only the color (not font size, etc.) of all headings in my documents (\section, \subsection, \subsubsection, ...). I want to keep all other settings fixed. Is there a way to do this?...
7
votes
2answers
2k views

Two figures side by side with text wrapping

I have a problem with text wrapping around two figures side by side, each of which has a different height. Look at the required template below. Currently I placed two pictures with minipage ...
6
votes
1answer
472 views

Biblatex \autocite in case of would-be nested footnotes

I have the same situation as the following user: biblatex: Enhancing \autocite in case of would-be nested footnotes I want to use \autocite within a \footnote. This results in the citation being ...
9
votes
1answer
4k views

How to create Bullet-List with Fancy Bullet Shapes?

Can somebody please provide some hint on how to achieve the following 2 types of bullet-lists? Type-1: [Diamond Shaped Bullets] Type-2: [Round Shaped Bullets]
4
votes
1answer
775 views

How to create a Fancy Notes-Box in half of the Page along with text

I can draw the following type of Notes-Box: Can someone please suggest me how to draw this type of Notes-Box: The second one is different from the first one in 2 ways: We can add text below ...
13
votes
2answers
1k views

How to create Multilevel Colored Boxes using tcolorbox/any other package?

tcolorbox Manual provides the following example: Can anybody please suggest me how to create exactly this type of box - The no. of rows to add must be flexible(It seems that tcolorbox has no option ...
11
votes
2answers
3k views

Footnotes layout in multicols environment

I am using the package multicol to typeset a one-column (spanning the entire text width) heading and a two-column main text block. In order to do so, I begin the multicols environment along with the ...
14
votes
2answers
5k views

Is it possible to italicize journal names and book titles through the .bst file?

I am working on an article for a Springer journal, and the specifications for manuscripts clearly ask to italicize all journal names and book titles. Doing it manually feels stupid, so I wonder if ...
1
vote
0answers
40 views

Need Help to create a Fancy 'Key-Idea' Box for Article [duplicate]

Possible Duplicate: How to create Highlight Boxes in LaTeX? I am writing an Article. I am trying to create a 'Key-Idea Box' like the one shown below: Can somebody help me creating a similar ...
6
votes
1answer
865 views

How to create Fancy Title Headers

I want to create a Fancy Title Header for an Article, like the one shown below: Can someone please provide some hint on how to achieve this?
20
votes
3answers
4k views

How to Create Comparison Tables in LaTeX?

I am a new user (both to LaTeX & this forum). I want to create a Comparison Table for an Article (like the one shown here): Can someone please help me with this.