Questions tagged [format]
The format tag has no usage guidance.
42
questions
0
votes
1
answer
50
views
Vertical spacing in beamer class
\documentclass{beamer}
\usepackage{tikz}
\setlength\lineskip{0pt}
\setlength\baselineskip{0pt}
\setlength\parskip{0pt}
\setlength\parindent{0pt}
\setlength{\vskip}{0pt} % This line ensures that ...
3
votes
1
answer
162
views
Does have subgather command like subequation? (elsevier format) (I wanna 1a,1b,1c)
\documentclass[3p,times]{elsarticle}
\usepackage{amsmath,amssymb,amsfonts,amsthm}
\usepackage{mathtools}
\begin{document}
\begin{gather}
\sum\limits_{i = 1}^3 {{{\bar d}_i}{c_i}^3 = \frac{1}{{12}}}...
1
vote
1
answer
56
views
How to enable my thesis to have different formats for each chapter?
I am writing my thesis of which some chapters are based on my published papers. At my university, there are two types of theses: those by monograph and those by publication. My thesis falls under the ...
0
votes
1
answer
112
views
Typesetting the Year in an Old Style
I have recently encountered some unusual ways of displaying years; consider, for instance,
and
QUESTION: Might there be some way(s) in LaTeX which facilitate the typesetting of the displayed formats,...
1
vote
2
answers
22
views
How to define a fixed space between dot and the next word of the following sentence?
The spacing between . and the next word in line differs between the lines.
In this example it is the case for: . Gustav and . Carl.
\documentclass[11pt]{report}
\usepackage[utf8]{inputenc}
\...
1
vote
3
answers
62
views
multi-column title centering
I know that there are multiple questions regarding similar problems, but I've tried multiple offered solutions and I just can't get anything to work.
When using \hskip in my table, the titles (Bitcoin,...
1
vote
2
answers
42
views
\mbox overfull in math environment
I am quite new to Latex and am having an Overfull \hbox warning on Overleaf with the following code in a document environment:
\vspace{5mm}
\begin{math}
l^*=\frac{l}{ke^{\tau\lambda}}=(\frac{1}{ke^{\...
1
vote
0
answers
67
views
Awesome CV - Title Misalignment - Format Problem
I was working on a copy of my resume on overleaf. The original resume has no problem with the formatting problem. However, when I make a copy of it in overleaf, the copy file would always have this ...
0
votes
1
answer
63
views
Overflow of text and alignment issue TColorbox
I am trying to figure out how to increase the width of my columns, so my text will fit and the equations in column 2 will be spaced properly (See image). Any help is appreciated.
\documentclass{...
1
vote
0
answers
61
views
How do I modify the question format but keep the question text on the same line?
I want to modify my question numbering so it appears like 1.1., 1.2, 1.3. and so on. This can easily be done by \qformat{\thequestion.\thesection.}. However, this causes the question text to be ...
4
votes
5
answers
421
views
Macro to remove all non-numeric characters from its argument
In a custom class I defined a custom command to typeset a telephone number,
\newcommand{\phone}[1]{\def\@phone{#1}}
I use this \@phone macro inside my class when I want to replace with the value from ...
2
votes
1
answer
37
views
How to bring left right text to the above line?
My code looks like this:
% Source: http://tex.stackexchange.com/a/5374/23931
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[margin=1in]{geometry}
\usepackage{...
3
votes
1
answer
158
views
Automatic number formating in a table
How can I apply the "\num{}" formatting to all numbers in a table without retyping the command each time? I am using Arial font, so the numbers look different compared to when I use the \num{...
0
votes
0
answers
81
views
The PDF generated by the journal LaTeX template downloaded through IEEE Template Selector does not meet the requirements of the journal
such as IEEE Transactions on Affective Computing format is shown below,
The PDF generated by the template obtained through IEEE Template Selector is not in this format. How do I get the right ...
1
vote
0
answers
32
views
typesetting equations based on external text file gone wrong [duplicate]
This example reads n lines and prints them out as addition problems.
$ cat equations.txt
8
1 2 3
4 5 9
6 7 13
18 7 25
34 66 100
94 21 115
0 31 31
27 18 45
84 51 135
64 9 73
$ cat equations.tex
\...
2
votes
1
answer
38
views
Vertical spacing inconsistencies around equations
This seems to be a topic of many questions on here already, but no single answer seems satisfying. I am working with the document below and would like the vertical spacing around each equation to be ...
0
votes
1
answer
335
views
Add space between section title and page number in toc
I desperately need help i tried and searched for everything but not even chatGPT was able to help me at this point maybe its just not possible please enlighten me.
So since some of my section have ...
3
votes
0
answers
137
views
Latest German dictionary pattern
I have included the format file latest German pattern from:
https://ctan.org/tex-archive/language/hyphenation/dehyph-exptl?lang=en
I have generated 45 German words in InDesign (using Duden Dictionary) ...
0
votes
0
answers
27
views
Formatting caption for talltblr [duplicate]
I used talltblr for tables to solve an issue discussed here
But now the label font is not bold. I tried to change captionsetup setting without luck. Also, how can I put the caption below the table if ...
3
votes
2
answers
54
views
Title Format ruining itemize spacing
I use title format to change the look of my section commands and so on, after making a new section for some reason the spacing used by itemize is being ruined and it is not leaving the proper amount ...
1
vote
0
answers
282
views
Change orientation and paper size for single page
My document consist of A3 pages in landscape orientation, except for the first page which I want to be in A4 portrait. How can I change the paper format and orientation of a single page?
I thought I ...
0
votes
1
answer
55
views
How to set uppercase title of bib-items with BibLaTeX?
I am trying to set titles in bibliography and citations in upper case format (and I will be satisfied also for a solution only referred to bibliography).
\documentclass{article}
\usepackage{graphicx}
...
0
votes
1
answer
126
views
Compiling with hilatex fails
I'm trying out the new-ish hitex format that produces special HINT files made to be viewed on a screen. The plain format seems to work (based on the limited examples I've tried) but the hilatex format ...
1
vote
1
answer
390
views
Change the citation's "accessed on" date format
I would like to change the date format that appears in the citation's "urldate". Right now it's at yyyy-mm-dd and I would like to change it to dd/mm/yyyy, I've tried with
\usepackage[...
0
votes
0
answers
59
views
Centering a figure in a page with different \textwidth
I set up the page geometry to remove margin notes, footer and head so it uses all the available space.
While I managed to center the text in the page now the figure is not centered
\marginparwidth ...
1
vote
1
answer
38
views
Pre-Formatting Items in Enumerate Environment for Customized Quotations
Consider the code
\documentclass[12pt]{book}
\usepackage{scalefnt}
\usepackage[sfdefault]{cabin}
\usepackage{mathptmx} % replaces obsolete times package.
\newcommand{\longemdash}{{\fontfamily{cmss}\...
0
votes
0
answers
50
views
How to get rid of the right header
Maybe it is easy to do but I've been trying to remove the right header that shows in my document. I think it could be done by using the titlesec package but I have no idea.
Edit
Here is the preamble ...
0
votes
1
answer
43
views
How to Have a Manually Inserted Item Number Inherit the Customized Formatting of the Others
Consider the code
\documentclass[10pt,openany]{book}
\usepackage{enumitem,xcolor}
\usepackage{xparse}
\definecolor{granite}{RGB}{103,103,103}
\newlist{advice}{enumerate}{1}
\setlist[advice]{
...
0
votes
1
answer
101
views
How can I get section title between 2 horizontal lines, within same line
I am quite new to LaTeX, and I am trying to make the section title centered between 2 horizontal lines, all within the same line.
What I have now is this. However, I'd like the rules to be longer, but ...
1
vote
1
answer
639
views
How do I import a picture in LaTeX?
I am new to latex. I want to import a picture but failing.
The picture is .jpg format.
2
votes
1
answer
55
views
How to combine these five tables either using {longtable} to show these tables are continued?
I am new to this community. My summary statistic tables are weird... I want to combine all these five tables either using {longtable} commend to show these tables are continued under the main title ...
2
votes
1
answer
212
views
vertical equation for a Multiplication of two numbers expression
I'm using Latex to write a manual multiplication calculation, like in https://en.wikibooks.org/wiki/LaTeX/Mathematics#Multiplication_of_two_numbers
I do this in the equation editor of zim-wiki, that ...
0
votes
1
answer
60
views
How change the date format of url field of biblatex package?
I need to print, for instance, 15 October 2022 and not the 15th October 2022. I found a similar question old_solution where it is reported to use the australian language since it formats the dates ...
0
votes
1
answer
225
views
How can I make a din A0 Poster for my formula collection
I was wondering how to make a din A0 poster in LaTeX for my formula-collection so that I can make myself a overview of some important formulas for analysis or linear algebra for example. I had an idea ...
0
votes
1
answer
28
views
There's no line break when I use an style I createad
I created this text style for using in my document:
\newcommand{\nosc}[1]{\text{\color{naranjaosc}#1}}
But when I use it, like here
Rotar un punto $P(x, y)$ con respecto a un \nosc{punto $C(x_0,y_0)$ ...
2
votes
1
answer
51
views
Trouble formatting a part heading
So, I'm trying to format the heading for a Part of a book. This heading is to include a quote and an author. As this is likely code that I'll want to reuse (and in the main body of the text as well), ...
4
votes
1
answer
1k
views
How to install LuaMetaTeX to MikTeX on Windows 11?
On GitHub you can find the Plain and LaTeX format for LuaMetaTeX. I am a Plain LuaTeX user and would like to switch to Plain LuaMetaTeX for some reasons. Examples: unpacking the contents of \left and \...
0
votes
2
answers
115
views
How to align / count equation labels in Latex
I am attempting to write a simple equation inside a document that uses Latex, and I have attempting this line of code so far:
\setcounter{equation}{0}
\renewcommand{\theequation}{1.\arabic{equation}\...
2
votes
1
answer
344
views
How to change the font inside a \begin{defi} environment
I have the following issue. In my LaTeX, I use the following formats:
\newtheorem{teo}{Teorema}
\theoremstyle{plain}
\newtheorem{coro}{Corolario}
\newtheorem{defi}{Definici\'on}
\newtheorem{lema}{Lema}...
0
votes
1
answer
297
views
in-text citation: How to get (Text, Citation) in one bracket
I am trying to get the following:
....United States of America (USA, Example et al., 2017).
So I would like to have an abbreviation as normal text and a citation within one bracket unfortunately I ...
0
votes
0
answers
84
views
hyperref Forms with serif font problem
I use LuaLaTeX.
This MWE works with sans-serif fonts, i.e. Calibri (on Windows)
\documentclass{article}
\usepackage{fontspec}
\def\fntname{Calibri}
\setmainfont{\fntname}
\usepackage[pdfstartview = ...
1
vote
1
answer
82
views
Why is there a double point between section and subsection?
I have defined the following box:
\documentclass[a4paper,14pt,twoside,reqno]{extbook}
\usepackage[tmargin=28mm,bmargin=28mm,lmargin=28mm,rmargin=28mm]{geometry}
\usepackage{amsmath, amsfonts,...