{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

0
votes
0answers
51 views

Landscape header formatting [duplicate]

Hello I am really new at this. I am trying to obtain a a4 landscape orientation header like this... Could anyone helpme with the code? thanks a lot
2
votes
2answers
80 views

overline over no text

Suppose I want to have the function $\bar: A \to B$ where instead of $\bar$ it's a longer bar. What is the proper way to do this? Note that the bar here is floating on top of no text. It's just ...
5
votes
2answers
55 views

Formatting list of figures with no space on left side

Basically I want this: Abbildungsverzeichnis Abbildung 1: somecaptiontextxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx.........................................................34 ...
2
votes
1answer
44 views

Same style (eg., Bt Charter, no bold style) between chapter/section/etc and ToC/LoF/LoT

I recently noticed the difference between the chapter/section/subsection font style and those in ToC, and also the style in LoF and LoT, it seems that bold style is dominant in the latter. What is the ...
4
votes
1answer
70 views

Automatic versewidth

verse package has \settowidth command to center a poetry. Example: \settowidth{\versewidth}{There was an old party of Lyme} \begin{verse}[\versewidth] There was an old party of Lyme \\ Who married ...
1
vote
2answers
477 views

How to let glossaries display “long form (abbreviation)” in the list of acronyms?

This is a pontentially dumb question, but I fail at making glossaries print the long form accompanied by the abbreviation in the list of acronyms. Let this be the document (should be self-contained): ...
2
votes
1answer
56 views

“songs” package, author font

I'm creating my own songbook with songs package. I would like to customize font of song author beneath song title. I searched the documentation and only found option to change song title font ...
2
votes
1answer
40 views

Should I make white spaces between the lines?

I don't know difference between two following codes: \documentclass{article} \begin{document} The first line. The second line. The third line. \end{document} and \documentclass{article} ...
4
votes
1answer
44 views

Resume header - format the line in the header

In resume class, when the file is created in the header is a long horizontal line. And this line appears on every page. How can I format the header to have the line only on the first page, but not on ...
3
votes
1answer
91 views

Given a 3x4 table of images, how do I make all the images the same size and remove vertical space so the table looks seamless?

I'm using a table to format a series of images. My goal is to create an image array where the transition from one figure to the next is seamless i.e. no white space anywhere. My problem is that the ...
3
votes
0answers
110 views

Hopeless table formatting [closed]

I have a document where I enter a command \tab and that creates a table for me. The right part of the table always stays the same and the left part of the table is entered with arguments of the \tab ...
1
vote
0answers
36 views

Wanting to expedite formatting

I have a long LaTeX document and in TeXworks, I want to be able to put dollar signs around things that should be in math mode without going through line by line and manually typing dollar signs. Even ...
0
votes
0answers
105 views

Formatting typographer's quote marks

This question has been asked before. But, I have not found a solution. I have a problem related with quotation marks. A MWE is: main document: ...
2
votes
2answers
61 views

\part and \thispagestyle{empty}

I have a Part page in my document where I want to hide the page number. I am using: \part{Beginning} \thispagestyle{empty} on the Part document. However, the page number still appears. I've tried ...
2
votes
3answers
142 views

Difficulties implementing Equations

I am trying to write this equations in TeXnic Center, but so far, I am not very successful. The equations I want to write are here: ...
0
votes
1answer
46 views

Fine-tuning footnote style

I need to get a grip on a custom footnote command that could be sum up by this couple of xparse commands: \documentclass[11pt, a4paper, frenchb]{report} \usepackage{xparse} ...
4
votes
1answer
198 views

Customization of the Copenhagen theme

I am preparing slides for my zeroth review (Project) using LaTeX. Now, I am very much appealed by this theme: . The theme's link is given here: link. But, It is not available. I got the base theme ...
4
votes
1answer
113 views

Customizing the navigation bar

I was wondering how I can customize the sidebar such that it only shows the current section and subsections that I am currently presenting and how can I remove the navigation bar from the title slide. ...
3
votes
1answer
81 views

Report custom format

I'm new to LaTeX and I want create a report for my college. The format specified is as follows: Left Margin – 1.5 inch Right Margin - 0.5 inch Top Margin – 1 inch Bottom Margin – 1 inch ...
4
votes
2answers
80 views

How to set fit height and width for tcbox according to the text inside?

I want to place a word into a \tcbox, but the box has too much space around the word. For example, the word "EQUAL".
2
votes
1answer
72 views

Text in table is defaced for no apparent reason

I made this table (now is modified to reproduce the problem described on Edit 1): \documentclass[11pt]{article} \usepackage[spanish,mexico]{babel} \usepackage{arabtex} \usepackage{utf8} ...
21
votes
3answers
15k views

How can I make a horizontal dashed line?

How can I make a horizontal dashed line in LaTeX? Just writing lots of single dashes results in a continuous horizontal line.
5
votes
1answer
44 views

Referring to correctly-styled algpseudocode procedure name in document

Given an algorithm written in algpseudocode: \documentclass{article} \usepackage{algorithm} \usepackage{algpseudocode} \begin{document} \begin{algorithm} \caption{Part 1} \begin{algorithmic}[1] ...
3
votes
2answers
63 views

How to manage chapter title position with a background picture?

I wrote the following code in order to design a chapter title but there is two things I did not succeed to do. \documentclass{book} \title{Titre de la thèse} \author{moi} \date{\today} ...
4
votes
1answer
65 views

Formatting code into the style used in Stackoverflow

I know that there is minted and listings for displaying nice code in .tex documents. However, I'd like to use the style that is used for Stackoverflow code: example. Are there any packages for this, ...
4
votes
2answers
52 views

Latex listings package, issue with caption touching the frame and junk character instead of space

I am using listings package and facing two issues Following is the LaTeX code and output \lstset{language=Java, basicstyle=\small, frame=single, breaklines=true, ...
1
vote
1answer
49 views

LaTeX formatting error

I've converted a word document to LaTeX but when I write : "BELLARE , M , ..." Latex shows me: "... , M , BELLERE" What's the error and how to solve it? part of text: ...
99
votes
4answers
5k views

Consistent typography

When working with large documents, or even across multiple (smaller) documents, I often find that I forget which typographical consistencies I should stick to. With TeX being inherently consistent in ...
4
votes
3answers
640 views

Bold one cell in table using CSV reader

Is it possible to bold a single desired cell (or number of cells) using csvreader (besides the head)? Here is an example of making the table. \documentclass{article} \usepackage{csvsimple} % Make ...
4
votes
1answer
76 views

How to underline a section's title without using the sectsty package (memoir class)?

Can anyone tell me how to underline a section's title without using the sectsty package please? Indeed I am using the memoir class which prohibits this package. Thank You.
1
vote
0answers
49 views

How to properly space unicode ellipsis?

Please note the discussion at the end of this thread. After discussing the tex codes \ldots et al, a commenter points out that there is a unicode code point for an ellipsis. However, on my document ...
7
votes
1answer
230 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} ...
4
votes
1answer
40 views

Reducing the distance in textbf environment

I want to introduce a notation for concatenating vectors in a manuscript that I represent vectors with bold characters, $\textbf{x}$. The problem is defining it like $\textbf{x}:\textbf{y}$ introduces ...
2
votes
2answers
101 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, ...
6
votes
2answers
133 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
70 views

How to hide references from navigation bar in beamer class?

I am doing a presentation using the beamer class with the Warsaw theme. Further, I have to disclose my bibliography at the end of the presentation. Unfortunately, as soon as I type in \bibliography{} ...
3
votes
1answer
130 views

customizing chapter title format in classicthesis

I'm using classicthesis and I'd like to change the formatting of the chapter title a little bit (f.e. size and color). I think I've found the according part in the classicthesis-style % ...
3
votes
1answer
46 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
1answer
126 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 ...
15
votes
2answers
4k views

\listings code style for HTML5 (CSS, HTML, JavaScript)

I would like to create a code style for HTML5 that can be used with the \listings package. An HTML5 document consists of three languages: CSS, HTML and JavaScript. That makes the whole thing a bit ...
12
votes
2answers
796 views

Typesetting email with internet-style quoting using LaTeX?

I'm wondering if there exists a package, that would take so-called Internet-Style Quoted plain text of an email, and format it accordingly for a PDF output. Internet-style quoting is discussed on the ...
2
votes
2answers
69 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
34 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
64 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 ...
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 ...
0
votes
1answer
66 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 ...
56
votes
12answers
77k views

Make MS Word document look like it has been typeset in LaTeX

A few years back, I used to use LaTeX for writing reports and such, and I really liked the look of them. However, nowadays I am forced to use MS Word to write my reports, but that does not hinder me ...
5
votes
1answer
199 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
48 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 ...
7
votes
1answer
108 views

Mixing underline and strike-out

Word allows for all kinds of font formatting: The above example combines strike-through/strike-out (like this) and underlining. I'd like to be able to do the same, but neither ulem nor soul allows ...