{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
51 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 ...
0
votes
1answer
182 views

Creating paper forms in LaTeX?

I want to create a handout with dotted lines for the recipient to fill in, a little like this: What's the best way to do so? I could imagine doing it as a tikzpicture, but that seems clunky. Is ...
3
votes
0answers
78 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. ...
4
votes
2answers
281 views

Creating Thin Tables in LaTeX

Suppose I have the following table: \begin{table}[!p] \fontsize{6}{6}\selectfont \caption{First 200 terms of Hofstadter's $Q(n)$}\label{tab11} \center{ \begin{tabular}{l r r r r r l r r r r r} ...
21
votes
4answers
3k views

How to make the optional title of a theorem bold with amsthm?

I use the code mentioned in Title of the theorem: \begin{theorem}[The title] Some statement \end{theorem} However with amsthm the optional title -- above: "The title" -- is neither bold nor italic, ...
3
votes
1answer
261 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
1answer
89 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
62 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
662 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
48 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 ...
3
votes
0answers
53 views

Format Name of Video codecs

I'm currently writing my Masterthesis for a german University. I used a few different codecs in my work (like H.264). What is the correct/sensible way to write them in my Latex Document? Examples of ...
17
votes
3answers
2k 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.
6
votes
1answer
103 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 ...
0
votes
0answers
77 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 ...
2
votes
2answers
49 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
25 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
59 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. ...
1
vote
0answers
159 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
71 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 ...
55
votes
4answers
2k views

underline omitting the descenders

I'm very well aware that it is considered best practice not to use underlining other than on typewriters and in handwriting. But sometimes it is needed nonetheless. In my opinion the typographically ...
1
vote
2answers
88 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
158 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
290 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
37 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. ...
4
votes
1answer
90 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
4
votes
1answer
98 views

How to remove image of tree in beamer progressbar theme

When I run: \documentclass[color=option]{beamer} \mode<presentation> \usepackage[english] {babel} \usepackage{amsmath, amsfonts, graphicx} \usepackage{bibunits, tikz} \usetheme{Antibes} ...
2
votes
1answer
31 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
85 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
116 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 & ...
14
votes
4answers
630 views

Create fill-in-the-blank version of a document with ability to toggle blanks on and off

I am preparing some lecture notes/slides and would like to efficiently create two versions of the output: a complete version for myself, and a version for my students with certain text replaced with ...
3
votes
1answer
75 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
57 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 ...
31
votes
2answers
31k views

Change caption name of figures

How can I modify the caption name of a figure? For example I have \caption{This is a figure.} and by default the caption appears as Figure 1: This is a figure. However I want Fig.1 - This ...
14
votes
1answer
2k views

Globally customizing the style of figure captions [duplicate]

Is it possible to globally alter the way figure captions are rendered? For example, I might want to wrap all captions in \textit to better distinguish captions from regular text.
1
vote
1answer
63 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
65 views

How can I create a line with small text below it as in contracts? [duplicate]

I would like to create a line with text below it as it can be seen often in contracts: Ideally, that line would have a fillable element over it. Minimal Working Example The best I could come up ...
1
vote
1answer
25 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.
13
votes
5answers
395 views

Transform big number into scientific format

I want to convert my big integer number into a shorter form; for example \convert{123456789} = 1.23 x 10^9 Is there any package which allows me to do so?
3
votes
3answers
112 views

Custom Date on Latex

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

How can I change the default \\ spacing?

So, I have a definition which takes in data like this: ...{apple\\orange\\cat\\imperial green tea\\left-handed president}... In the document I get the following after compilation: apple orange ...
3
votes
1answer
92 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 ...
12
votes
6answers
2k views

Formatting arrows between rows of corresponding matrices

Some material I'm creating requires output that looks like this: (note the position of the arrows). I'm using the following code (with the AMS macros) to generate this, and I'm looking for ...
1
vote
1answer
232 views

Problem in Kile editor so LaTeX file is not running

EDITED post: In the following Template http://www.latextemplates.com/template/masters-doctoral-thesis \documentclass[11pt, a4paper, oneside]{Thesis} % Paper size, default font size and one-sided ...
0
votes
1answer
122 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 ...
5
votes
1answer
146 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
52 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.
6
votes
3answers
194 views

Set author's name in small caps the first time it appears in the text

I would like to set author names in small caps the first time they appear in the text. \documentclass{article} \usepackage[T1]{fontenc} \newcommand{\authorname}{?} \begin{document} When the name ...
2
votes
0answers
59 views

How to get “and,” “with,” “for,” etc. to print small and with diagonal banners behind

There was a typography contest from which an answerer featured these diagonal instances of "and," "with," "for," etc. which were slightly tilted and had banner-like symbols behind them. How can I do ...