{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
18 views

How to use chemfig for chemical reaction with skeletal forms

My code is: \documentclass[12pt,letterpaper]{report} \usepackage{blindtext} \usepackage[utf8]{inputenc} \usepackage[margin=1in]{geometry} \usepackage{titlesec} \setcounter{secnumdepth}{5} ...
0
votes
0answers
21 views

Infinite canvas [duplicate]

It seems that all LaTeX formatting assumes we will ultimately print the document but if the goal is to publish online - under some circumstances, we might desire to have all the document in one ...
0
votes
0answers
26 views

Defining step function [duplicate]

How to define a step function using Latex ? For example, The Dirichlet function: f(x)=1 if $x\in \mathbb{Q}$ and 0 if {x\in \mathbb{R}\\mathbb{Q}}.
0
votes
0answers
22 views

How to Split Document in TexMaker [duplicate]

My code is: \documentclass[12pt,letterpaper]{report} \usepackage{blindtext} \usepackage[utf8]{inputenc} \usepackage[margin=1in]{geometry} \usepackage{titlesec} \titleformat{\chapter}[display] ...
1
vote
0answers
18 views

Create randomized page design in a songbook

I want to create a songbook, using either the package songbook or the package songs, because every song must have guitar tabs (and I want to have the possibility of adding notes to the songs later). ...
1
vote
1answer
25 views

Justifying the output of toLatex function of utils R package

Using utils::toLatex(sessionInfo()) in .Rnw we can get R Session Info to put in LaTeX. I would highly appreciate if someone guide me to fully justify the output of utils::toLatex(sessionInfo()). ...
2
votes
1answer
40 views

bclogo page breaks

I am using the Bclogo package http://www.ctan.org/pkg/bclogo. I have created environments for lemmas and proofs with it. The proof was too big to fit on the bottom of the page, so it just inserted a ...
3
votes
1answer
42 views

Line with a \hbox is overflowing right margin, why?

Let's say I have a hbox inside a paragraph like this: Do you like me? \hfill\hbox{\quad$\bigcirc$ Yes\quad$\bigcirc$ No}. If the text of the question is longer than this "Do you like me?", the line ...
1
vote
0answers
21 views

EulerVm and Maketitle

I am unable to use the eulervm package with maketitle. If I comment out the \usepackage{eulervm} the LaTeX renders fine, but as soon as I include it, I get the following ! Math formula deleted: ...
4
votes
2answers
95 views

Is there a semantic way to typeset table headers in LaTeX?

Usually, when I add tables I use \usepackage{booktabs} and code that looks like this: \begin{table}[ht] \centering \begin{tabular}{l|rrr} \toprule Country / Property & Population ...
2
votes
0answers
51 views

Generating LaTeX reports from XML *without* external scripts

First of all, I apologize if this is pretty similiar in nature to my previous question: Reading and (custom) formatting a CSV (not \csvautotabular) I thought it would be better to separate the two ...
4
votes
1answer
33 views

Make defined words appear standalone in left margin

I've seen this in textbooks before, so I imagine it's possible. What I would like is for a defined word to show up in the left margin for easy identification when scrolling through a document. For ...
4
votes
1answer
56 views

How to draw a scatter chart with multiple columns of metadata+labels?

I want to print a scatter chart and color the nodes according to a column in the data file. The problem is, point meta already is used for other data. This is the class of the point, either ONE or ...
4
votes
2answers
84 views

Change the color of cite number in bibliography

Does anyone know know how to change the color of the cite number in the bibliography? \documentclass{book} \usepackage[square, numbers, comma, sort&compress]{natbib} % Use the "Natbib" ...
6
votes
1answer
41 views

Formatting for glossaries

I am new so please go easy :-). I am using the \glossaries package to make my acronym page. I have defined only acronyms. What I want is to make the description of the acronym in a separate column ...
0
votes
0answers
30 views

Customization of List of Tables and List of Figures title

I'm working on my thesis, and need a list of figures and list of tables. However, in the book document class I'm using the default format is not a format I can use. I did find a fix for the Table of ...
0
votes
1answer
20 views

