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
270 views

biblatex verbose style @article bib— remove parenthesis around year and month

I'm using biblatex with verbose-ibid style. For one of the @article entries, I have the following: @article{ref_133, title = {IBM wants Minneapolis to become a 'smarter city'}, author = ...
1
vote
1answer
125 views

Script dialogues

I'm trying to write a script, and I have defined the following commands: \newcommand{\SpeechText}[1]{ \vbox{\ignorespaces{\quotation{#1}}\par\duplines} } \newcommand{\ParagraphText}[1]{ ...
12
votes
1answer
1k views

Realistic handwritten document

Is there a template/package that generates realistic handwritten documents? The font should preferably reflect an average handwritting (readable). Letters would follow a handwritting style but would ...
2
votes
4answers
179 views

Changing upper case & lower case letters [closed]

I just wrote 6 paragraphs of a report without really looking at the screen, and when I did, all of my upper case letters were lower case, and vice-versa. I had left the caps lock on. Is there a ...
1
vote
0answers
131 views

4 authors, but half of the final author's name is moved to next lne. How can I stop it? [closed]

We have 4 authors. However when I use elsarticle 2 things are happening: 1. it does not give me an option to put word "and" before the 4th author's name 2. Due to the length of names, 4th author's ...
3
votes
0answers
64 views

How to increase perpendicular distance of labels from arrow in XYPic? [duplicate]

