{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
26 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
36 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
55 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
103 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
73 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
40 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
98 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
45 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
49 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
250 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
75 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
65 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
645 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
35 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
96 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
65 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
20 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
47 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
125 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
65 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
144 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
287 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
31 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
113 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
77 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
107 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
76 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 ...
2
votes
2answers
41 views

justify text and preserve paragraph indentation

I want to justify my text to left without losing the paragraph indentation. I tried ragged and flushleft, although both justify the text and the next paragraph. So I am losing intendation. I do not ...
1
vote
1answer
48 views

Adding graphics and fixing reference problems

I have two problems in a academic resume. First attach a picture on the top right and second fixing some problems in references. The template can be found in here the code is given here: ...
1
vote
1answer
23 views

Make page numbers distinct in index produced by bibleref package

I'm using the the bibleref package, along with the attrib, verse, and multind packages, to cite verses from the bible and produce an index at the end of the document with the verse list and ...
0
votes
0answers
28 views

How to set single line spacing in TeXmacs? [duplicate]

I only saw options with fn unit. How much fn has identical effect as single line spacing.
3
votes
3answers
102 views

Custom Date on Latex

I have the following code: \shortdayofweekname{<day>}{<month>}{<year>}. Packages: \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} ...
3
votes
1answer
85 views

“Big Question” slide in beamer (Malmoe)

I'm using Malmoe, but this should be a general question. Typically, when I set a title for a slide, it gets special formatting. In Malmoe, that would be big, blue and fat. Say I want to have a slide ...
7
votes
1answer
191 views

Tufte style table of contents in article class

I want to create a tufte-book style ToC, very similar to how Gonzalo Medina made something in this request: Pretty Table of Contents So far this is what I got: \documentclass[letterpaper]{article} ...
0
votes
1answer
12 views

print the chapter number as name in class file latex

I am using a Duke University LaTeX template for master thesis, the template print chapter headers as follows: Chapter 1 chapter name but I want to print it as follows Chapter one: ...
0
votes
1answer
93 views

Best practices for using MATLAB images in LaTeX?

I am writing a paper currently using PDFTEX, and I make heavy use of MATLAB figures. The problem is that when I make a MATLAB figure, I can adjust it to any size, before saving it. When I save it, I ...
2
votes
1answer
81 views

Formatting help: vertical rule, headers

I am trying to reproduce the famous employee handbook from Valve. It looks like this: I'm making progress, but am stumped on three issues. 1) How to make my vertical line separating pages continue ...
5
votes
1answer
137 views

80 column rule for tex

In many other computing language, we still have reasons to stick into 80 column rule. e.g., easy to print out for checking, convenient for debugging etc. I am not sure if you also use 80 column rule ...
3
votes
1answer
48 views

How to make a blank underline? [duplicate]

I'm looking to produce something like this: blah blah ____ blah blah But with a solid line. Thanks in advance.