thmtools declaration for theorem and proof.

I'm using thmtools to specify the theorem and proof environments. The problem that arises is that I want my theorems stated in italics and my proofs in non-italic. The following is my initial setup: ...
3
votes
2answers
59 views

Can I attach a \footnote to a \sidepar

Sorry for the sloppy question and editing: here my connection comes and goes in the afternoon. In a few word I need the footnote attached to a sidepar to be treated together with all the other ...
2
votes
0answers
29 views

Vertical space around table

I'm using tabu to create a table. I wish this to be center-displayed, so I am using it as follows: Body of text preceding table. \begin{center} \begin{tabu}{llX} text & text & text ...
2
votes
1answer
47 views

colorful background of the chapters in ToC without ''tocloft'' package

I would like to create a table of contents where the chapters appear with a colorful background just like attached Image, and i hope to do this without tocloft ( without packages or with titletoc ) ...
1
vote
1answer
71 views

Need Help in formatting my Book - Chapter headings - Headers

I am a Chemical Engineering graduate and I am helping my mentor in typesetting his book. He has given me the text and equations in MS Word and I have to convert the same in LaTeX. I used Adobe ...
1
vote
1answer
41 views

Need help formatting moderncv \cventry

I am working on a CV in latex and for the most part I have achieved what I am trying to accomplish but for the life of me I cant figure out how to correctly format what I am going after. Specifically, ...
3
votes
1answer
53 views

LaTeX tufte-book how to wrap around chapter, section, subsection heading

I am writing a book using the package tufte-book. Some of my chapter titles and section titles are too long. But I don't know how to get it to wrap around instead of going into the margins and off the ...
0
votes
0answers
19 views

Summing a list and specifying number of elements on list

How would I create something like either of the following on LaTeX?
1
vote
1answer
27 views

Format multiple lines within {} argument say example \ifbool

Ok as a follow up to last ask, how do I format multiple commands inside a {} parenthesis so that it doesn't crash, throw an error? thanks example \ifbool{@switch}{???????????}{???????} this works: ...
1
vote
1answer
35 views

What is the LaTeX command or package that allows one to include command line examples in their document? [duplicate]

I am running a command and want to show the output in my document. I will simply cut and paste it. I know that the font must be different. What package or command is used for formatting command ...
4
votes
1answer
85 views

remove space between paper title and abstract in AAAI

I want to remove the space between the title and abstract (marked as red box in the following pic) to save some space for my paper, I've seen some similar questions and people suggest using /vspace, I ...
4
votes
1answer
21 views

Formatting title and clauses in isov2 document class

I am currently working with the isov2 document class. I have been successful in changing the font of the entire document to Times New Roman. However, I would like for the title, table of contents ...
1
vote
1answer
51 views

How to write mathematics in cover letter? [closed]

I can't write $\ell_1$ and other mathematics symbol in this cover letter: what packages are needed? \documentclass[a4paper,parskip=full,]{scrlttr2} \usepackage[urw-garamond]{mathdesign} ...
3
votes
1answer
59 views

chapter style: how to put a box on the egde like veelo style?

I would like to modify the BlueBox chapter style of the memoir documentation (below) in such a way that the bluebox is at the edge of the page, like the veelo style. \documentclass{memoir} ...
7
votes
1answer
137 views

how to implement something that looks like email in memoir class

I'm writing some fiction and typesetting it using texlive. I want to include a number of "emails" as part of the story but I'm a bit stuck how best to achieve this. My first attempt looks like this: ...
2
votes
1answer
38 views

Journal of Fluid Mechanics Class Constraints

I am trying to format a paper to be consistent with the JFM style guidelines. I am using the JFM Latex class provided on the website. However, this class appears to be forcing a format that is not ...
1
vote
1answer
29 views

change the font size of \part (depth -1) to LARGE or Large in tocstyle

I am using tocstyle package to format my TOC. It works nicely. However, I just want to increase a little bit the title of the \part in the TOC. It seems that tocstyle uses \large font as default for ...
3
votes
2answers
54 views

