{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

2
votes
1answer
83 views

How to replicate this chess-related list formatting?

I'm trying to create a chess-repeated document. I already understand how to use the skak package to put chess piece symbols in my documents. My current question is more pedestrian. I would like to ...
5
votes
1answer
172 views

Using space instead of comma for large numbers?

Is there a package I could use to insert a space instead of a comma for large numbers? For example, 12 345.67 instead of 12,345.67 If needed, I am using the extbook environment. All of ...
3
votes
1answer
45 views

A utility for auto-formatting .bib files?

I have a .bib files whose formatting is kind of messy: spacing, upper/lowercase use, order within and among entries... ugh. Is there a simple command-line utility which could arrange it neatly for me ...
0
votes
2answers
42 views

multiple aligns and line breaking

I am trying to have multiple alignment in my equation in addition to line breaking. Here is a mwe illustrating my problem: \documentclass[10pt]{article} \usepackage[T1]{fontenc} \usepackage{amsmath, ...
0
votes
0answers
16 views

list all 3 to 5 author names in the first in-text citation using apacite

I use \usepackage{apacite} in the preamble (sublime 2 editor) and \bibliographystyle{apacite}. I did not have to manually install the apacite package. For in-text citations of 3 to 5 authors, I need ...
1
vote
1answer
221 views

How to make a particular sentence bold, large and underlined at the same time

I want to make one sentence of a paragraph bold, upper case and underlined at the same time. How do I do that?? For example: \textbf{} only makes it bold
2
votes
1answer
41 views

adding new address email and so on in moderncv

I tried this is example found in a previous question here: \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{casual} \usepackage{etoolbox} \makeatletter ...
2
votes
1answer
66 views

Classicthesis chapter title formatting

How can I modify ClassicThesis to format chapter headings with the word "Chapter" followed by the roman numeral chapter number, a verticle space, and the chapter title? As many know, the default looks ...
1
vote
0answers
66 views

How to respect 80-character limit per line of text in source code

Suppose I have a long line of italicized text in a report or other document. If it is more than 80 characters long, I may want to move everything after the 79th column position to the next line in ...
2
votes
1answer
74 views

Underline and bold round number in table

I use numprint package to round number in table. I want to bold, underline, etc., some round numbers, but the following is not working \documentclass{article} \usepackage{numprint} \begin{document} ...
2
votes
1answer
30 views

2 different captions for tables and figures

I want 2 different types of captions. One for table and another to figures. I use this code for tables: \usepackage[labelfont=bf,nooneline]{caption} \setlength{\abovecaptionskip}{3pt} and this for ...
3
votes
1answer
29 views

Inconsistent style of “other keywords” when breaklines=true [duplicate]

Some keywords defined with the otherkeywords key are not formatted as expected when breaklines is set to true. Here is my MWE: \documentclass[12pt, a4paper]{article} \usepackage{listings} \lstset{ ...
3
votes
1answer
28 views

Resetting glossary glsdisplayfirst

I'm working on a paper that includes a summary at the start of the document, and I would like to reset the glsdisplayfirst properties somehow, so that my glossary entries and acronyms are defined both ...
2
votes
1answer
42 views

Broken automatic line breaking in section titles when ulem and hyperref are used

I am trying to use the ulem package to underline section titles while still being able to have automatic line breaking: \documentclass{scrartcl} \usepackage[normalem]{ulem} \begin{document} ...
5
votes
1answer
94 views

TikZ: Key to the \draw command to modify the inside nodes

Suppose I have the following code: \documentclass{article} \usepackage{tikz,amsmath} \begin{document} \begin{tikzpicture}[scale=6] \tikzstyle{xthick} = [thick, |-|] \tikzstyle{xthin} = [] % ...
3
votes
1answer
58 views

Adjust Format of List of Algorithms

I'm using an existing LaTeX template for a thesis and am trying to match the List of Algorithms to the List of Figures. I have already applied some formatting changes, but there are a few attributes ...
4
votes
2answers
104 views

To label Question environment

My minimum code \documentclass{article} \usepackage[framemethod=tikz]{mdframed} \mdfdefinestyle{ans}{ linecolor=cyan, backgroundcolor=yellow!20, frametitlebackgroundcolor=green!40, ...
1
vote
3answers
77 views

Beamer overlays: changing font between slides

I am creating slides with overlays in Beamer, using TiKZ to create a figure consisting mainly of text nodes. The idea is that different parts of the figure are highlighted on each slide. Initially ...
2
votes
0answers
41 views

LaTeX Style Formating for Undergraduate Papers [closed]

I was wondering what the best LaTeX style formatting is for writing an undergraduate paper? I have only used it for lab reports so far and need to expand my knowledge of formatting for different uses. ...
2
votes
2answers
103 views

Difficulty with \flalign

Consider the following example. \begin{flalign} &Max Z=a+b\\ &Min P=c-d\\ &\mbox{subject to}\\ &a \leq 10\\ &c \geq 5 \end{flalign} When I run it I get the desired output, but ...
0
votes
0answers
27 views

Facing Table of contents problem? [duplicate]

Facing Table of Contents problem. On first page of Table of Contents no numbering but on the next It's start numbering with header n footer. \documentclass[tikz,table,twoside,12pt,a4paper]{report} ...
2
votes
1answer
46 views

Place chapter heading in margin

I'm using the memoir class. I would like the \chapter{xxx} command to place the chapter heading in the margin instead of above the text. Like this: This question is somewhat similar, but in that ...
3
votes
2answers
54 views

Line numbers are outside the box in algorithm2e

Here is my code: \documentclass[11pt]{llncs} \usepackage[utf8]{inputenc} \usepackage{parskip} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{dsfont} \usepackage{float} \usepackage{multicol} ...
2
votes
0answers
32 views

The Badness of Badboxes [duplicate]

On this forum, I have had many of the more experienced users tell me to tweak my format so that I eliminate badboxes. I do not see the point of nitpicking my LaTeX code to eliminate badboxes. I have ...
36
votes
4answers
3k views

What is the Necessity of $…$ Around Numbers?

I typed up an assignment with a lot of numbers in LaTeX and turned it in to my adviser. When he returned it to me with some corrections, one of which was a lot of $ around my numbers. I understand ...
3
votes
1answer
251 views

How to squeeze a formula inside a text in latex?

I type some formula in latex inside my text, but When I make it pdf I see it is not squeezed. How I can make it squeeze? See the attached, which shows the problem!
3
votes
0answers
77 views

Identifying and adding macros [closed]

I added two macros: \newcommand{\tblkeyword}[1]{\textcolor{red}{#1}} \newcommand{\tblkeyword}[2]{\textcolor{blue}{#2}} and tried to use at like: \tblkeyword{ObjectId} // which shows red color. ...
3
votes
1answer
70 views

I get dashes instead of bullets in \itemize

When I use \begin{itemize} ... \end{itemize}, the items are displayed as dashes. But I want them to be displayed by bullets. Those are my headers: \documentclass[11pt]{llncs} \usepackage{amsfonts} ...
0
votes
0answers
61 views

using macro to simplify the code

I got my code working with net and SO help. But now I want to simplify it using macro. I dont know macro, but people says it makes code more simplified. can some one guide me to have macro for this. ...
7
votes
1answer
646 views

How can I make my LaTeX paper look like this?

I've seen MANY papers created with LaTeX that have the following format: In particular, I like the font sizes and the way that section titles are centered and in all caps. Does anyone know if ...
3
votes
1answer
37 views

adding large curly bracket and black title background

I tried to add curly brackate using \left{ , \begin{array}{@{}ll} but no help. What is the way to add large brackate to cover as in image? Is is possible to create black strip as in image behind ...
6
votes
1answer
97 views

Formatting of long equation containing a matrix?

I've a problem formatting this equation. It's containing a 5x1 matrix and the content of a cell in a matrix is pretty long. All in all it does not fit on the page. Should I use split() or is there ...
2
votes
0answers
66 views

Can anyone help me mimick the style of ltxdockit? [closed]

First, I'd like you to take a look at the documentation of the mathspec package. Now I'm not interested in the package as such, but I'd like to use a style like the one used in the documentation. For ...
0
votes
0answers
22 views

Special format for an author's name in biblatex bibliography [duplicate]

To use bold text format for an author's name in biblatex bibliography I use \textbf{LastName, FirstName, MiddleName} command in bibliography database. I wonder if it is possible to use some special ...
1
vote
1answer
48 views

latex text bold, center and link issue

I created one doc here. It has two pages, code seems correct as per me but there are some issue with it. I used \hfill to put the title in center. IS it wrong? In email, I made only this word bold. ...
2
votes
2answers
44 views

Adding vertical line and left brackate in array

I want to display my content like in image. I have considered array for this. Let me know if is there any better option for this. \textbf {accesslog : } \textcolor{red}{ Array } \begin{tabular}{ ...
0
votes
0answers
68 views

TeX and LaTeX Stickers

I am looking for a set of stickers and labels for TeX and LaTeX. I could find a huge volume of stickers from openstickers for open source software. However, there is not a sticker for TeX and LaTeX. I ...
1
vote
0answers
130 views

creating a db schema

I am trying to create a schema page in LaTeX. It shall look like this. How can I create schema code which look like this image? There should be also a click to go function. When the user clicks on ...
1
vote
3answers
67 views

How can I format a special section title? [duplicate]

I want to make my section titles look like the ones in this figure. However I have no idea what font that is, or how to only change the font for the tiles and sections etc. or how to get the fancy ...
1
vote
2answers
67 views

starred chapter in header? (scrbook)

is there a possibility to show the unnumbered chapters (starred chapters) also in the headings of scrbook? Here's a little code-example: ...
5
votes
1answer
151 views

\pdfoutline, German sharp-s character

I use the following code to produce bookmarks in a pdf document: \pdfdest num 1 fit \pdfoutline goto num 1 count 0 {äöüÄÖÜß} äöüÄÖÜß ... more text ... The text prints fine. The pdf bookmark shows ...
6
votes
2answers
289 views

How do you use § instead of page number?

I am using biblatex. When using the cite command \cite[3]{xx} I would like it to print § 3 xx instead of p.3 xx for some citations. For others I want to cite pages. How can I do this?
1
vote
0answers
32 views

highlight glossaries entries on page

I want to highlight my glossaries entries with bold or italic formatting. I have used the following command but then the whole document is very colorful what I didn't want to have it like this. ...
6
votes
2answers
120 views

Hanging section - Memoir

I would like to obtain something like this: So far I have this: My MWE: \documentclass[article]{memoir} \usepackage{lipsum} % Layout \settrims{0pt}{0pt} \settypeblocksize{562pt}{330pt}{*} ...
2
votes
1answer
26 views

Would like to have my Header and Footer begin exactly from section page

\documentclass[a4paper]{article} %pagestyle \usepackage{fancyhdr} \usepackage{blindtext} \usepackage{lipsum} \pagestyle{fancy} \fancyhf{} \fancyhead{} ...
2
votes
2answers
78 views

How can I make whole document in italics

I need to make whole document in italics. May be with few sections in normal font. How to configure the preamble for such thing? I don't want every line/paragraph include in \textit or \emph.
5
votes
2answers
108 views

Formatting *** in a regression result table

I have a code as given below: \documentclass[10pt]{article} \usepackage{ltablex} \begin{document} \begin{tabularx}{\textwidth}{@{}rr@{}} A & $0.11^{***}$\\ & (-12.112) \\ B & ...
4
votes
1answer
79 views

Where I can get the chapterx package?

I was viewing a good page where Yiannis Lazarides show how to use chapterx and put it on google drive but right now it does´t exist, some one have it o know how to get it? Thank you in advanced
3
votes
1answer
64 views

LaTeX template for 3 ring binder tabs

I have a three ring binder and it has eight page dividers. On each page divider is a clear slot to enter a tab for the name of the subject. The tabs are 0.5 inches by 1.5 inches. Is there a way to ...
0
votes
0answers
38 views

How LaTeX format paragraph [duplicate]

When I write document I get always Underfull and Overflow warnings. I know what's does means this warnings. I want to know what LaTeX (TEX I guess) does to format a paragraph. I mean how it decides ...