How do I move a label further away from an arrow in XYPic? Example \xymatrix{ g_0 + \beta_1)(n + n') \ar[r]_-{(g_0 + \beta_1)^+(n,n')} & (g_0 + \beta_1)(n) + (g_0 + \beta_1)(n') } I want to ...
3
votes
1answer
63 views

Different font for small caps in Descriptionitem Label

For my Bachelorthesis I defined a new kind of item to use it with the description environment. \newcommand{\tfactor}[5][Event]{% \item[\textsc{Faktor -- #1 -- #2 }]\hfill\textbf{#3} \\% ...
1
vote
1answer
42 views

Tex file run error

When I run the tex file by Winedit, the out put shows like this. How to check this error? How to find the wrong in the tex file?
22
votes
1answer
262 views

Two Columns whose content is positioned relative to each other

In theatre (and film) there's a tendency for actors to let each other finish what they're saying, possibly even making a small pause before starting their turn. But that is not how real life ...
0
votes
1answer
128 views

Straight bar Latex [duplicate]

How to write the straight bar with subscript as I have attached in the picture?
7
votes
1answer
90 views

\hat and \bar compatibility issue EDIT: It's a bug, workaround provided

I have two \newcommand defined as follows: \newcommand{\hvar}[1]{\hat{\delta #1}} \newcommand{\gbp}{{{\bar{\gamma}}_p}} And they look like this: \hvar{X} \gbp The problem is that, if I use ...
2
votes
1answer
4k views

Format section's title with \renewcommand

I have tried to make my sections appear as "Section I : My section's title" or "Section I My section's title" with the \renewcommand\thesection... command but in the table of contents the word ...
3
votes
3answers
338 views

Equations in normal LaTeX to MathJax formatting

To use the align environment in a document one does something like: \begin{align*} x &= \sqrt{4^2-1^2} \\ &= \sqrt{15}. \end{align*}put However, to achieve the same desired output on a ...
2
votes
0answers
28 views

Why does the subtitled Ck, keep overwriting on the line number of the algorithm? [closed]

\documentclass[dvipsnames,svgnames]{beamer} \usepackage{algpseudocode} \usepackage{eulervm} \usepackage[most]{tcolorbox} \setbeamercovered{transparent=40} \usefonttheme[onlymath]{serif} ...
5
votes
1answer
107 views

How to print Appendix A like Chapter 1

I get Chapter 1 Name of Chapter. But how to get Appendix A Name of appendix \documentclass{scrbook} \renewcommand*{\chapterformat}{% Chapter~\fontsize{80}{88}\selectfont\thechapter\enskip} ...
2
votes
1answer
205 views

Table Numbering And Caption in Same location

My table and caption are located on the same line and this started happening after I used a different class file for the conference I am applying towards. Here is a picture of what I mean: (Normally ...
2
votes
0answers
107 views

line numbering including blank (empty lines)

I have a latex document and I would like to include line numbers in it, the tricky part is that I need to count the blank (empty) lines too (emulating what MSWord does :(. I know I could use the ...
3
votes
1answer
4k views

\bfseries bolds more than intended

Been using the \bfseries lately, instead of \textbf and those, because I learned that they were deprecated in newer versions. Anyway, the \bfseries bolds the rest of my document, even though I'm ...
2
votes
1answer
101 views

unaltered citation in theorem

I would like to keep the way my citations are presented to be uniform. When I enter a citation after I declare my theorem it's in italic just like the text for the theorem. Whereas the citations in ...
7
votes
3answers
4k views

Better way to display long division?

I'm currently in the process of trying to create a worksheet for my students with long division problems for them to practice. Unfortunately, the best I've been able to come up with so far in terms of ...
3
votes
3answers
151 views

Splitting an equation

\documentclass[12pt,a4paper]{thesis} \usepackage{amsmath}\usepackage{amssymb} \usepackage{graphicx} \usepackage[left=1.25in, right=1.0in, top=1.25in, bottom=1.0in]{geometry} ...
6
votes
2answers
432 views

What is the analogue to \makechapterhead for \part?

I am formatting my thesis right now but I have problems with formatting the title page for each part of my thesis. Whereas I can access the format of each chapter using \makechapterhead and ...
4
votes
1answer
470 views

In Lyx, how to change “Part I” with some other text

I'm using the article class. When creating a new part, I would like to change "Part 1" to "Experiment 1", "Part 2" to "Experiment 2" and so on, followed by my part title. How can I do that? I've ...
1
vote
1answer
82 views

Too wide diagrams

I have been struggling with diagrams that exceed the margins of my document. Could you tell me how could I solve this problem without changing the margin sizes? I am using the XY package. Thanks!
4
votes
2answers
96 views

multline problem

I have used multiline to break a equation but in the 2nd line it goes to the end. Can't we move the 2nd line more ahead? \documentclass[12pt,a4paper]{thesis} \usepackage{amsmath}\usepackage{amssymb} ...
3
votes
1answer
85 views

How can I date my entries into a latex document? (Not just one date, but several dates)

I know the \date command inserts a date in the title, but as I keep working on this document of mine I want to be able to keep a record of what I wrote on each day. I've been simply writing the date ...
14
votes
3answers
311 views

How to typeset manuscript insertion marks?

In editing old manuscripts (often medieval), a convention is to mark text which the original scribe has inserted afterwards as a correction (usually above the line) with insertion marks. These look ...
3
votes
2answers
131 views

Multiple authors emails problem

I have multiple authors emails on my paper with the same domain and i need to divide the line below on two lines as it is too long, any help? \documentclass{llncs} \begin{document} \title{any title} ...
7
votes
2answers
155 views

Condense Latex Title

I wish for my Latex Title to be condensed so that it takes up less room on the page. Here is my current source: \documentclass[12pt]{article} \usepackage[margin=1in]{geometry} ...
4
votes
1answer
2k views

Questions about algpseudocode

I'm using the following packages: \usepackage{algpseudocode} \usepackage{algorithm} but I don't understand what package is algpseudocode, since I can't find the documentation. I have followed this ...
1
vote
2answers
81 views

Formatting and scaling

How to fix this equation \begin{eqnarray} \frac{1}{2} (1-\varepsilon^2)\left(\partial_\tau \phi\right)^2 &= \frac{1}{2} \left(1-\epsilon ^2\right)\left( -\frac{S \epsilon \sin\tau ...
1
vote
1answer
541 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
45 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
299 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
374 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
118 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
316 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
709 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
315 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
556 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
184 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
79 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
115 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
122 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
80 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
158 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. ...