How to typeset a “flatplan” / “page plan” from external images

I have a multipage PDF file (which I can export as a set of images) and need to typeset it as flatplan. It should look something like this: I can create such plans by hand but I'm looking for nice ...
0
votes
1answer
64 views

display figure before new subsection, bot not on an own page

I have multiple subsections, one with 3 subsequent figures \subsection{Sometitle 1} words words words... 3x \begin{figure}[h!] \centering \includegraphics[width=\linewidth]{pics/img} ...
0
votes
0answers
36 views

How can I make a numbering as for theorems and lemmas for postulate?

We write \begin{theorem} the theorem \end{theorem} for theorems, lemmas, corollaries and so on. For reasons of content I want to do the same for postulates. How?
2
votes
1answer
29 views

isov2 document class and symbols list

I am currently using the isov2 document class. I would like to create a list of symbols. I currently have the following output (style) using the code: \begin{symbols} ...
3
votes
1answer
27 views

No period between article name and journal, {article}-only (authoryear-ibid)

my department has very specific expectations for formatting the Works Cited. Usually, most parts are to be delimited (by a period, a comma, a colon…). I got around most of the issues, but one remains. ...
2
votes
1answer
21 views

isov2 document class and definition list

I am currently using the isov2 document class. I would like to create a list of definitions. I currently have the following output (style) using the code: \begin{definitions} ...
3
votes
1answer
35 views

Problem with twocolumn ledger format in scrbook

currently I am trying to get a thesis in architecture into a ledger (tabloid, double letter) formatted srcbook document. The issue is that it should have twocolumns - at least for the main part of the ...
0
votes
0answers
28 views

biblatex - how to romanize words in italic title and v.v [duplicate]

In this article: Italics/roman in BibTeX a question was raised but not really answered. I have the same problem, but now with biblatex. If my entry is e.g.: @article{Diensberg:boy, author= ...
4
votes
3answers
67 views

How to un-italicise Bulletpoints

\begin{proposition} An elliptic curve given by a Weierstrass equation \begin{itemize} \item[(a)]{is nonsingular iff $\Delta_E\neq0$.} \item[(b)]{has a node iff $\Delta_E=0$ and $c_4\neq0$. ...
2
votes
1answer
43 views

Change Section Label in Table of Contents and Section Title

I need help with how sections created in the appendix are labeled in the table of contents and the section title itself. As it sits now, I have each appendix as a section with a capitalized alpha ...
0
votes
0answers
58 views

Section titles without numbers in non-starred version

I am trying to format the section title in the memoir class, so there is no section numbers in it, and I don't want to use the \section*command because it makes it more cumbersome to make it show up ...
1
vote
1answer
54 views

How to provide format in latex

How to give the format of ZOZZLE as follows in latex? (please disregards to blue highlight, it is due to selection of mouse)
2
votes
0answers
52 views

Format the LaTeX code of an array

Is there any editor that can nicely format the LaTeX code for an array? By nicely format I mostly have in mind aligning the &, as in the examples below: Example 1: \begin{array}{lcl} z & = ...
2
votes
1answer
34 views

Leaked styling from my stackon

\documentclass[12pt]{article} \usepackage{verbatimbox,stackengine,xcolor,hyperref} \usepackage[left=2cm,right=2cm]{geometry} \begin{document} \title{} \author{} \maketitle \section{Overview} There ...
0
votes
2answers
37 views

How to increase the width of the page used by my text

I want to decrease the white space on either side of my body of text. Is there a specific property I can edit to do this, or would I need to import a package and use that? I don't think it's ...
4
votes
1answer
60 views

Empty line after \paragraph?

In order to have a subsubsubsection I have used \paragraph. The problem is that I get text immediately after the tittle. How do I make to get a empty line after \paragraph?
0
votes
1answer
79 views

Page number format

How can i get page numbers like that R1, R2 for reference pages? Here is a Word-based example of what I try to achieve: