Tagged Questions

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

Custom floats are not labeled correctly in the listof or text references

I'm new to StackExchange and LaTeX. I am using a custom float for "schemes" using the caption package. The problem I'm having is that the label "Scheme" does not show up when using the \ref command in ...
2
votes
2answers
201 views

Beamer: How to format both frametitle and framesubtitle

I wish to customize the appearance of both my frametitle and framesubtitle. However when I try to do so, only the frametitle is rendered. This is a sample code: \documentclass[20pt, ...
3
votes
1answer
327 views

change spacedallcaps and spacedlowsmallcaps to something like spacedsmallcaps (classicthesis)

Instead of \spacedallcaps and \spacedlowsmallcaps would like to have big and small capitals (like \scshape) but keep the definitions for space between the letters, size, colour, ... With ...
2
votes
2answers
92 views

Adding a dash between words in List of Figures

Yesteday I was Searching in this site some help to construct my dissertation, my trouble was modify the style of the list of figures in LaTeX, more specificaly, add the word "Figure 1" before each ...
1
vote
0answers
39 views

using macro to identify “line breaks” as properties separator, “:” colon as properties name separator, and “-” hyphen as description

Here I have created document as per requirement. But I need to use macro in specific way. Here is my document : ...
2
votes
1answer
82 views

How to add horizontal line after references (biblatex) and glossary title?

I need to have horizontal lines after each title. For table of contents this works with: \renewcommand{\cftaftertoctitle}{\vskip 3em \auftaktvz} and ...
0
votes
1answer
69 views

To make chapter bigger in article

\documentclass{article} \usepackage{pdfpages} \begin{document} \chapter{RAA renal hormones} \label{06222014204556} \includepdf[pages={-}]{06222014204556.pdf} \end{document} I get formatting of RAA ...
2
votes
1answer
84 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
245 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
64 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
47 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
18 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
262 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
65 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
103 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
133 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
101 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
55 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
35 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
59 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
84 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
122 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
152 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
136 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
237 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
47 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
138 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
28 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
57 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 ...
4
votes
2answers
151 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
35 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 ...
39
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
310 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
79 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
193 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
64 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
701 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
61 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
130 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
69 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
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
118 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
53 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
84 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
218 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
74 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
125 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
183 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
294 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
45 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. ...