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

1
vote
1answer
509 views

Thesis running problem in KILE

I'm using KILE editor. There is no problem when I run others .tex article in Kile. But problem is when I run a thesis article in KILE. This thesis article is running fine in WinEdt. ...
0
votes
1answer
43 views

Equation formatting (alignment) [closed]

According the question I have written the file but I got something wrong. Can you please check? \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} &\begin{aligned} ...
2
votes
1answer
79 views

scaling equation within margin

I have split an equation across several lines but I couldn't remain perfectly within the margin. The input is \begin{equation*} \begin{split} & ...
4
votes
1answer
283 views

Trouble with Bible Style page header lines

I'm attempting to typeset a Bible for my mom and I'm running into a few problems and I was hoping someone here could help. First I'll start with the easy question. I'm currently using two columns ...
2
votes
1answer
49 views

Creating variable pagebreaks

Is it possible to procedurally generate page breaks by measuring text/page space? I am having a problem which you can see here: There are two problems in this picture. First, the heading should ...
4
votes
1answer
353 views

KomaScript Book: How to have Chapter Headings formatted just like text?

Might seem like an odd thing to do, but so far it's proven beyond my novice-level Latex abilities, and related posts I've looked at on this site seem a little more complicated than what I need. In ...
2
votes
2answers
2k views

Numbering paragraphs in latex

I would like to number paragraphs for a covering report I am writing. Paragraphs should increment and not reset with new sections. The text should not be bold. Here is what I have tried \makeatletter ...
2
votes
0answers
112 views

Deciding whether to end a line with a character or not in lstlisting [closed]

I need to write a document where there are written inputs and outputs of unix command line interface software (through bash). For example I need to show something like: $ git log --pretty=format:"%h ...
14
votes
3answers
309 views

Frac or inference rule with dotted line

I would like to have a \frac or mathpartir-style inference rule with a dotted rather than solid line, so that I can put fractions into inference rules without overloading horizontal bar. The ...
11
votes
1answer
653 views

Algorithm as figure and without italic and bold formatting?

I want to include an algorithm in my latex document, however without printing most of it in italic and all the keywords in bold font like it's done by default by e.g. the algorithmicx package. I like ...
3
votes
1answer
299 views

How to get horizontal black line when coloring cells?

I have the following table with an arrow showing the missing black horizontal black line: Here is the relevant code, I am wondering how do I get a black horizontal line where there is one missing? ...
3
votes
1answer
441 views

Add paragraph symbol to section

I would like to ask how can I add the paragraph symbol § so that it will be displayed as below: §4 First section §5 Second section By default it is generated as below when a ...
3
votes
3answers
181 views

How to create a vertically and horizontally centred title page

Could anyone help me make my title page for a report centred both vertically and horizontally, i.e. directly in the middle of its own page. My code looks like this: ...
2
votes
0answers
78 views

How to eliminate excessive vertical spacing [closed]

How would someone go about eliminating excessive spacing (leading) in a document? I don't see any reason why these gaps are there. Below is part of the code that I'm working with, the gaps are after ...
1
vote
1answer
109 views

Assigning different colors to numerical values below a certain parameter?

I'm relatively new to Latex so apologies for any stupidity upcoming. I'm trying to read a Matlab vector into a latex table with values ranging between 0 and 1. For the values less than 0.1, I want ...
1
vote
1answer
117 views

How count a space betwen glyph (without glue)

How do I count width of glyph, and the space between glyphs? I have: font word How to get all information about the space between glyph. "Test." in font "Times New Roman". I need get: width "T" ...
3
votes
1answer
78 views

How to leave space on the side of a page for figures

I have noticed that a lot of technical books leave room for figures on the left side of the page. The text is on the right, and it is restricted to not take up the entire page width so that there is ...
6
votes
1answer
2k views

Change item and subitem text colour in beamer lists

I am using Montpellier theme for beamer presentation. I need to change the item and subitem text colors. I also need to make the subitem text italics. How do I do that?
5
votes
1answer
157 views

Formatting cites in foonotes and bibliography differently using biblatex

I am creating my own class file that I want to use for a series of homeworks I have to write for my studies. I got stuck when trying to get the references sorted as per the university's template. ...
8
votes
4answers
218 views

Repeating a 3 x 2.5 image

I was able to make a single business card that is 3in x 2.5in. However, I am having problems find a script that will repeat it 10 times on a page without a frame. This is what I am currently using ...
14
votes
4answers
733 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 ...
0
votes
0answers
51 views

Tikz Braces On Top of Image [duplicate]

I am trying to produce the following result: I've never placed tikz objects on images. Any help would be appreciated.
1
vote
1answer
181 views

Text flowing out in two column format due to section title

This is the code: \documentclass[sttt]{svjour} \usepackage{graphics} \begin{document} % \title{Title} \author{Author} % % \institute{Institute} % \date{Received: date / Revised version: date} ...
3
votes
2answers
198 views

How to modify Subsubsection Header (apa6.cls)?

I am using the apa6.cls for my document and need a different format of the section headers. I managed to modify the section and subsection header to match my criteria (see below). But the ...
19
votes
3answers
407 views

How to produce a period sequence

I would like to create a document which has a sequence of periods like: ...................... Date and ............................ Signature Is there any way to do it without typing all the ...
5
votes
2answers
307 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} ...
13
votes
1answer
363 views

How does one construct an abstract (n × n) empty grid of squares?

I would like to just create a grid like this, but without numbers or color, but I'd like to represent an n × n grid abstractly with ellipses like this: Also, I need just a simple—singular—grid ...
2
votes
0answers
68 views

Replacing brackets with parentheses for \textcite, Biblatex numeric-comp [duplicate]

I'm trying to modify the numeric-comp style so in-text citations appear with parentheses rather than brackets for both \cite and \textcite i.e. [1] becomes (1) and Smith et al. [1] becomes Smith et ...
7
votes
2answers
153 views

How to put \dots in front equation numbers in amsmath

By default the style is \renewcommand{\theequation}{\thechapter.\arabic{equation}} for example x+y =4 (2.1) How to put \dots in front equation numbering such as ...
10
votes
1answer
181 views

Adding a dictionary definition

Does anyone know of a package that supports dictionary definitions? I was thinking of something like this: Source: Luscombe et al (2001), Yearbook of Medical Informatics. A) the easiest would ...
1
vote
1answer
4k views

Latex - width of the colorbox

I'm doing my CV in Latex using this template: http://www.howtotex.com/images/latex-plaincv-screen.png My problem is the duration of the working experience. If I write for example March 2013 - ...
7
votes
1answer
189 views

Setting leading in LaTeX using \fontsize: what are the advantages and disadvantages?

LaTeX has several ways of setting leading without changing anything else, including: \fontsize{default font size}{value of leading}\selectfont \linespread{ratio of leading to original} ...
5
votes
1answer
121 views

Table of Values

How can something like this be done in MacTex:
2
votes
1answer
178 views

How can I format a book to this layout?

I want to format a document to the layout of the picture. How can I format?
3
votes
1answer
344 views

\frontmatter causes bad text formatting

When I insert \frontmatter into my LaTeX document, it causes all of the text to be centered and in the wrong font. I'm using a template called Legrand Orange Book ...
3
votes
1answer
132 views

Name formatting with cleveref - question about types

I want to customize the text that appears when I do a \cref{}, so for example, I want to make a link to section 0.1 but I want the text to say 'Summary' not section 0.1. I had this part working with ...
4
votes
1answer
191 views

Section title coloring code makes Table of content numbered

I was looking for a way to have a colorbox as background of section titles. The following answer that I got on this thread was succesful in doing just that. But it has a side effect that is rather ...
2
votes
1answer
127 views

How to create a pre-processing command that accepts plain text and generates formatted text (based on configurable options)

Looking for the best way of creating a string-processing command in latex to achieve things like below: Given a long piece of normal text, and a set of keywords, automatically format the matching ...
2
votes
1answer
152 views

How can I set the part name and title on the same line?

How can I set part name and title on the same line. Now (at default) , the Part number is at one line, and the name of part is one line below... For example, instead of PART I This is my title ...
9
votes
0answers
166 views

Is there a LaTeX formatter/beautifier (indenter, wrapper, context aware) similar to HTMLTidy? [duplicate]

Alternating work on a laptop, netbook and tablet the word wrap of a document is sometimes too long (for small screens) and too short (for large screens). This also got me thinking. Is there a tool ...
0
votes
2answers
315 views

Special characters are losing format every time I open a document

Ok I was working with this document at home and at work in Gummi. I was using a template where everything is set for spanish so everything was working fine. Today I come to work and I find that when I ...
0
votes
0answers
54 views

Text flowing out in two column format [duplicate]

This is the code: \documentclass[sttt]{svjour} \usepackage{graphics} \begin{document} % \title{Title} \author{Author} % % \institute{Institute} % \date{Received: date / Revised version: date} ...
4
votes
2answers
2k views

Underline subsections

I am able to make subsections italic and larger using the titlesec package, but there seems to be no working solution to make them underlined. Here is my current document: ...
2
votes
1answer
76 views

Bibliographic style for manually added bibliography

I am using the thebibliography environment inside a LaTeX document. Right now, the entries appear in PDF like: [1] DACUNHA-CASTELLE, D., et DUFLO, M., Probabilites et statistique-problemes a ...
2
votes
1answer
39 views

Multiple alignments from top of page on a single page

I am trying to specify the location of text from the top of a page. I know how to set the margins for the main text and can set the top, bottom, left, and right margins for certain pages using the ...
2
votes
1answer
164 views

Set permanent first bullet starting point in beamer

I'm trying to set a permanent starting point for bullets in my Beamer slides. By default, the bullets are centered in the middle of the page. I have tried using the [t] option, but it places the first ...
5
votes
2answers
77 views

Forcing case in table

I was wondering if it was possible to force the case for a specific column in a table? Let's say the 3rd column of the following table to be lowercase. \documentclass[10pt,a4paper]{article} ...
1
vote
2answers
495 views

Page width problem in CV (Koma-script)

I am trying to compile my CV using the scrartcl document class. I am struggling a lot to reduce the margin on the right side of the page. If e.g. the university name is too long, it will follow on the ...
0
votes
2answers
218 views

How to include tex files

Is there any way that I can add different .tex files (From different folders) into another folder's .tex file? I meant that all of the .tex files will be fine and separated and I just need to ...
9
votes
3answers
226 views

Latin's scansion : length of vowels

I am a total enthusiastic beginner in LaTeX and my work in latin studies requires some twisty signs to mark the length of the vowels. I would love to find a way to have the length display on the same ...